MBeanServerFactory.findMBeanServer(String); requires the MBeanServerId 
attribute of its delegate MBean, which I don't think is "jboss". 
It's more likely something built at runtime and specific to the process running 
JBoss.

Your suggestion applies to the MBeanServer.getDefaultDomain() though, which can 
be "jboss".
So I would have to loop through all the MBeanServer returned by the factory, 
and check the domain.

Does that sound reasonable?

Thanks,
Michele




View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002695#4002695

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002695
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to