Splunk AppDynamics

java agent configuration

CommunityUser
Splunk Employee
Splunk Employee

I'm running below command, however I'm getting error.  Help on this is appreciated.

C:\Users\Administrator>java -Xbootclasspath/a::"C:\Program Files\Java\jdk1.8.0_181\lib\tools.jar" -jar C:\appdynamic_agent\ver4.4.3.23530\javaagent.jar 2128

java.lang.ClassNotFoundException: com.sun.tools.attach.VirtualMachine

        at java.net.URLClassLoader.findClass(Unknown Source)

        at java.lang.ClassLoader.loadClass(Unknown Source)

        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

        at java.lang.ClassLoader.loadClass(Unknown Source)

        at java.lang.Class.forName0(Native Method)

        at java.lang.Class.forName(Unknown Source)

        at com.singularity.ee.agent.appagent.AgentEntryPoint.main(AgentEntryPoint.java:1008)

Exception in thread "main" java.lang.RuntimeException: java.lang.ClassNotFoundException: com.sun.tools.attach.VirtualMac

hine

        at com.singularity.ee.agent.appagent.AgentEntryPoint.main(AgentEntryPoint.java:1033)

Caused by: java.lang.ClassNotFoundException: com.sun.tools.attach.VirtualMachine

        at java.net.URLClassLoader.findClass(Unknown Source)

        at java.lang.ClassLoader.loadClass(Unknown Source)

        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

        at java.lang.ClassLoader.loadClass(Unknown Source)

        at java.lang.Class.forName0(Native Method)

        at java.lang.Class.forName(Unknown Source)

        at com.singularity.ee.agent.appagent.AgentEntryPoint.main(AgentEntryPoint.java:1008)

Labels (1)
0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hi @Anonymous,

Have you checked the Java Supported Environments and Administer the Java Agent docs?

Please verify that you are using the right Java environment.

0 Karma
Get Updates on the Splunk Community!

Fueling your curiosity with new Splunk ILT and eLearning courses

At Splunk Education, we’re driven by curiosity—both ours and yours! That’s why we’re committed to delivering ...

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureOn Demand Now Step boldly into the AI revolution with enhanced security ...