SingleAgent JBoss Monitoring
1. Follow the steps for installing Applicare SingleAgent
2. Start the Jboss server. Agent will be added to Applicare Controller.
3. Login in to Applicare Console Overview screen to view the agent.
Note:
If we receive any logmanager error while starting Jboss server add the below JAVA_OPTS line in the start of the standalone.bat (for windows) and standalone.sh (for linux) file. standalone.bat/sh file will be present in the "<JbossHome>/bin" location.
Please modify the <version> with the correct jboss-logmanager name in below arguments, as it varies for different versions of Jboss.
Windows
set JAVA_OPTS=%JAVA_OPTS% -Djboss.modules.system.pkgs=org.jboss.byteman,org.jboss.logmanager -Djava.util.logging.manager=org.jboss.logmanager.LogManager -Xbootclasspath/p:%CD%\..\modules\system\layers\base\org\jboss\logmanager\main\jboss-logmanager-<version>.jar
Example:
set JAVA_OPTS=%JAVA_OPTS% -Djboss.modules.system.pkgs=org.jboss.byteman,org.jboss.logmanager -Djava.util.logging.manager=org.jboss.logmanager.LogManager -Xbootclasspath/p:%CD%\..\modules\system\layers\base\org\jboss\logmanager\main\jboss-logmanager-2.1.14.Final-redhat-00001.jar
Linux
export JAVA_OPTS="$JAVA_OPTS -Djboss.modules.system.pkgs=org.jboss.byteman,org.jboss.logmanager -Djava.util.logging.manager=org.jboss.logmanager.LogManager -Xbootclasspath/p:`pwd`/../modules/system/layers/base/org/jboss/logmanager/main/jboss-logmanager-<version>.jar"
Example:
export JAVA_OPTS="$JAVA_OPTS -Djboss.modules.system.pkgs=org.jboss.byteman,org.jboss.logmanager -Djava.util.logging.manager=org.jboss.logmanager.LogManager -Xbootclasspath/p:`pwd`/../modules/system/layers/base/org/jboss/logmanager/main/jboss-logmanager-2.1.14.Final-redhat-00001.jar"
Please sign in to leave a comment.
Comments
0 comments