Replies: 3 comments 3 replies
-
I can see tomcat 10 plugin is loaded. Do I need to remove tomcat 7x8x plugin from folder manually? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Don't ping me. I have no responsibility to Tomcat plugin. |
Beta Was this translation helpful? Give feedback.
3 replies
-
Hi @xzyJavaX : |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi @wu-sheng :
I am using skywalking 8.16 agent. And I have spring cloud service which started with tomcat embed 10 (tomcat-embed-core-10.1.16.jar).
I can see tomcat-10x-plugin is loaded, but I get agent log like below. It seems tomcat 7x8x take effect.
ERROR 2024-07-08 08:39:43.337 http-nio-8080-exec-10 InstMethodsInter : class[class org.apache.catalina.core.StandardHostValve] after method[invoke] intercept failure
java.lang.ClassCastException: class org.apache.catalina.connector.Response cannot be cast to class javax.servlet.http.HttpServletResponse (org.apache.catalina.connector.Response and java
at org.apache.skywalking.apm.plugin.tomcat78x.TomcatInvokeInterceptor.afterMethod(TomcatInvokeInterceptor.java:93)
at org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.InstMethodsInter.intercept(InstMethodsInter.java:97)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:735)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:340)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1744)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)
at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.base/java.lang.Thread.run(Thread.java:840)
Beta Was this translation helpful? Give feedback.
All reactions