<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Attaching the Java Agent to a Running JVM Process in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/Attaching-the-Java-Agent-to-a-Running-JVM-Process/m-p/725225#M4608</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Can we please re-run in new shell prompt with same user logged in who launched the jvm process that we are trying to attach with? and see how it goes.&lt;/P&gt;

&lt;P&gt;refer forum links:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://code.google.com/p/jvmtop/issues/detail?id=4" target="_blank" rel="nofollow noopener noreferrer"&gt;https://code.google.com/p/jvmtop/issues/detail?id=4&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://stackoverflow.com/questions/5769877/attachnotsupportedexception-due-to-missing-java-pid-file-in-attach-api" target="_blank" rel="nofollow noopener noreferrer"&gt;http://stackoverflow.com/questions/5769877/attachnotsupportedexception-due-to-missing-java-pid-file-in-attach-api&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 02 Oct 2015 14:46:25 GMT</pubDate>
    <dc:creator>Arun_Dasetty</dc:creator>
    <dc:date>2015-10-02T14:46:25Z</dc:date>
    <item>
      <title>Attaching the Java Agent to a Running JVM Process</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Attaching-the-Java-Agent-to-a-Running-JVM-Process/m-p/725222#M4605</link>
      <description>&lt;P&gt;[root@netflow lib]# java -Xbootclasspath/a:/usr/java/jdk1.8.0_60/lib/tools.jar -jar /opt/appdyn/javaagent.jar 11692&lt;BR /&gt;Attaching to VM [11692]&lt;BR /&gt;java.lang.reflect.InvocationTargetException&lt;BR /&gt; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;BR /&gt; at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)&lt;BR /&gt; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;BR /&gt; at java.lang.reflect.Method.invoke(Method.java:497)&lt;BR /&gt; at com.singularity.ee.agent.appagent.AgentEntryPoint.main(AgentEntryPoint.java:494)&lt;BR /&gt;Caused by: com.sun.tools.attach.AttachNotSupportedException: Unable to open socket file: target process not responding or HotSpot VM not loaded&lt;BR /&gt; at sun.tools.attach.LinuxVirtualMachine.&amp;lt;init&amp;gt;(LinuxVirtualMachine.java:106)&lt;BR /&gt; at sun.tools.attach.LinuxAttachProvider.attachVirtualMachine(LinuxAttachProvider.java:63)&lt;BR /&gt; at com.sun.tools.attach.VirtualMachine.attach(VirtualMachine.java:208)&lt;BR /&gt; ... 5 more&lt;/P&gt;</description>
      <pubDate>Fri, 02 Oct 2015 10:09:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Attaching-the-Java-Agent-to-a-Running-JVM-Process/m-p/725222#M4605</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2015-10-02T10:09:07Z</dc:date>
    </item>
    <item>
      <title>Re: Attaching the Java Agent to a Running JVM Process</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Attaching-the-Java-Agent-to-a-Running-JVM-Process/m-p/725223#M4606</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;any idea?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 02 Oct 2015 10:11:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Attaching-the-Java-Agent-to-a-Running-JVM-Process/m-p/725223#M4606</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2015-10-02T10:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: Attaching the Java Agent to a Running JVM Process</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Attaching-the-Java-Agent-to-a-Running-JVM-Process/m-p/725224#M4607</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Just saw this post and looks like I've also been getting a similar error.&lt;/P&gt;
&lt;P&gt;java -Xbootclasspath/a:/usr/lib/jvm/java-7-openjdk-amd64/lib/tools.jar -jar /home/avenida/appagent/javaagent.jar 1047&lt;BR /&gt;Attaching to VM [1047]&lt;BR /&gt;java.lang.reflect.InvocationTargetException&lt;BR /&gt; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;BR /&gt; at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)&lt;BR /&gt; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;BR /&gt; at java.lang.reflect.Method.invoke(Method.java:606)&lt;BR /&gt; at com.singularity.ee.agent.appagent.AgentEntryPoint.main(AgentEntryPoint.java:494)&lt;BR /&gt;Caused by: java.io.IOException: Operation not permitted&lt;BR /&gt; at sun.tools.attach.LinuxVirtualMachine.sendQuitTo(Native Method)&lt;BR /&gt; at sun.tools.attach.LinuxVirtualMachine.&amp;lt;init&amp;gt;(LinuxVirtualMachine.java:91)&lt;BR /&gt; at sun.tools.attach.LinuxAttachProvider.attachVirtualMachine(LinuxAttachProvider.java:63)&lt;BR /&gt; at com.sun.tools.attach.VirtualMachine.attach(VirtualMachine.java:213)&lt;BR /&gt; ... 5 more&lt;/P&gt;

&lt;P&gt;Could somebody help here?&lt;/P&gt;</description>
      <pubDate>Fri, 02 Oct 2015 14:01:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Attaching-the-Java-Agent-to-a-Running-JVM-Process/m-p/725224#M4607</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2015-10-02T14:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: Attaching the Java Agent to a Running JVM Process</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Attaching-the-Java-Agent-to-a-Running-JVM-Process/m-p/725225#M4608</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Can we please re-run in new shell prompt with same user logged in who launched the jvm process that we are trying to attach with? and see how it goes.&lt;/P&gt;

&lt;P&gt;refer forum links:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://code.google.com/p/jvmtop/issues/detail?id=4" target="_blank" rel="nofollow noopener noreferrer"&gt;https://code.google.com/p/jvmtop/issues/detail?id=4&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://stackoverflow.com/questions/5769877/attachnotsupportedexception-due-to-missing-java-pid-file-in-attach-api" target="_blank" rel="nofollow noopener noreferrer"&gt;http://stackoverflow.com/questions/5769877/attachnotsupportedexception-due-to-missing-java-pid-file-in-attach-api&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Oct 2015 14:46:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Attaching-the-Java-Agent-to-a-Running-JVM-Process/m-p/725225#M4608</guid>
      <dc:creator>Arun_Dasetty</dc:creator>
      <dc:date>2015-10-02T14:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: Attaching the Java Agent to a Running JVM Process</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Attaching-the-Java-Agent-to-a-Running-JVM-Process/m-p/725226#M4609</link>
      <description>&lt;P&gt;Hi Akumar,&lt;/P&gt;
&lt;P&gt;It works! Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Oct 2015 08:23:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Attaching-the-Java-Agent-to-a-Running-JVM-Process/m-p/725226#M4609</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2015-10-05T08:23:50Z</dc:date>
    </item>
  </channel>
</rss>

