We have done the following configuration in the catalina.bat file:
but we are unable to see the agent.
However, when I perform the steps in below screenshot it worked
please share your catalina.bat screenshot it will be very helpful.
When running Tomcat as a Windows service, you need to add the javaagent and Dcom.wily.introscope.agentProfile arguments to your Tomcat startup properties
I found a similar discussion here:
getting tomcat metrics from windows tomcat7w.exe service
I will suggest to the doc team to include this info in docops.
I have just added a comment to this page:
Apache Tomcat - CA Application Performance Management - 10.7 - CA Technologies Documentation
To summarize, when running Tomcat as a Windows service, to enable the Java agent, you need to:
Ensure that you are using administrator privileges.Click Programs > Apache Tomcat > Configure Tomcat.Click the Java tab and in the Java Options add the below 2 additional lines:-javaagent:<Path_To_AgentJar>-DagentProfile=<Path_To_AgentProfile>