Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

    • The following directive needs to be added to server.xml - place it with the other listeners.

       <Listener className="org.apache.catalina.mbeans.JmxRemoteLifecycleListener" rmiRegistryPortPlatform="9090" rmiServerPortPlatform="9091" />
       
    • This will start the JMX server on port 9090 and the listenback on 9091 (change if needed).
    • An additional library, catalina-jmx-remote.jar, needs to be downloaded from the Apache Tomcat Download Extras site (e.g. http://tomcat.apache.org/download-80.cgi) and placed in $CATALINA_HOME/lib. Try this command to download the required library: sudo wget http://www.gtlib.gatech.edu/pub/apache/tomcat/tomcat-8/v8.0.20/bin/extras/catalina-jmx-remote.jar
    • Once these steps are completed and those of setenv.sh, JMX will be enabled.
    • In order to access JMX two files need to be created in $CATALINA_HOME/conf   They are jmxremare jmxremote.accessote.access and jmxremote.password.  Click on the attached files to copy the contents to the appropriate file contents to the respective file you create in $CATALINA_HOME/conf (e.g. sudo vi $CATALINA_HOME/conf/jmxremote.access ).  Change the values in the files as appropriate.
       

...