Using the Classpath Method

  1. Save the Jython Jar file on the machine where WebSphere Application Server is installed. Make sure that the path is accessible.
  2. Navigate to Servers, click Server Types , click WebSphere application servers and select the server instance to configure.
  3. Click Java and Process Management and then click Process definition.
  4. Click Java Virtual Machine.
  5. In the Configuration tab, enter the path to the library in the Classpath field. For example, enter: /QIBM/UserData/WebSphere/AppServer/V9/ND/profiles/AppSrv01/mylibs/jython.jar
  6. Enter the generic JVM argument in the Generic JVM arguments field. For example, enter: -Dpython.path= /QIBM/UserData/WebSphere/AppServer/V9/ND/profiles/AppSrv01/mylibs/jython.jar/Lib This image is described in surrounding text.
  7. Click OK and then click Save in the Java Virtual Machine page.
  8. Click OK and then click Save in the Process definition page.
  9. To synchronize Server Manager with the deployed application:

    Note: Saving the configuration in the WebSphere Application Server will redeploy the application, but you must synchronize Server Manager to recognize the deployed application.
    1. In Server Manager, locate the AIS Server and update the setting in the Configuration section. This step is required so that Server Manager detects a change in the AIS Server when you click the Synchronize Configuration button.
    2. Click the Apply button to apply the changes and then return to the AIS Server home page.
    3. Click the Synchronize Configuration button to restart the AIS Server.