Tomcat Agent JVM argument

book

Article ID: 144692

calendar_today

Updated On:

Products

CA Application Performance Management Agent (APM / Wily / Introscope) CA Application Performance Management (APM / Wily / Introscope) INTROSCOPE DX Application Performance Management

Issue/Introduction

We have installed Tomcat agent through APM Command Center console.

We need to know exact position in the Catalina.bat file where we can paste  the launch command for tomcat agent.

 

set CATALINA_OPTS=%CATALINA_OPTS% -javaagent:C:\Program Files\CA APM\wily\Agent.jar -DagentProfile=C:\Program Files\CA APM\wily\core\config\IntroscopeAgent.profile

 

 

Cause

NA

Environment

Release : 10.7.0

Component : APM Agents

Resolution

On the Tomcat Startup script ( either catalina.bat / sh),

set the argument with java options.

For Windows:

set CATALINA_OPTS=%CATALINA_OPTS%


For Linux:
set CATALINA_OPTS=$CATALINA_OPTS

Additional Information

Configure Apache Tomcat Java Agent