To enable the PMM to monitor WebSphere 7.0 using JMX, you
need to configure the WebSphere 7.0 application server and configure WebLOAD to
support WebSphere 7.0.
Server-side configuration
- Add -Djavax.management.builder.initial=
-Dcom.sun.management.jmxremote to the Generic JVM Argument, as
follows:
- Launch the WebSphere Application Server.
- Connect to the Administration Console.
- Select Servers à Server Types à WebSphere application servers, and specify which server
to manage (default: server1).
- In the Configuration tab, select Server Infrastructure à
Java and Process Management à Process
Definition.
- Select Additional
Properties à Java Virtual Machine.
- Set the Generic JVM arguments to -Djavax.management.builder.initial=
-Dcom.sun.management.jmxremote.
- Add the
following lines to
/opt/IBM/WebSphere/AppServer/java/jre/lib/management/management.properties:
com.sun.management.jmxremote.port=9999
com.sun.management.jmxremote.authenticate=false
com.sun.management.jmxremote.ssl=false
WebLOAD Configuration:
Copy the following libraries from the application server’s
installation directory to the <WebLOAD_DIR>\extensions\java\ directory:
- [WebSphere]/AppServer/runtimes/com.ibm.ws.admin.client_7.0.0.jar
- [WebSphere]/AppServer/plugins/com.ibm.ws.runtime.jar
- [WebSphere]/AppServer/runtimes/com.ibm.ws.webservices.thinclient_7.0.0.jar
- [WebSphere]/AppServer/java/jre/lib/ibmorb.jar
- [WebSphere]/AppServer/java/jre/lib/ibmjgssprovider.jar
- [WebSphere]/AppServer/deploytool/itp/plugins/com.ibm.websphere.v7_7.0.0.v20080817/wasJars/ibmjsseprovider2.jar
Where [WebSphere] is
the application server’s installation directory.