[jboss-jira] [JBoss JIRA] Created: (JBAS-7872) Update ClusterCacheTester to use JMXConnectorFactory instead of RMIAdaptor for cluster unit testing

Scott Marlow (JIRA) jira-events at lists.jboss.org
Sat Mar 27 22:44:38 EDT 2010


Update ClusterCacheTester to use JMXConnectorFactory instead of RMIAdaptor for cluster unit testing
---------------------------------------------------------------------------------------------------

                 Key: JBAS-7872
                 URL: https://jira.jboss.org/jira/browse/JBAS-7872
             Project: JBoss Application Server
          Issue Type: Sub-task
      Security Level: Public (Everyone can see)
            Reporter: Scott Marlow
             Fix For: JBossAS-6.0.0.M4


Using JMXServiceURL "service:jmx:rmi:///jndi/rmi://localhost:8099/jmxrmi" (will need binding support for new rmi registry port + rmi connector), obtain JSR-160 style jmx connectors for cluster nodes.  For example:

      JMXServiceURL url = new JMXServiceURL("service:jmx:rmi:///jndi/rmi://localhost:8099/jmxrmi");
      JMXConnector jmxc = JMXConnectorFactory.connect(url, new HashMap());
      return jmxc.getMBeanServerConnection();



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list