Installation Tomcat
This page provides information on how inspectIT can be used with the Apache Tomcat.
Integration
The inspectIT can be integrated with in the start up scrip of Catalina, which is in the location $CATALINA_HOME/bin/catalina.sh. The $CATALINA_HOME represents the root of your Tomcat installation. inspectIT can be easily integrated within this file. A best practice is to define variables holding the references to the inspectIT installation and configuration folders.
set INSPECTIT_AGENT_HOME="[path-to-inspectit-agent]" export INSPECTIT_AGENT_HOME set INSPECTIT_CONFIG_HOME="$[path-to-config-folder]" export INSPECTIT_CONFIG_HOME set INSPECTIT_JAVA_OPTS="-Xbootclasspath/p:${INSPECTIT_AGENT_HOME}/inspectit-agent.jar -javaagent:${INSPECTIT_AGENT_HOME}/inspectit-agent.jar -Dinspectit.config=${INSPECTIT_CONFIG_HOME}" export INSPECTIT_JAVA_OPTS # integrate inspectit java options with the java options of Tomcat set JAVA_OPTS="${INSPECTIT_JAVA_OPTS} ${JAVA_OPTS}"