Symptoms:
The YourKit profiler is a popular way to profile Java applications. In addition to plain Java applications, YourKit can be used to profile a Web application running in Apache Tomcat. This article provides steps to configure YourKit to profile a Web application deployed to Apache Tomcat.
Note: This article assumes that YourKit is installed in the /opt/yjp-9.5.4 directory. The exact installation path and version number varies based on the installation of YourKit.
To integrate the YourKit profiler with an Apache Tomcat installation:
disablestacktelemetry, disableexceptiontelemetry, builtinprobes=none, delay=10000Note: These options limit the performance impact of the profiler on Tomcat and the applications deployed to it.
For Linux 32bit Java CATALINA_OPTS="-agentpath:$YJP_HOME/bin/linux-x86-32/libyjpagent.so=disablestacktelemetry,disableexceptiontelemetry,builtinprobes=none,delay=10000" For Linux 64bit Java CATALINA_OPTS="-agentpath:$YJP_HOME/bin/linux-x86-64/libyjpagent.so=disablestacktelemetry,disableexceptiontelemetry,builtinprobes=none,delay=10000"
For more information, see the Enabling profiling manually section of YourKit Java Profiler Help.