AppD Archive

tools.jar is not in the JVM classpath

CommunityUser
Splunk Employee
Splunk Employee

Hi,

We have a linux server and we are running our application on Tomcat 1.6.  Sun JDK 1.7 and Jre 1.7 version is installed.

In appdynamics, when we turn on Object Instance tracking, we are seeing an error "tools.jar is not in the JVM classpath. You must add it to the classpath and restart the JVM.". I have manually copied tools.jar to jre/lib/ext folder also have restarted my application, still getting the same issue. Please can you help us on this regard?

Regards,

Vaishakh

0 Karma

Arun_Dasetty
Super Champion

Hi Vaishakh

I asssume you copied tools.jar from jdk7_home/lib to jdk7_home/jre/lib/ext let us know if any disconnect here.

If above said is right, please open new shell terminal console and start tomcat from new shell prompt and see how it goes. If issue still persists please send the zipped version of <agent_dir>/logs path for our review

Regards,

Arun

CommunityUser
Splunk Employee
Splunk Employee

Hi,

Thanks, by restarting the application from a different shell prompt solved the issue.

Regards,

Vaishakh

0 Karma
Get Updates on the Splunk Community!

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to Officially Supported Splunk ...