ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

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.

 

Cause

Environment variables 

Environment

Release : 10.7.0

Component : APM Agents

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.