Skip to main content
Version: 25.2.0

Oracle Weblogic

Please refer to the Proposed Directory Structure section in this document for assistance with the steps below.

  1. Go to Oracle/Middleware/user_projects/domains/<domain_name>/bin.

  2. Open the startWebLogic.sh (Linux) or startWebLogic.cmd (Windows) file.

  3. Add the following to the beginning.

    • On Linux:
    JAVA_OPTIONS="-javaagent:/opt/waratek/agent/waratek.jar -Dcom.waratek.WaratekProperties=/opt/waratek/<conf_*>/waratek.properties $JAVA_OPTIONS"

    It is important to list the Waratek options before the existing java options above (especially if the configuration utilizes managed servers)

    • On Windows:
    set JAVA_OPTIONS=-javaagent:<absolute-path-to-waratek-software>\agent\waratek.jar -Dcom.waratek.WaratekProperties=<absolute-path-to-waratek-software>\<conf_*>\waratek.properties %JAVA_OPTIONS%
  4. Restart the WebLogic server. The WebLogic server must be restarted for the changes to take effect.