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

Scott Marlow (JIRA) jira-events at lists.jboss.org
Tue Apr 20 11:23:49 EDT 2010


    [ https://jira.jboss.org/jira/browse/JBAS-7872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12526610#action_12526610 ] 

Scott Marlow commented on JBAS-7872:
------------------------------------

Actually, this code looks pretty dead.  We could remove it or update it.

> 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
>            Assignee: 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