Why and when to perform this task
For Version 3.5.5+, follow these instructions:
Steps for this task
For PMI to interact correctly with Version 3.5.x application servers, you must upgrade both the Version 3.5.x run time environment and the PMI JAR files to the levels specified below. In addition, you must prepend the repository.jar, ejs.jar, and ujc.jar files from the upgraded Version 3.5.x run time environment to the PMI client's run time classpath.
Ensure the Version 3.5 environment is Version 3.5.5 or later.
Copy the repository.jar, ujc.jar and ejs.jar files from the WebSphere_35_installation_root/lib directory to each machine from which a PMI client is run.
Prepend the Version 3.5.5+ repository.jar, ujc.jar and ejs.jar files to the PMI client's run time classpath.
A new constructor for PmiClient allows a client to monitor Version 3.5.5 or later application servers. The new constructor takes three string parameters: hostName, serverName, and version.
public PmiClient(String host, String port, String version)Using this constructor with "EPM" as the third parameter creates a PmiClient that can retrieve data from Version 3.5.5+ application servers.
PmiClient pmiClnt = new PmiClient(hostName, portNumber, "EPM")
What to do next
Use Version 4.0 PmiClient API to write your own client application with WebSphere Application Server Version 4.0 and 3.5.5+. See the example code for using Version 4.0 API in the topic "Example: Performance Monitoring Infrastructure client (Version 4.0)".
To run a Version 5.0 PMI client with a Version 4.0 server, the instructions are similar, except in substep 2 of step 1, you need to copy the repository.jar and ujc.jar files from a WebSphere Application Server, Version 4.0, installation.