cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Venkat.Ramana
Voyager

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)

 

1 REPLY 1

Venkat.Ramana
Voyager

Can any one help me please