Help APM Add Java Agent Install Java agent on Weblogic

Installing Java Agent in Weblogic 10.3.x and above

Installing Java Agent in Weblogic 10.3.x & above

For standalone setup:

  1. Open <ORACLE_HOME>/user_projects/domains/<doman_name>/bin/startManagedWebLogic.cmd(.sh) file in any text editor
  2. Add the following lines at the top of the script file:
  •    For Windows, 
    set JAVA_OPTIONS=-DUseSunHttpHandler=true -javaagent:<agent_directory_full_path>apminsight-javaagent.jar %JAVA_OPTIONS%
  • For Linux, 
    set JAVA_OPTIONS="-DUseSunHttpHandler=true -javaagent:<agent_directory_full_path>/apminsight-javaagent.jar $JAVA_OPTIONS"


For cluster setup:

  1. Extract the zip file to a new directory to find agent jar and its configuration files.
  2. Open apminsight.conf file in any text editor and add license.key value, which can be obtained from Site24x7 APM Insight page. Refer here to fine tune the agent settings.
  3. Open the administrative console of Weblogic server, Select Environment > Servers > Configuration tab.
  4. Select (Your Server Name) > Configuration > Server Start tab.
  5. Locate Arguments textbox and enter the following argument:
    -javaagent:<agent_directory_full_path>/apminsight-javaagent.jar -DUseSunHttpHandler=true
    Install APM Insight Java agent on Weblogic
  6. Save the settings and start the Weblogic server.
Was this document helpful?
Thanks for taking the time to share your feedback. We’ll use your feedback to improve our online help resources.

Help APM Add Java Agent Install Java agent on Weblogic