I have some trouble understanding the way JBoss and JMX interacts.
JBoss has its own JMX implementation to assemble its own Components.
You can get to its JMX "MBeans Server" through its web-based jmx-console, and you can see all the jboss MBeans and user developed MBeans.
But when I try to access the JBoss MBean Server from out of its jmx-console, say using jconsole tool from the JDK 5.0, I am not able to do so, jconsole doesn't find anything manageable running on the machine.
I am worried about this because I need to access the MBeans deployed in JBoss from out of jboss, from a Java program running on another machine.
If I start any other JVM 5.0 with the appropriate attributes to make JMX management available, y can manage them from a remote machine and from JConsole with no trouble.
Even if I start JBoss JVM with these attributes, I can manage the JVM of JBoss, but it does NOT show me the internal JBoss MBeans, nor the user MBeans. It show me the standard MBeans of any JVM.
Can anybody help me?
Thanks a lot.
I found the answer me myself.
To invoke the JBoss JVM with the JMX management available, it is to be done like specified here:
But to make inner JBoss accessible from the JConsole, it has to be done like it is said here: