PQ78911: Using JMX interface to get PMI data results in an exception.

APAR status
Closed as program error.

Error description
Using testEJB() method gets the beanModule, but the
processStats(Stats) has dataMembers for the Stats, but no
dataInfo.  The exception is due to dataInfo.

Problem has been identified in the getStats() method.
Local fix Problem summary
****************************************************************
* USERS AFFECTED: Users using PmiClient API in 5.0.1           *
****************************************************************
* PROBLEM DESCRIPTION: NullPointerException                    *
*                      in PmiClient.setPerfConfigInfo when     *
*                      requesting for data in the top level    *
*                      PMI module                              *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
When request for PMI data at the top level PMI module via
PmiClient API, users get NullPointerException in
the setPerfConfigInfo method. Here is the why we had the
problem. In the old setPerfConfigInfo method, it only took
the ObjectName without the StatDescriptor. When querying
top level PMI module, setPerfConfigInfo method mistakenly
thought it was for the whole server because there was no
StatDescriptor. Therefore, the NPE was thrown since the
actual PMI data were for the module not for the server.
Problem conclusion
In PmiClient.java, add a new method for setPerfConfigInfo that
takes StatDescriptor in addition to ObjectName. Therefore,
the setPerfConfigInfo method now know if the request is for
the whole server or just for the top level PMI module.
If for the whole server, it will use the old code. If for
the top levle PMI module, it will get the module name from
the StatDescriptor and set the config info correctly
Temporary fix Comments
APAR information
APAR number PQ78911
Reported component name WAS BASE 5.0
Reported component ID 5630A3600
Reported release 00W
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Special Attention NoSpecatt
Submitted date 2003-09-25
Closed date 2003-10-09
Last modified date 2003-10-09

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros
PMI          

Publications Referenced

Fix information

Applicable component levels
R003 PSY    UP


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > General
Operating system(s):
Software version: 00W
Software edition:
Reference #: PQ78911
IBM Group: Software Group
Modified date: Oct 9, 2003