{"action":"created","issue":{"url":"https://api.github.com/repos/jbachorik/btrace/issues/139","labels_url":"https://api.github.com/repos/jbachorik/btrace/issues/139/labels{/name}","comments_url":"https://api.github.com/repos/jbachorik/btrace/issues/139/comments","events_url":"https://api.github.com/repos/jbachorik/btrace/issues/139/events","html_url":"https://github.com/jbachorik/btrace/issues/139","id":94197649,"number":139,"title":"Unable to open socket file: target process not responding or HotSpot VM not loaded","user":{"login":"DerekYangYC","id":1662397,"avatar_url":"https://avatars.githubusercontent.com/u/1662397?v=3","gravatar_id":"","url":"https://api.github.com/users/DerekYangYC","html_url":"https://github.com/DerekYangYC","followers_url":"https://api.github.com/users/DerekYangYC/followers","following_url":"https://api.github.com/users/DerekYangYC/following{/other_user}","gists_url":"https://api.github.com/users/DerekYangYC/gists{/gist_id}","starred_url":"https://api.github.com/users/DerekYangYC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DerekYangYC/subscriptions","organizations_url":"https://api.github.com/users/DerekYangYC/orgs","repos_url":"https://api.github.com/users/DerekYangYC/repos","events_url":"https://api.github.com/users/DerekYangYC/events{/privacy}","received_events_url":"https://api.github.com/users/DerekYangYC/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jbachorik/btrace/labels/wontfix","name":"wontfix","color":"ffffff"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-10T02:27:10Z","updated_at":"2015-07-11T18:36:16Z","closed_at":"2015-07-11T18:36:16Z","body":"The start script: \r\n\r\n```bash\r\nexport JAVA_HOME=/home/abc/jdk-1.7.0_45\r\nexport PATH=$JAVA_HOME:$PATH\r\n/home/abc/btrace/bin/btrace 26515 /home/abc/btrace/samples/SocketTracker.java\r\n```\r\n\r\nAnd the output:\r\n```bash\r\n-bash-3.2$ ./start-btrace.sh\r\nUnable to open socket file: target process not responding or HotSpot VM not loaded\r\n```\r\n\r\nThe application I am running is Tomcat web app with customized temp folder"},"comment":{"url":"https://api.github.com/repos/jbachorik/btrace/issues/comments/120651720","html_url":"https://github.com/jbachorik/btrace/issues/139#issuecomment-120651720","issue_url":"https://api.github.com/repos/jbachorik/btrace/issues/139","id":120651720,"user":{"login":"jbachorik","id":738413,"avatar_url":"https://avatars.githubusercontent.com/u/738413?v=3","gravatar_id":"","url":"https://api.github.com/users/jbachorik","html_url":"https://github.com/jbachorik","followers_url":"https://api.github.com/users/jbachorik/followers","following_url":"https://api.github.com/users/jbachorik/following{/other_user}","gists_url":"https://api.github.com/users/jbachorik/gists{/gist_id}","starred_url":"https://api.github.com/users/jbachorik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbachorik/subscriptions","organizations_url":"https://api.github.com/users/jbachorik/orgs","repos_url":"https://api.github.com/users/jbachorik/repos","events_url":"https://api.github.com/users/jbachorik/events{/privacy}","received_events_url":"https://api.github.com/users/jbachorik/received_events","type":"User","site_admin":false},"created_at":"2015-07-11T18:36:16Z","updated_at":"2015-07-11T18:36:16Z","body":"The __btrace__ command has the following form:\r\n`btrace <args> <PID> <script path>`\r\n\r\nIn your start script you are using __26515__ for __PID__. The message you see indicates that this PID corresponds to a non-JVM process. You should use the actual PID of the JVM process you want BTrace to attach to.\r\n\r\nClosing for now. If you are sure you are providing a correct PID, please reopen."}}