In order to get JMX information out of a running instance of Tomcat under Eclipse, you must add the Sun’s JMX Remote Management debug option to the start-up command of Tomcat.
- Goto the Servers pane at the bottom of the screen. (Or Window->Show View->Server to open the Servers View.)
- Open Tomcat Overview configuration window by double clicking on Tomcat v6.0 Server at localhost.
- Under General Information click the Open launch configuration
- Select the Arguments tabs of the Edit launch configuration properties
- In VM arguments add
-Dcom.sun.management.jmxremote
- Click Ok and close the Tomcat Overview configuration window.