[teiid-issues] [JBoss JIRA] (TEIID-3105) Can we add allowDuplicateDomains in Infinispan global configuration

Kylin Soong (JIRA) issues at jboss.org
Thu Aug 28 04:30:59 EDT 2014


Kylin Soong created TEIID-3105:
----------------------------------

             Summary: Can we add allowDuplicateDomains in Infinispan global configuration
                 Key: TEIID-3105
                 URL: https://issues.jboss.org/browse/TEIID-3105
             Project: Teiid
          Issue Type: Enhancement
      Security Level: Public (Everyone can see)
          Components: Embedded
    Affects Versions: 9.x
         Environment: Teiid Embedded with Infinispan local cache
            Reporter: Kylin Soong


I have run Teiid Embedded on top of Infinispan local cache meet the the following exception:

org.infinispan.jmx.JmxDomainConflictException: Domain already registered org.infinispan when trying to register: type=CacheManager,name="DefaultCacheManager"

The "DefaultCacheManager" be register to MBeanServer 2 times cause the issue:
1. EmbeddedServer load infinispan cache via [1], this cause  "DefaultCacheManager" register to MBean Server
2. Infinispan Translator connection load VDB refrred cache, this also cause  "DefaultCacheManager" register again

If we add allowDuplicateDomains in Infinispan configuration [1], this will avoid the issue.

[1] https://github.com/teiid/teiid/blob/master/runtime/src/main/resources/infinispan-config.xml






--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the teiid-issues mailing list