Compiling your monitoring applications

 

Before you begin

To compile your Performance Monitoring Infrastructure (PMI) code, have the following JAR files in your classpath:

  • admin.jar

  • wsexception.jar

  • jmxc.jar

  • pmi.jar

  • pmiclient.jar

  • ras.jar

  • wasjmx.jar

  • j2ee.jar

  • soap.jar

  • soap-sec.jar

  • nls.jar

  • ws-config-common.jar

  • namingclient.jar

  • management.jar

  • pmij2ee.jar

If your monitoring applications use APIs in other packages, also include those packages on the classpath. If any WAS class is not found with the above set of jars, then one can include all the WebSphere jars using

javac -extdirs %WAS_HOME%\lib myclass.java


 

Related Tasks


Developing your own monitoring applications