[jbosscache-issues] [JBoss JIRA] Created: (JBCACHE-1600) CacheJmxWrapper ignores ClusterConfig attribute

Dennis Reed (JIRA) jira-events at lists.jboss.org
Mon May 16 16:50:01 EDT 2011


CacheJmxWrapper ignores ClusterConfig attribute
-----------------------------------------------

                 Key: JBCACHE-1600
                 URL: https://issues.jboss.org/browse/JBCACHE-1600
             Project: JBoss Cache
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: JMX
    Affects Versions: 3.2.5.GA
            Reporter: Dennis Reed
            Assignee: Dennis Reed
         Attachments: test-service.xml

When creating a cache using the CacheJmxWrapper:

  <mbean code="org.jboss.cache.jmx.CacheJmxWrapper" name="test:service=TreeCache">
      <attribute name="CacheMode">REPL_SYNC</attribute>
      <attribute name="ClusterName">Test</attribute>
      <attribute name="ClusterConfig">
          <config>
                <TCP start_port="12345"

the ClusterConfig section is ignored, and a default JGroups configuration is used.

The root cause is CacheJmxWrapper#setClusterConfig parses the contents of <ClusterConfig>, 
but doesn't save it, and always sets the result to null.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosscache-issues mailing list