Deploying the Java Preprocessor Class

To deploy the prerocessor class, all you need to do is to put the compiled class on calsspath of PPM. To achieve this, you can choose one of the following methods:

  • Take the class file (you can extract it from the jar) and put it with its package folder hierarchy in <SERVER_HOME>/deploy/itg.war/WEB-INF/classes.

    This should be used only for testing purpose. PPM will clean up the content of this folder during upgrade, even it is only installing a new PPM Patch release.

  • Put the JAR file in <SERVER_HOME>/lib, or in <SERVER_HOME>/deploy/itg.war/WEB-INF/lib (preferred).

    PPM will clean up the content of this folder during upgrade, even it is only installing a new PPM patch release.

  • Put the JAR file in <JAVA_HOME>/jre/lib/ext.

    However, this method is not recommended because this will make the class file available to every Java application run with this Java Virtual Machine.

After the class is deployed, start or restart your PPM Server.