How can we address the slowness issue in Tomcat when using the Java Agent?
RCA : The slowness during application startup can be attributed to the scanning of the agent JAR performed by Tomcat. The slowness is primarily a result of Tomcat's encryption verification and decompression processes applied to each class within the signed agent JAR during scanning. It's noteworthy that this performance issue is particularly noticeable in Java 8. In contrast, Java 9 and later versions exhibit a minimal startup delay, typically ranging from 100 to 200 milliseconds.
To resolve this issue, kindly add the apminsight-javaagent.jar to the jarsToSkip property in the catalina.properties file.
New to ADSelfService Plus?