[jboss-jira] [JBoss JIRA] Created: (JGRP-803) CLONE -Use the correct MBeanServer if multiple MBeanServers are present

Robert Buck (JIRA) jira-events at lists.jboss.org
Tue Jul 22 14:42:16 EDT 2008


CLONE -Use the correct MBeanServer if multiple MBeanServers are present
-----------------------------------------------------------------------

                 Key: JGRP-803
                 URL: https://jira.jboss.org/jira/browse/JGRP-803
             Project: JGroups
          Issue Type: Bug
    Affects Versions: 2.2.8, 2.2.9, 2.2.9.1, 2.2.9.2
            Reporter: Robert Buck
            Assignee: Bela Ban
             Fix For: 2.3


Current code is
ArrayList servers=MBeanServerFactory.findMBeanServer(null); 
if(servers != null && servers.size() > 0) {
       return (MBeanServer)servers.get(0);
}

This takes the first server it find. However, if we run JBoss (which has its own MBeanServer) inside of JDK 5 (which also has an MBeanServer), we have multiple servers. The code needs to be changes to accommodate that

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