This content has been marked as final.
Show 2 replies
-
1. Re: Access mbeans from web application running on jboss
peterj Sep 27, 2007 4:38 PM (in response to jbosstoon)You can get JMX information at http://java.sun.com/j2se/1.5.0/docs/guide/jmx/.
To get you started:Context ctx = new InitialContext(); MBeanServerConnection mconn = (MBeanServerConnection)ctx.lookup("jmx/invoker/RMIAdaptor"); ObjectName name = new ObjectName("jboss.system:type=Server"); String version = (String)mconn.getAttribute(name, "Version");
-
2. Re: Access mbeans from web application running on jboss
jbosstoon Sep 27, 2007 5:00 PM (in response to jbosstoon)Thank you!!