Versions Compared

Key

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

...

Code Block
set INSPECTIT_AGENT_HOME="[path-to-inspectit-agent]"
export INSPECTIT_AGENT_HOME

set INSPECTIT_CONFIG_HOME="$[path-to-config-folder]"
export INSPECTIT_CONFIG_HOME

set INSPECTIT_JAVA_OPTS="-Xbootclasspath/p:${INSPECTIT_AGENT_HOME}/inspectit-agent.jar -javaagent:${INSPECTIT_AGENT_HOME}/inspectit-agent.jar -Dinspectit.config=${INSPECTIT_CONFIG_HOME}repository=[REPOSIOTRY_IP]:[REPOSITORY_PORT] -Dinspectit.agent.name=[AGENT_DISPLAY_NAME]"
export INSPECTIT_JAVA_OPTS

# integrate inspectit java options with the java options of weblogic
set JAVA_OPTIONS="${INSPECTIT_JAVA_OPTS} ${JAVA_OPTIONS}"

...

Code Block
set INSPECTIT_AGENT_HOME=path-to-agent-directory (no quotation marks)
 
set INSPECTIT_CONFIG_HOME= path-to-config-directory (no quotation marks)
 
set INSPECTIT_JAVA_OPTS=-Xbootclasspath/p:%INSPECTIT_AGENT_HOME%\inspectit-agent.jar -javaagent:%INSPECTIT_AGENT_HOME%\inspectit-agent.jar -Dinspectit.config=%INSPECTIT_CONFIG_HOME%repository=[REPOSIOTRY_IP]:[REPOSITORY_PORT] -Dinspectit.agent.name=[AGENT_DISPLAY_NAME]
 
@REM integrate inspectit java options with java options of weblogic
set JAVA_OPTIONS=%INSPECTIT_JAVA_OPTS% %JAVA_OPTIONS%