[infinispan-issues] [JBoss JIRA] (ISPN-8395) Disable JMX duplicate domain by default

Galder Zamarreño (JIRA) issues at jboss.org
Mon Oct 23 06:48:00 EDT 2017


    [ https://issues.jboss.org/browse/ISPN-8395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13480387#comment-13480387 ] 

Galder Zamarreño commented on ISPN-8395:
----------------------------------------

Without this, to be able to create two clustered cache managers on same JVM, you need to add this code:

{code}
GlobalConfigurationBuilder global = GlobalConfigurationBuilder.defaultClusteredBuilder();
global.globalJmxStatistics().allowDuplicateDomains(true);
ConfigurationBuilder builder = new ConfigurationBuilder();
builder.clustering().cacheMode(CacheMode.DIST_SYNC).hash().numOwners(2);
EmbeddedCacheManager cm = new DefaultCacheManager(global.build(), builder.build());
{code}

> Disable JMX duplicate domain by default
> ---------------------------------------
>
>                 Key: ISPN-8395
>                 URL: https://issues.jboss.org/browse/ISPN-8395
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Configuration, JMX, reporting and management
>            Reporter: Galder Zamarreño
>            Assignee: Galder Zamarreño
>             Fix For: 9.2.0.Final
>
>
> So that Infinispan can be more easily consumed out-of-the-box



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)



More information about the infinispan-issues mailing list