JBoss Logging Manager exception after adding vFunction Agent


Overview of the Issue

This issue occurs in the following circumstances:

  1. An organization installs the VF Agent on a Java Application running on a JBoss Application Server
  2. The JBoss Application Server won’t start and throws an exception about the Logging Manager as described in this Stackoverflow article

Steps to Resolve the Issue

  1. SSH to the JBoss Application Server
  2. In a text editor, open the file where the JAVA_OPTS are set such as the $YOUR_WILDFLY_BASE_PATH/bin/standalone.conf
  3. Add the following flag to the JAVA_OPTS
-Djboss.modules.system.pkgs=org.jboss.byteman,org.jboss.logmanager,com.vfunction,vfrtshadow
  1. Restart the JBoss Application Server