search cancel

MQMonitor agent shows "java.lang.NoClassDefFoundError:" exception on startup after enabling handshake properties for MQ Tracing.


Article ID: 5887


Updated On:


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


After enabling the MQ Monitor agent for MQ Tracing on agent startup this exception occurs:

Exception in thread "MQDLQReader-DEVGPP01|NABNPDGMQDEVM1" java.lang.NoClassDefFoundError: 

at com.wily.powerpack.websphereMQ.agent.MQMonitor.trace.ActivityReportParser.parseActivityMessage( 


CA APM 9.x, 10.x MQMonitor agent


MQ Tracing with APM requires the MQ Activity recording/reporting feature to track message routing.

The corresponding class "" is contained in 3rd party WebSphere MQ Broker library which needs to be in the agent Java CLASSPATH


Per the APM documentation for the extension for IBM WebSphere MQ the file needs to have the PCF_JAR variable set to the location of file. PCF_JAR is then included in the Java CLASSPATH for the agent startup

Extending > IBM WebSphere MQ > Configure MQ Agent > Configure WebSphere MQ for Trace

The IBM 3rd party library file containing may no longer be available for download but can be accessed from here:

Additional Information

Extending > IBM WebSphere MQ > WebSphere MQ Troubleshooting

See "[ERROR] TraceManager.startUp ClassNotFoundException ..."

Attachments get_app