Versions Compared

Key

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

...

Code Block
# Added for logging problem
JBOSS_MODULES_SYSTEM_PKGS="org.jboss.logmanager,rocks.inspectit"

At the end of the file add the following to solve the logging problem.

...

Code Block
# inspectIT Settings
INSPECTIT_AGENT_HOME="[path-to-inspectit-agent-home]"
INSPECTIT_CONFIG_HOME="[path-to-config-folder]"
INSPECTIT_ADRESS="[IP]:[PORT]"
INSPECTIT_AGENT_NAME="[agent-name]"
INSPECTIT_JAVA_OPTS="-Xbootclasspath/p:${INSPECTIT_AGENT_HOME}/inspectit-agent.jar -javaagent:${INSPECTIT_AGENT_HOME}/inspectit-agent.jar -Dinspectit.repository=${INSPECTIT_ADRESS} -Dinspectit.agent.name=${INSPECTIT_AGENT_NAME}"
JAVA_OPTS="${INSPECTIT_JAVA_OPTS} ${JAVA_OPTS}"

 


Windows

The configuration is quite simple. Only needed thing is to edit the standalone.conf.bat file (if you start with run standalone.sh start script). 


Find the following line

Code Block
set "JAVA_OPTS=%JAVA_OPTS% -Djboss.modules.system.pkgs=org.jboss.byteman"

...

Code Block
# inspectIT Settings
set "INSPECTIT_AGENT_HOME=[path-to-inspectit-agent-home]"
set "INSPECTIT_CONFIG_HOME=[path-to-config-folder]"
set "INSPECTIT_ADRESS=[IP]:[PORT]"
set "INSPECTIT_AGENT_NAME=[agent-name]"
set "INSPECTIT_JAVA_OPTS=-Xbootclasspath/p:%INSPECTIT_AGENT_HOME%/inspectit-agent.jar -javaagent:%INSPECTIT_AGENT_HOME%/inspectit-agent.jar -Dinspectit.repository=%INSPECTIT_ADRESS% -Dinspectit.agent.name=%INSPECTIT_AGENT_NAME%"
set "JAVA_OPTS="${INSPECTIT%INSPECTIT_JAVA_OPTS} ${JAVA_OPTS}"

...

OPTS% %JAVA_OPTS%"
set "JAVA_OPTS=%JAVA_OPTS% -Djboss.modules.system.pkgs=org.jboss.byteman"