Avoid trouble: When a custom PMI is implemented in a network deployment
environment, you may not be able to view the custom PMI counters because
the Stats/PMI xml file and the resource bundle property file are not
visible to the WebSphere Application Server class loader. The Stats/PMI.xml
file and the resource bundle property file are present inside the
application. To be able to view the custom PMI counters, you need
to place the Stats/PMI.xml file and the resource bundle property file
in the class path.
You make the custom PMI counters visible by creating
a jar with the following file structure of the Stats/PMI.xml file
and resource bundle property file and place them in the
WAS_HOME\lib\ext folder.
The custom PMI counters are then visible to the class loader.
com/ibm/app/temp/tempstats.xml --- path of the Stats/PMI.xml
com/ibm/app/temp/resourcebundle.props --- path of the resource bundle property file
gotcha