-
1. Re: Finding the components in jboss using JMX
dimitris Jul 2, 2005 8:45 AM (in response to riyaz_ahmed_mansur)Just start jboss and point to http://localhost:8080/jmx-console.
All the jboss components are integrated using JMX. -
2. Re: Finding the components in jboss using JMX
riyaz_ahmed_mansur Jul 4, 2005 12:34 AM (in response to riyaz_ahmed_mansur)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 -
3. Re: Finding the components in jboss using JMX
fabcipriano Jul 4, 2005 4:14 PM (in response to riyaz_ahmed_mansur)look at
http://wiki.jboss.org/wiki/Wiki.jsp?page=HowCanIGetAReferenceToTheMBeanServer
you will find the answer -
4. Re: Finding the components in jboss using JMX
riyaz_ahmed_mansur Jul 7, 2005 8:33 AM (in response to riyaz_ahmed_mansur)Thanx for that Fabiano
I am now able to get the reference to the jboss MBean server and discover the components running in jboss.
Is there any method to find the dependencies of a component in jboss using JMX programmatically.
It will be very helpful to me if u can come up with some sugesstions.