Skip to main content
Version: 25.0.0

Red Hat JBoss and Wildfly

Please refer to the Waratek Proposed Directory Structure section in this document for assistance with the steps below.

Running in Standalone Mode

  1. Go to <absolute-path-to-jboss>/bin.

  2. If using JBoss Application Server 7.x or Enterprise Application Server 6.x or later, open the standalone.conf (Linux) or standalone.conf.bat (Windows) file.

  3. If using JBoss 4.x or 5.x, open the run.conf (Linux) or run.conf.bat (Windows) file.

  4. Search for the following line.

    # Specify options to pass to the Java VM.
  5. Set Java Options under the line.

    • On Linux:
JAVA_OPTS="-javaagent:/opt/waratek/agent/waratek.jar -Dcom.waratek.WaratekProperties=/opt/waratek/<conf_*>/<name of property file> $JAVA_OPTS"
  • On Windows:
set JAVA_OPTS="-javaagent:<absolute-path-to-waratek-software>\agent\waratek.jar -Dcom.waratek.WaratekProperties=<absolute-path-to-waratek-software>\<conf_*>\<name of property file> %JAVA_OPTS%"
  1. Restart the JBoss / Wildfly server. The server must be restarted for the changes to take effect.