Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
11-13-2017 03:51 AM
hello ,
I'm using macOS sierra , firstly i installed java(jdk 9.0.1) after that i installed the apache tomcat server and it worked successfully after that i followed the instructions in the video of installing java agent ; as i downloaded the agent and followed the steps but i can't attach the server to the agent due to the error (in the below screenshot):
i noticed that tools.jar not exist in the JDK lib folder , but i don't know why and is it the problem or what ?
how can i fix this issue , please ?
Thanks
11-14-2017 02:06 AM
So, from the above 2282 was the pid of jps itself, which explains why you can't attach to that, since it stopped running before you tried.
The second process, called "bootstrap" is presumably your tomcat, so try to attach to that. (you could see the full command line by adding the -v option to your jps command)
If you're having toruble connecting to the tomact dynamically, you could try to add the javaagent as a tomcat startup parameter, as documented here.
11-14-2017 04:13 AM - edited 11-14-2017 04:37 AM
i executed the full command line with -v parameter and it returned 2 ids then
i tried to execute the command of attaching the agent but it also failed with the same error with both 2 ids
i tried to add the javaagent as a tomcat startup parameter but no changes happened
i'm really got frustrated , any suggestions in order to try appdynamics
or is there another way to practice on appdynamics
thank
User | Count |
---|---|
2 | |
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