If you have not already set up an MBean server, configure one, together with a JSR-160 connector.

About this task

You create an MBean Server and associated JSR-160 connector by setting the relevant system properties at JVM startup.


  1. Open the Tomcat catalina.shstart script catalina.sh, in the $TOMCAT_HOME/bin/ directory in a text editor.
  2. Add the following properties:
    [ $1!= "stop" ] && JAVA_OPTS="-Dcom.sun.management.jmxremote \
    -Dcom.sun.management.jmxremote.port=6969 \
    -Dcom.sun.management.jmxremote.ssl=false \
    -Dcom.sun.management.jmxremote.authenticate=false $JAVA_OPTS"
    export JAVA_OPTS
  3. Save the file.