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!

Splunk Observability Cloud's AI Assistant in Action Series: Auditing Compliance and ...

This is the third post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

What You Read The Most: Splunk Lantern’s Most Popular Articles!

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