[infinispan-dev] allowDuplicateDomains set to true for CDI?

Dan Berindei dan.berindei at gmail.com
Thu Jan 22 04:41:07 EST 2015


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 at 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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/infinispan-dev/attachments/20150122/ae2fc0b8/attachment.html 


More information about the infinispan-dev mailing list