Tomcat Agent Configuration Issue
search cancel

Tomcat Agent Configuration Issue

book

Article ID: 186328

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

Customer is trying to configure a Tomcat agent using catalina.bat, the main configurations have been made.

 

Tomcat version =8.x

Java version = 1.8

OS = Windows

I recommended add quotes to the catalina.bat parameters

set CATALINA_OPTS=%CATALINA_OPTS% -javaagent:"D:\CAAPM\wily\Agent.jar" -DagentProfile="D:\CAAPM\wily\core\config\IntroscopeAgent.profile"

Please let me know if you have other recommendations.

 

Environment

Release : 10.7.0

Component : APM Agents

Cause

Environment variables 

Resolution

Set the @echo on to see debugging in catalina.bat, setclasspath.bat, setenv.bat

Determined that various environment variables were not set and added to the scripts

JAVA_HOME

JDK_HOME

JRE_HOME

CATALINA_OPTS

CATALINA_HOME


The script then completed.