JBoss.orgCommunity Documentation
This chapter will give you answers on most popular questions asked by JMX plugin users.
It's possible to manage Tomcat using JMX Tools.
Currently, JMX Tooling is able to connect to Tomcat without authentication or with password-based authentication.
Using SSL for authentication is not supported: you need to make sure that the System property com.sun.management.jmxremote.ssl is set to false.
More information to manage Tomcat can be found in Tomcat management documentation.
Instructions to manage remotely Tomcat are available in Tomcat's monitoring documentation.
You can manage Equinox through the Equinox monitoring framework.
Once you have installed the Equinox monitoring framework and restarted Eclipse:
Go to Window > Open Perspective > Other and select the JMX perspective
Select JMX Server > Open Connection and click on OK
Switch to the MBean Explorer by going to Window > Show View > Other and selecting the MBean Explorer
Click on the
New Connection icon
in the MBean Explorer menu
bar
Select the Advanced tab and set the JMX URL to service:jmx:rmi:///jndi/rmi://:8118/jmxserver
You now have access to the MBeans exposed by Equinox.
Managing JBoss instances is not supported with the JMX Tools alone. You must also download and install the AS Tools portion of the JBoss Tools distribution. Even after installing the proper tooling, you cannot create a JBoss JMX connection yourself or through the Connection Wizard. The first step is to create a JBoss Server. The full instructions for this can be found in the AS Tools section, however, the short summary is:
Open the JBoss Servers View or the Servers View
Right-click in the view and select New > Server
In the JBoss Community section, select a server version
If a runtime has not yet been created, you'll be prompted for the server's home directory, JDK, and configuration
Finish the wizard and note that you have a new entry in both the JBoss Server View and the MBean Explorer
Start the server by right-clicking it and selecting Start
Note that once the server is started, the JMX connection can be expanded
Now you can explore MBeans exposed by a JBoss instance.