New agent package looks like this:
+-- skywalking-agent +-- activations apm-toolkit-log4j-1.x-activation.jar apm-toolkit-log4j-2.x-activation.jar apm-toolkit-logback-1.x-activation.jar ... +-- config agent.config +-- plugins apm-dubbo-plugin.jar apm-feign-default-http-9.x.jar apm-httpClient-4.x-plugin.jar ..... skywalking-agent.jar
/plugins
folder. The plugin jar is active when it is in there. Remove the plugin jar, it disabled./logs
.tomcat/bin/catalina.sh
.CATALINA_OPTS="$CATALINA_OPTS -javaagent:/path/to/skywalking-agent/skywalking-agent.jar"; export CATALINA_OPTS
tomcat/bin/catalina.bat
.set "CATALINA_OPTS=-javaagent:/path/to/skywalking-agent/skywalking-agent.jar"
-javaagent
argument to command line in which you start your app. And make sure to add it before the -jar
argument. eg:java -javaagent:/path/to/skywalking-agent/skywalking-agent.jar -jar yourApp.jar