Run the new monitoring applications
To learn about the steps follow in order to run monitoring applications.
Follow these steps to run the monitoring applications.
- we need a WAS installation or WAS Java EE client package to run a PMI application.
- Use a PMI client API to write our own application.
- Compile the newly-written PMI application and place it on the class path. (The jar files under %WAS_HOME%\lib and %WAS_HOME%\classes folder will be placed in the class path by the following script.)
- To run a PMI application we need a WAS runtime environment (the appserver installation or a Java EE client package). Using the following script to run the application:
The following is formatted for Windows based systems. You may need to adjust the script depending on the operating system.
@echo off @setlocal call "%~dp0setupCmdLine.bat" "%JAVA_HOME%\bin\java" "%CLIENTSAS%" "%CLIENTSOAP%" -DwebsphereV5Statistics=false -Dwas.install.root="%WAS_HOME%" -Dws.ext.dirs="%WAS_EXT_DIRS%" -classpath "%WAS_CLASSPATH%" com.ibm.ws.bootstrap.WSLauncher com.ibm.websphere.pmi.PmiJmxTest %*
Performance Monitoring Infrastructure client package
Run the monitoring applications with security enabled 
Related concepts
Java thin client