Couldn't WildFly and the CDI provider both set a different
globalJmxStatistics().cacheManagerName() for the cache managers they create?
Cheers
Dan
On Thu, Jan 22, 2015 at 10:52 AM, Sebastian Łaskawiec <slaskawi(a)redhat.com>
wrote:
Hey!
When I was moving CDI quickstart to a new repository (from
infinispan-quickstart to jboss-jdg-quickstarts), I noticed that probably
some of our users will try to put Infinispan library inside WAR/lib and run
it locally with CDI Extension.
This will end up with JmxDomainConflictException on Wildfly (because the
domain for " DefaultCacheManager" will probably be already registered).
The workaround is simple - the user has to provide his own
EmbeddedCacheManager producer with turned on alowDuplicateDomains option.
In my opinion this option should be enabled by default for CDI Extension.
If you agree with me, I'll make necessary changes.
Any thoughts?
Best regards
Sebastian
_______________________________________________
infinispan-dev mailing list
infinispan-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev