Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.
AppDynamics customers and established members should click the sign in button to authenticate.
11-21-2017 02:21 PM
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
11-22-2017 12:34 PM - edited 11-22-2017 12:39 PM
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.
11-26-2017 01:05 AM
Hi,
Check the path again. Try doyble slash or forward slash for windows.
Regards,
User | Count |
---|---|
3 | |
1 | |
1 | |
1 | |
1 | |
1 |
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form