This content has been marked as final.
Show 1 reply
-
1. Re: How determine which configuration started?
dimitris Jun 1, 2005 4:23 AM (in response to isidorkin)something like:
MBeanServer server = MBeanServerLocator.locateJBoss();
ObjectName target = new ObjectName("jboss.system:type=ServerConfig");
String configName = (String)server.getAttribute(target, "ServerName");
You can browse using the jmx-console the jboss.system domain, you'll find all sorts of interesting things. Read the docs, too.