Splunk AppDynamics

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

CommunityUser
Splunk Employee
Splunk Employee

Iam using java 7  with jboss4.2. I am facing the issue when 

Load the Java Agent in a JVM 

my command is

C:\Users\venkat.ramana>java -Xbootclasspath/a:C:\ProgramFiles\Java\jdk1.7.0_51\l
ib\tools.jar -jar E:\APPDynamics\javaagent.jar 3556 Attaching to VM [3556] appdy
namics.controller.hostName=199.166.155.71,appdynamics.controller.port=8090,appdy
namics.controller.ssl.enabled=false,appdynamics.agent.applicationName=NEURA,appd
ynamics.agent.tierName=MRRCH,appdynamics.agent.nodeName=HIS

Iam  getting error like this can any one help me out?

java.lang.ClassNotFoundException: com.sun.tools.attach.VirtualMachine
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
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(AgentEntryPoin
t.java:1055)
Exception in thread "main" java.lang.RuntimeException: java.lang.ClassNotFoundEx
ception: com.sun.tools.attach.VirtualMachine
at com.singularity.ee.agent.appagent.AgentEntryPoint.main(AgentEntryPoin
t.java:1080)
Caused by: java.lang.ClassNotFoundException: com.sun.tools.attach.VirtualMachine

at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
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(AgentEntryPoin
t.java:1055)

Labels (1)
0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Can any one help me please

0 Karma
Get Updates on the Splunk Community!

Aligning Observability Costs with Business Value: Practical Strategies

 Join us for an engaging Tech Talk on Aligning Observability Costs with Business Value: Practical ...

Mastering Data Pipelines: Unlocking Value with Splunk

 In today's AI-driven world, organizations must balance the challenges of managing the explosion of data with ...

Splunk Up Your Game: Why It's Time to Embrace Python 3.9+ and OpenSSL 3.0

Did you know that for Splunk Enterprise 9.4, Python 3.9 is the default interpreter? This shift is not just a ...