Configuring JavaAgent with Wildfly running in domain mode.
search cancel

Configuring JavaAgent with Wildfly running in domain mode.

book

Article ID: 255407

calendar_today

Updated On:

Products

DX Operational Observability DX SaaS DX Application Performance Management

Issue/Introduction

The KB explains the steps to take to configure the JavaAgent with Wildfly Application server running in domain mode.

Environment

  • DX O2
  • Java Agent
  • wildfly application server

Resolution

  1. Go to the Wildfly Admin console
  2. Click Runtime
  3. Server Groups
  4. Click “View” for main-server-group
  5. Click JVMs > default > Edit
  6. Add the location of the Agent Jar to the Agent Agent property.
  7. Click “Save”
  8. Restart the JVM

 

Verification

  1. Check that <wildfly-HOME>/domain/configuration/domains.xml has been update:


  2. Check that Java agent logs have been created
  3. check agent is report in Metric View and agent naming is working as expected + JMX reporting

Wildfly console:

Additional Information

Techdocs - DX O2 Java Agent Wildfly configuration