Skip to main content
Version: 25.3.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.OceanicProperties=/opt/waratek/<conf_*>/waratek.properties $JAVA_OPTIONS"

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

  • On Windows:

    set JAVA_OPTIONS=-javaagent:<absolute-path-to-agent-home-folder>\agent\waratek.jar -Dcom.waratek.OceanicProperties=<absolute-path-to-agent-home-folder>\<conf_*>\waratek.properties %JAVA_OPTIONS%
  1. Restart the WebLogic server. The WebLogic server must be restarted for the changes to take effect.