Skip to content

Configure Lightrun with Wildfly (JBoss)

Wildfly is a Java application server by RedHat. The Wildfly Server configurations are stored in either the domain.conf for multiple instance deployments, or the standalone.conf for standalone implementations.

To start using Lightrun with a Wildfly server, first add the agent path as an additional JAVA_OPTS parameter in the relevant Wildfly configuration file.

This section gives high-level assistance for standalone servers.


The Lightrun support for Wildfly has been verified on CentOS 7.6/WildFly 18 (the official WildFly Docker image).

To configure Lightrun with Wildfly

For a standalone JVM deployment, JVM settings can be added as a JAVA_OPTS variable in the standalone.conf file.

  1. Copy the agent path, update it according to your configuration and then add it to standalone.conf:

!!! tip - The default server dynamic logs are in /opt/jboss/wildfly/standalone/log/server.log - To deploy the Management Portal copy a .war file to the deployment dir /opt/jboss/wildfly/standalone/deployments/ - To redeploy an app, copy a new file to the deployment dir and then run touch <app_name>.war in the same dir. Then see /opt/jboss/wildfly/standalone/log/server.log to verify; the server stops working following these updates.

  1. Restart WildFly - How to start/stop the WildFly server

Last update: June 6, 2024