- I have downloaded stackify prefix on windows x64 server.
- Installed it with Run as Administrator
- My java agent file location is
C:\Program Files (x86)\StackifyPrefix\java\lib\stackify-java-apm.jar
- I navigated to my tomcat installation directory, opened
C:\Program Files\Apache Software Foundation\Tomcat 9.0_Tomcat91\bin\catalina.bat
file and insertedset CATALINA_OPTS=%CATALINA_OPTS% -javaagent:"C:\\Program Files (x86)\\StackifyPrefix\\java\\lib\\stackify-java-apm.jar"
just after first set local line. - Restarted tomcat server windows service
- Enabled Prefix .NET Profiler
- Opened localhost:2012
- Can not view tomcat requests. But I can view my IIS requests. What I am missing here?
My tomcat version is 9, JDK 1.8, Windows 2016
All the steps you followed are ok except one thing. When you attach this java agent with tomcat which is installed as windows service, it does not work. Follow the steps below:-
set JAVA_HOME=C:\Program Files\Java\jre1.8.0_251 set CATALINA_OPTS=%CATALINA_OPTS% -javaagent:"C:\\Program Files (x86)\\StackifyPrefix\\java\\lib\\stackify-java-apm.jar"