[infinispan-dev] allowDuplicateDomains set to true for CDI?
Sebastian Łaskawiec
slaskawi at redhat.com
Thu Jan 22 03:52:31 EST 2015
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/infinispan-dev/attachments/20150122/6ffa581f/attachment.html
More information about the infinispan-dev
mailing list