This content has been marked as final.
Show 1 reply
-
1. Re: How to get the JBoss server instance id?
ochaloup Oct 27, 2011 3:55 AM (in response to mkuehle)I'm not sure whether it's right way but maybe it could be possible to fetch it from a mBean.
Whether I found correct one then it could be something like:
ObjectName on = new ObjectName("JMImplementation:type=MBeanServerDelegate");
Object attr = server.getAttribute(on, "MBeanServerId");