You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
./btrace -v 21752 ../../WebServiceTracker.java
DEBUG: assuming default port 2020
DEBUG: assuming default classpath '.'
DEBUG: compiling ../../WebServiceTracker.java
DEBUG: compiled ../../WebServiceTracker.java
DEBUG: attaching to 21752
Unable to open socket file: target process not responding or HotSpot VM not loaded
Java Version:-
java -version
openjdk version "1.8.0_131"
OpenJDK Runtime Environment (build 1.8.0_131-b12)
OpenJDK 64-Bit Server VM (build 25.131-b12, mixed mode)
Please guide what am i doing wrong.
The text was updated successfully, but these errors were encountered:
AnubhavGupta95
changed the title
Btrace unable to trace java application
Unable to open socket file: target process not responding or HotSpot VM not loaded
Aug 16, 2019
Sounds like the btrace agent wasn't injected properly. In your target application, do you see any debug messages coming to stdout?
Another thing to check is whether the btrace agent socket can be accessed by the user running the ./btrace -v 21752 ... script, i.e. if the target application runs as the same user?
Here are the logs:-
./btrace -v 21752 ../../WebServiceTracker.java
DEBUG: assuming default port 2020
DEBUG: assuming default classpath '.'
DEBUG: compiling ../../WebServiceTracker.java
DEBUG: compiled ../../WebServiceTracker.java
DEBUG: attaching to 21752
Unable to open socket file: target process not responding or HotSpot VM not loaded
Java Version:-
java -version
openjdk version "1.8.0_131"
OpenJDK Runtime Environment (build 1.8.0_131-b12)
OpenJDK 64-Bit Server VM (build 25.131-b12, mixed mode)
Please guide what am i doing wrong.
The text was updated successfully, but these errors were encountered: