Thanx for that Dimitris.
I have one more problem with JMX.
How can I query jboss (using JMX programmatically) to get the list of all the
components running in jboss and dependencies of each component in jboss
programmatically.
I have written a peice of code to get the list of all components in jboss:
MBeanServer server = MBeanServerFactory.findMBeanServer("jboss");
or
MBeanServer server = MBeanServerFactory.findMBeanServer("jboss.j2ee");
When I run this code, it is throwing the following exception
java.lang.IllegalStateException: No 'jboss' MBeanServer found
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883497#3883497
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883497
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user