Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Edit the config\domain.xml file of the domain and add three lines to the java-config element:

Code Block
<jvm-options>-Dinspectit.config=PATH-TO-INSPECTIT/config</jvm-options>
<jvm-options>-Xbootclasspath/p:${com.sun.aas.instanceRoot}/lib/ext/inspectit-agent.jar</jvm-options>
<jvm-options>-javaagent:${com.sun.aas.instanceRoot}/lib/ext/inspectit-agent.jar</jvm-options>

Adjust PATH-TO-INSPECTIT that it points to your inspectIT configuration folder like /home/glassfish/inspectit/config.

...


<jvm-options>-Dinspectit.repository=[REPOSITORY_IP]:[REPOSITORY_PORT]</jvm-options>
<jvm-options>-Dinspectit.agent.name=[AGENT_DISPLAY_NAME]</jvm-options>
Configuration via administration console:

...