No data is displayed for “IBM WebSphere” monitors in the Diagnostics tab

No data is displayed for "IBM WebSphere" monitors in the Diagnostics tab

Problem

LoadRunner: 9.52 running on Windows 2003, HP Diagnostics: Version 8.0, WebSphere Commerce: 6.x on AIX.

Retrieving data for the "Stand Views" graphs in diagnostics is working fine, but nothing is displayed for the "IBM WebSphere" views.

Java 2 Security is NOT enabled. The HP Diagnostics Perfromance Monitoring Infrastructure (PMI) statistic sets are selected as Extended.

Checking the probe.log on the AIX machined shows the following WARN log:

2010-05-06 10:20:09,836 WARN com.mercury.diagnostics.capture.metrics [Metrics Collection] Error initializing [email protected]

java.lang.IllegalAccessError: com.mercury.diagnostics.capture.metrics.jmx.JMXCollector tried to access method com/mercury/diagnostics/capture/metrics/jmx/JMXCollector$AttributesAndDescriptors.add(Ljava/lang/String;Lcom/mercury/diagnostics/common/metrics/MetricDescriptor;)V

Cause

Invalid classpath configuration on the IBM Websphere – HP Diagnositcs boot loader on the AIX machine.

Fix

Check the Boot Classpath configuration in the WebSphere Admin Console and ensure it has all the correct entries.

In this case it should have read:

/opt/MercuryDiagnostics/JavaAgent/DiagnosticsAgent/classes/IBM/1.4.2__1:

/opt/MercuryDiagnostics/JavaAgent/DiagnosticsAgent/classes/boot

but it did not have the first entry (1.4.2__1)

READ  Software Testing Artifacts - Detailed Guide

Leave a Comment