[
https://issues.jboss.org/browse/ISPN-2886?page=com.atlassian.jira.plugin....
]
Mircea Markus commented on ISPN-2886:
-------------------------------------
allowDuplicateDomains should solve this.
Using multiple DefaultCacheManager w/o jmx leads to
JmxDomainConflictException
------------------------------------------------------------------------------
Key: ISPN-2886
URL:
https://issues.jboss.org/browse/ISPN-2886
Project: Infinispan
Issue Type: Bug
Components: JMX, reporting and management
Affects Versions: 5.2.1.Final
Reporter: Thomas Fromm
Assignee: Galder ZamarreƱo
Priority: Minor
Creating multiple instances of DefaultCacheManager leads to
CacheManagerJmxRegistrationTest, even when JMX is disabled in configuration.
org.infinispan.jmx.JmxDomainConflictException: Domain already registered org.infinispan
when trying to register: type=CacheManager,name="DefaultCacheManager"
at org.infinispan.jmx.JmxUtil.buildJmxDomain(JmxUtil.java:75)
at
org.infinispan.jmx.CacheManagerJmxRegistration.updateDomain(CacheManagerJmxRegistration.java:101)
at
org.infinispan.jmx.CacheManagerJmxRegistration.buildRegistrar(CacheManagerJmxRegistration.java:95)
at
org.infinispan.jmx.AbstractJmxRegistration.registerMBeans(AbstractJmxRegistration.java:59)
at
org.infinispan.jmx.CacheManagerJmxRegistration.start(CacheManagerJmxRegistration.java:63)
at
org.infinispan.manager.DefaultCacheManager.start(DefaultCacheManager.java:705)
at
org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:300)
at
org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:171)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira