| « Allow remote JMX management for Tomcat | Redirecting web pages » |
Switch on Tomcat JMX under Eclipse
January 18th, 2009In 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.
I say this is under Eclipse but the same action should be taken when running Tomcat outside of Eclipse.
1 comment
Comment from: Richard Spencer [Visitor]
11/02/10 @ 11:46