JMX Metrics are not showing for a Tomcat JVM

book

Article ID: 192297

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

Have a working Introscope Wily Agent with a Tomcat JVM. 

Seeing the metrics and it is working. 

Would also like to see JMX metrics since the vendor recommended using those for alerting. 

Configure the IntroscopeAgent.profile and enabled JMX:
introscope.agent.jmx.enable=true

Also added in the following JVM parameters:
-Dcom.sun.management.jmxremote.port=9000
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false

The JMX metrics don't seem to show up anywhere.  

Cause

WebAppSupport.jar file is not configured correctly. 

Environment

Release : 10.5

Component : APM Agents

Resolution

Tomcat agent requires: WebAppSupport.jar.  This jar is shipped in the "allappserver" tarball within the wily/common/ directory.  However for JMX metrics from a Tomcat agent to report to Introscope, this jar must reside within the wily/core/ext/ directory instead.