<div dir="ltr">Couldn&#39;t WildFly and the CDI provider both set a different globalJmxStatistics().cacheManagerName() for the cache managers they create?<div><br></div><div>Cheers</div><div>Dan</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 22, 2015 at 10:52 AM, Sebastian Ćaskawiec <span dir="ltr">&lt;<a href="mailto:slaskawi@redhat.com" target="_blank">slaskawi@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  

    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Hey!<br>
    <br>
    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. <br>
    <br>
    This will end up with JmxDomainConflictException on Wildfly (because
    the domain for &quot;
    
    DefaultCacheManager&quot; will probably be already registered).<br>
    <br>
    The workaround is simple - the user has to provide his own
    EmbeddedCacheManager producer with turned on alowDuplicateDomains
    option. <br>
    <br>
    In my opinion this option should be enabled by default for CDI
    Extension. If you agree with me, I&#39;ll make necessary changes.<br>
    <br>
    Any thoughts?<br>
    <br>
    Best regards<span class="HOEnZb"><font color="#888888"><br>
    Sebastian<br>
  </font></span></div>

<br>_______________________________________________<br>
infinispan-dev mailing list<br>
<a href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/infinispan-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/infinispan-dev</a><br></blockquote></div><br></div>