2 Replies Latest reply on Aug 29, 2011 9:07 AM by leiottawa

    JmxDomainConflictException: Domain already registered org.infinispan




      I get this exception when re-building project because old CacheManager is not stopped.


      org.infinispan.jmx.JmxDomainConflictException: Domain already registered org.infinispan


      Can anyone suggest where to put code to stop the old CacheManager?#


      It won't help if the code is put in ServletContextListener.contextDestroyed() because the re-build doesn't stop and re-start the server so the

      ServletContextEvent is not fired.


      I'm using Infinispan 5.0 and RSA IDE.

      Thank you!