Ondřej Chaloupka [
http://community.jboss.org/people/ochaloup] created the discussion
"Re: How to get the JBoss server instance id?"
To view the discussion, visit:
http://community.jboss.org/message/633795#633795
--------------------------------------------------------------
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");
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/633795#633795]
Start a new discussion in JBoss AS7 Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]