Quantcast
Channel: All AppDynamics Discussions posts
Viewing all articles
Browse latest Browse all 1667

Unable to open socket file: target process not responding or HotSpot VM not loaded

$
0
0

Hi I am getting this error while starting javaagent.

 

java -Xbootclasspath/a:/usr/lib/jvm/java-1.7.0-openjdk.x86_64/lib/tools.jar -jar /home/ec2-user/profilertool/myAppAgent/javaagent.jar 641

 

 

 

Attaching to VM [641]
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.                                                                                        java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces                                                                                        sorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at com.singularity.ee.agent.appagent.AgentEntryPoint.main(AgentEntryPoin                                                                                        t.java:727)
Caused by: com.sun.tools.attach.AttachNotSupportedException: Unable to open sock                                                                                        et file: target process not responding or HotSpot VM not loaded
        at sun.tools.attach.LinuxVirtualMachine.<init>(LinuxVirtualMachine.java:                                                                                        106)
        at sun.tools.attach.LinuxAttachProvider.attachVirtualMachine(LinuxAttach                                                                                        Provider.java:63)
        at com.sun.tools.attach.VirtualMachine.attach(VirtualMachine.java:213)
        ... 5 more
Exception in thread "main" java.lang.RuntimeException: java.lang.reflect.Invocat                                                                                        ionTargetException
        at com.singularity.ee.agent.appagent.AgentEntryPoint.main(AgentEntryPoin                                                                                        t.java:741)
Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.                                                                                        java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces                                                                                        sorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at com.singularity.ee.agent.appagent.AgentEntryPoint.main(AgentEntryPoin                                                                                        t.java:727)
Caused by: com.sun.tools.attach.AttachNotSupportedException: Unable to open sock                                                                                        et file: target process not responding or HotSpot VM not loaded
        at sun.tools.attach.LinuxVirtualMachine.<init>(LinuxVirtualMachine.java:                                                                                        106)
        at sun.tools.attach.LinuxAttachProvider.attachVirtualMachine(LinuxAttach                                                                                        Provider.java:63)
        at com.sun.tools.attach.VirtualMachine.attach(VirtualMachine.java:213)
        ... 5 more

 

Please give me some clue.

 

Regards,

Vishram


Viewing all articles
Browse latest Browse all 1667

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>