cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not a customer? Start a free trial

Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.

AppDynamics customers and established members should click the sign in button to authenticate.

Java (Java Agent, Installation, JVM, and Controller Installation)

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

Venkat.Ramana
Voyager

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

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)

 

By replying you agree to the Terms and Conditions of the AppDynamics Community.
java agent issue java.lang.ClassNotFoundException: com.sun.tools.attach.VirtualMachine
1 REPLY 1
Venkat.Ramana
Voyager

Can any one help me please