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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Maximizing the Value of Splunk ES 8.x

Splunk Enterprise Security (ES) continues to be a leader in the Gartner Magic Quadrant, reflecting its pivotal ...

Operationalizing TDIR: Building a More Resilient, Scalable SOC

Optimizing SOC workflows with a unified, risk-based approach to Threat Detection, Investigation, and Response ...

Introducing .conf Stories Series!

“.conf Stories” Series – First Feature: Rich Mahlerwein   Every year .conf brings together some of the most ...