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!

SOCin’ it to you at Splunk University

Splunk University is expanding its instructor-led learning portfolio with dedicated Security tracks at .conf25 ...

Credit Card Data Protection & PCI Compliance with Splunk Edge Processor

Organizations handling credit card transactions know that PCI DSS compliance is both critical and complex. The ...

Stay Connected: Your Guide to July Tech Talks, Office Hours, and Webinars!

What are Community Office Hours?Community Office Hours is an interactive 60-minute Zoom series where ...