SingleAgent Wildfly Monitoring

Community post

Shared by the Applicare community. It has not been re-checked against Applicare 10.0, so confirm the steps in your environment or contact Support.

1. Follow the steps for installing Applicare SingleAgent 2. Start the Wildfly 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 wildfly 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 "<WildflyHome>/bin" location.

Please modify the <version> with the correct jboss-logmanager jar name and wildfly-common jar name in below arguments, as it varies for different versions of wildfly.

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;%CD%\..\modules\system\layers\base\org\wildfly\common\main\wildfly-common-<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.jar;%CD%\..\modules\system\layers\base\org\wildfly\common\main\wildfly-common-1.5.1.Final.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:`pwd`/../modules/system/layers/base/org/wildfly/common/main/wildfly-common-<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.jar:`pwd`/../modules/system/layers/base/org/wildfly/common/main/wildfly-common-1.5.1.Final.jar"

Join the discussion

Comments, voting and following are kept by Zendesk and need a Help Center account. This button opens the original discussion there.

Opens Zendesk · needs internet and sign-in

Still stuck? Contact support