pinpoint-apm / pinpoint

APM, (Application Performance Management) tool for large-scale distributed systems.
https://pinpoint-apm.gitbook.io/
Apache License 2.0
13.29k stars 3.75k forks source link

There are no running agents error #10559

Open isos81 opened 6 months ago

isos81 commented 6 months ago

Hey all,

I have couple of questions:

  1. I'm trying to attach the agent to our Tomcat server. Here are the options we use:
  export AGENT_PATH="/home/isos/pinpoint-agent-2.5.3"
  CATALINA_OPTS="$CATALINA_OPTS -javaagent:$AGENT_PATH/pinpoint-bootstrap-2.5.3.jar"
  CATALINA_OPTS="$CATALINA_OPTS -Dpinpoint.agentId=10000"  
  CATALINA_OPTS="$CATALINA_OPTS -Dpinpoint.applicationName=debug-server"
  CATALINA_OPTS="$CATALINA_OPTS -Dprofiler.transport.grpc.collector.ip=10.10.10.10"
  CATALINA_OPTS="$CATALINA_OPTS -Dprofiler.collector.ip=10.10.10.10"

However, although I can see the debug-server in the Application List, when I click on the debug-server I get the There are no running agents error. How can I solve or trace this problem?

  1. I'm trying to run the Pinpoint Agent on Wildfly app server. However, when I add the -javaagent JVM parameter, the server doesn't even boot. There is also no log. Is there any support for Wildfly? How can I proceed? You can find details about this problem here: https://github.com/pinpoint-apm/pinpoint-docker/issues/183

Thanks, and regards.

jaehong-kim commented 6 months ago

@isos81 Please attach agent log.

isos81 commented 6 months ago

@jaehong-kim Thanks. I just realized my catalina.sh had errors. The agent runs fine after I fixed it. However, I can't run the agent on Wildfly (Product Version: 20.0.1.Final and Release Version: 12.0.3.Final). Do you know whether there is Wildfly support? How can I attach the agent to the Wildfly server?