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
08-07-2024 08:00 AM - last edited on 08-07-2024 09:28 AM by Ryan.Paredez
Hi,
We have installed AppDynamics and we are using Oracle JVM and added tools.jar under tomcat lib, and java JRE lib also but when we try to check on object tracking we are still seeing
tools.jar is not in the JVM classpath
any help to resolve this is appreciated.
08-08-2024 11:22 PM
Hi @Easwar.C,
Thank you for posting to the community.
Is your jar file being placed under the path : JRE_HOME>/lib/ext
as indicated in perquisite for Object instance Tracking?
Also, When using the JDK runtime environment, we need to set the classpath using the -classpath
option for the application.
After these setting. restart the JVM.
Moreover, it is worth to check whether the user that currently running the JVM has access to read the jar file. Cause this error could be triggered when permission denied.
Hope this helps,
Martina
08-13-2024 08:39 AM
Hi @Easwar.C,
Have you been able to review the comment your post got? If it helped, please click the 'Accept as Solution" button on the reply that helped. If no, reply back to the thread and keep the conversation going.
Thanks,
Ryan, Cisco AppDynamics Community Manager
Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.
Check out Observabiity in Action
new deep dive videos weekly in the Knowledge Base.
08-13-2024 10:35 AM
I have updated tomcat.service with tools.jar but it is still not working.
Environment='JAVA_OPTS=-Djava.awt.headless=true -javaagent:/opt/appdynamics/javaagent.jar -Dappdynamics.agent.applicationName=biznuvo_test1_node2 -Dappdynamics.agent.tierName=biznuvo_test1_node2 -Dappdynamics.agent.nodeName=biznuvo_test1_node2-i-0e42a26c009127da0 -Dappdynamics.agent.uniqueHostId=biznuvo_TEST1_node2_ip-172_31_31_131 -Xbootclasspath:/usr/lib/jvm/jdk-1.8-oracle-x64/jre/lib/ext/tools.jar'
08-13-2024 10:35 AM
Sorry for the delay I'm still having issues I have posted my update.
08-16-2024 07:41 AM
Hi @MARTINA.MELIANA,
Can you check out the latest reply from @Easwar.C?
Thanks,
Ryan, Cisco AppDynamics Community Manager
Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.
Check out Observabiity in Action
new deep dive videos weekly in the Knowledge Base.
08-21-2024 09:42 AM
Hello @Easwar.C, Cc: @Ryan.Paredez @MARTINA.MELIANA
Thanks for your reply.
As per our documentation, could you please try using -Xbootclasspath/a:/usr/lib/jvm/jdk-1.8-oracle-x64/jre/lib/ext/tools.jar instead to see how it goes?
When using the JDK runtime environment, set the classpath using the
-classpath
option for the application. For example:
- On Windows:
java -classpath <complete-path-to-tools.jar>;%CLASSPATH% -jar myApp.jar
- On Unix:
java -Xbootclasspath/a:<complete-path-to-tools.jar> -jar myApp.jar
Regards,
Xiangning
08-23-2024 07:39 AM
Hi @Easwar.C,
Can you confirm if the latest reply helped answer your post or not? If not, reply back and keep the conversation going.
Thanks,
Ryan, Cisco AppDynamics Community Manager
Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.
Check out Observabiity in Action
new deep dive videos weekly in the Knowledge Base.
08-23-2024 07:41 AM
Still same error also our application has multiple jars.
08-23-2024 11:26 PM
Hello @Easwar.C
Could you please confirm whether the tools.jar is in the correct path which should be your JAVA_HOME in the OS?
I tested with JDK8 and tomcat and I could see object instance tracking in my controller normally.
I attached the screenshots of my configuration and result as references.
On a side note, you can open a case with AppD support, please kindly look through the article to raise a case if necessary.
How do I open a case with AppDynamics Support?
First, make sure that you have access to Cisco SCM by having a valid Cisco.com account. If you were part of the migration this should have been done automatically for you. If still you need to request a Cisco.com account, please refer to the earlier communication about User Identity changes found here.
Make your way to the AppDynamics portal on appdynamics.com/support. When you log in to the AppDynamics portal you will be automatically redirected to Cisco SCM.
Hope this helps.
Best regards,
Xiangning
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form