Oracle Weblogic
Please refer to the Waratek Proposed Directory Structure section in this document for assistance with the steps below.
- Go to
Oracle/Middleware/user_projects/domains/<domain_name>/bin
. - Open the
startWebLogic.sh
(Linux) orstartWebLogic.cmd
(Windows) file. - 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%
- Restart the WebLogic server. The WebLogic server must be restarted for the changes to take effect.