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