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!

Updated Data Type Articles, Anniversary Celebrations, and More on Splunk Lantern

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

A Prelude to .conf25: Your Guide to Splunk University

Heading to Boston this September for .conf25? Get a jumpstart by arriving a few days early for Splunk ...

4 Ways the Splunk Community Helps You Prepare for .conf25

.conf25 is right around the corner, and whether you’re a first-time attendee or a seasoned Splunker, the ...