使用geronimo run启动时,将tingyun-agent-java.jar添加到 JAVA_OPTS变量里:
JAVA_OPTS
export JAVA_OPTS="$JAVA_OPTS -javaagent:/${路径}/tingyun-agent-java.jar" && geronimo run