Deploying Custom Java on AIS Server on Oracle WebLogic Server

To deploy the custom Java JAR file to an AIS Server on Oracle WebLogic Server:

  1. Deploy the JAR as a shared library on the same WebLogic Server on which the AIS Server (otherwise referred to as the JDERestProxy) is deployed.

  2. Restart the AIS Server using Server Manager.

  3. Edit the weblogic.xml inside the JDERestProxy.war/WEB-INF to reference the custom java shared library, for example:

    <?xml version="1.0" encoding="UTF-8"?>
    <weblogic-web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                      xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-web-app http://www.bea.com/ns/weblogic/weblogic-web-app/1.0/weblogic-web-app.xsd"
                      xmlns="http://www.bea.com/ns/weblogic/weblogic-web-app">
        <session-descriptor>
            <cookie-path>/jderest</cookie-path>
            <cookie-http-only>true</cookie-http-only>
        </session-descriptor>
        <context-root>jderest</context-root>
        <library-ref>
            <library-name>CustomJava</library-name>
        </library-ref>
    </weblogic-web-app>
    
  4. Redeploy JDERestProxy from Server Manager.