O'Reilly logo

Java EE 6 Cookbook for Securing, Tuning, and Extending Enterprise Applications by Mick Knutson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Enabling remote JMX on Tomcat server

The Apache Tomcat application server supports local JMX capabilities, which allow connections anonymously to a local process with a jvmstat connection to interact with the exposed application objects.

There are several terminal applications freely available for JMX management. The Java Development Kit (JDK) is distributed with a terminal called jConsole (%JAVA_HOME%\bin\jconsole.exe). The release of JDK 1.6_07 also includes jVisualVM (%JAVA_HOME%\bin\jvisualvm.exe) which is a newer and more robust terminal application based on the Java.NET project called VisualVM which can be found at http://visualvm.java.net/.

When VisualVM is started, local applications which are available for connection will be automatically ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required