Adding Apache Tomcat sources
To capture resource monitoring
data from Apache Tomcat, you must configure the data source.
Before you begin
The Java™ Management Extensions must be configured on the server that is running Apache Tomcat. After installing Apache Tomcat on Microsoft Windows, run the Configure Tomcat shortcut. Click the Java tab, and then edit the Java Options. Following are sample Java options:
-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=8880 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false
On Linux, set the environment variable CATALINA_OPTS in
either TOMCAT_HOME/bin/setenv.sh or TOMCAT_HOME/bin/catalina.sh file.
For example,
export CATALINA_OPTS="-Dcom.sun.management.jmxremote=true
-Dcom.sun.management.jmxremote.port=8686
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false
-Djava.rmi.server.hostname=your.server.domain.com"
Then, restart Apache Tomcat.