MQ agent monitor not reporting some metrics for Message Flows

Document ID : KB000095004
Last Modified Date : 11/06/2018
Show Technical Document Details
Issue:
10.5.2 MQ agent is not reporting the "Errors", "Message Statistics" and "Performance" nodes under "Message Flows" as the 10.0 agent did.
Cause:
In Certain environment MQ agent is facing the problem because of the j2ee.jar in use. It seems that the j2ee.jar that the environment has, lacks JMSException.class. And as javax.jms-api-2.0.jar contains JMSException.class, the problem got resolved by adding this jar in the classpath. 
Resolution:
Modify the startMQMonitor.sh and add  jar(javax.jms-api-2.0.jar) in the classpath.