Quantcast
Viewing all articles
Browse latest Browse all 1667

Re: Attaching the Java Agent to a Running JVM Process

Hi,

Just saw this post and looks like I've also been getting a similar error.

java -Xbootclasspath/a:/usr/lib/jvm/java-7-openjdk-amd64/lib/tools.jar -jar /home/avenida/appagent/javaagent.jar 1047
Attaching to VM [1047]
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.singularity.ee.agent.appagent.AgentEntryPoint.main(AgentEntryPoint.java:494)
Caused by: java.io.IOException: Operation not permitted
at sun.tools.attach.LinuxVirtualMachine.sendQuitTo(Native Method)
at sun.tools.attach.LinuxVirtualMachine.<init>(LinuxVirtualMachine.java:91)
at sun.tools.attach.LinuxAttachProvider.attachVirtualMachine(LinuxAttachProvider.java:63)
at com.sun.tools.attach.VirtualMachine.attach(VirtualMachine.java:213)
... 5 more

 

Could somebody help here?


Viewing all articles
Browse latest Browse all 1667

Trending Articles