Splunk AppDynamics

How to attach the AppDynamics Java agent on a running Java Processes ?

Udyan_Sharma
New Member

Hi,

I am trying to instrument one of the Java Processes (JVM) running on a Windows Server.

I also went through the documentation https://docs.appdynamics.com/display/PRO42/Install+the+Java+Agent

But when I am trying to attach the Agent to the PID, its giving error.

D:\xxx\bin>java -Xbootclasspath/a:C:\Program Files (x86)\Java\jdk1.
8.0_65\lib\tools.jar -jar D:\monit\AppDynamics\AppServerAgent-4.4.0.17833\javaag
ent.jar 25628
Error: Could not find or load main class Files

Could someone please help in this case.

Regards

Udyan

Labels (1)
0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hi,

Check the path again. Try doyble slash or forward slash for windows.

Regards,

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hi Udyan,

You can include the javagaent.jar as a argument in the startup script the argument should -javaagent:/path/to/jar/javaagaent.jar

For your approach, did you make sure that this is a valid path?

D:\monit\AppDynamics\AppServerAgent-4.4.0.17833\javaagent.jar

Thanks,

Gurmit.

0 Karma
Get Updates on the Splunk Community!

What’s New in Splunk Enterprise 9.4: Tools for Digital Resilience

What’s New in Splunk Enterprise 9.4: Tools for Digital ResilienceTune in to What’s New in Splunk Enterprise ...

Get Schooled with Splunk Education: Explore Our Latest Courses

At Splunk Education, we’re dedicated to providing incredible learning experiences that cater to every skill ...

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...