Enabling the APM JavaAgent with WebSphere Liberty
search cancel

Enabling the APM JavaAgent with WebSphere Liberty

book

Article ID: 390045

calendar_today

Updated On: 03-06-2025

Products

DX Application Performance Management DX APM SaaS DX Operational Observability

Issue/Introduction

What is the correct process and jvm arguments required to enable the APM Java Agent with Websphere Liberty appserver

Environment

DX APM 24.x,25.x, SaaS

Resolution

1. Stop Liberty Appsever

server stop

2. Update the Liberty app configuration file: <Liberty-HOME>\wlp\usr\servers\defaultServer\jvm.options

-javaagent:<WILYAGENT-HOME>\AgentNoRedefNoRetrans.jar
-DagentName=WebsphereLiberty
-Dorg.osgi.framework.bootdelegation=com.wily.*

In below example the appserver is running in windows, agent home directory is under C:\\wasliberty

3.Start Liberty Appsever

server start

4.Verify from the Agent log that appsever starts without any issue and is able to connect to the APM server side, below an example:

5. Finally confirm that metrics are correctly reported in Metric view

Additional Information