-
Bug
-
Resolution: Done
-
Major
-
2.2.8, 2.2.9, 2.2.9.1, 2.2.9.2
-
None
-
Low
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