0

When I use BTrace, I got this problem. But I don't know how to fix it. The Linux command is:

btrace 16625 LiveServiceMethods.class

The problem is:

Agent JAR not found or no Agent-Class attribute.

Termininja
  • 6,620
  • 12
  • 48
  • 49
liu shuai
  • 53
  • 1
  • 1
  • 6
  • Looks like the BTrace installation is corrupted. What is the output of 'btrace --version' ? Also which JDK is running your target application? – JB- Aug 13 '16 at 09:45
  • BTrace version : 1.3.8.1, JDK version: 1.7.0_60(64bit) – liu shuai Aug 15 '16 at 01:50
  • the debug log is 'DEBUG: server not yet available; retrying ...', how to set? – liu shuai Aug 15 '16 at 02:44
  • netty server port is 7784 and i use this command like 'btrace -v -p 7784 30040 LiveServiceMethods.class ' – liu shuai Aug 15 '16 at 03:36
  • Are you trying to run the BTrace on the same port as netty? You really should not. – JB- Aug 15 '16 at 19:39
  • the port is 2020 or the application port. i don't know. it couldn't connect to the server, the problem is 'DEBUG: server not yet available; retrying ..' Can you help me? it confuse me this days. – liu shuai Aug 16 '16 at 09:16

0 Answers0