Testsuite: org.apache.catalina.core.TestAsyncContextImplDispatch Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.97 sec ------------- Standard Error ----------------- 16-Sep-2023 10:47:40.885 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSendError[0: tgt-sup [false], dis-sup [false], dis-st [false]]] 16-Sep-2023 10:47:41.828 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 16-Sep-2023 10:47:41.867 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Sep-2023 10:47:41.867 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 16-Sep-2023 10:47:42.040 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-39929"] 16-Sep-2023 10:47:42.174 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-39929"] 16-Sep-2023 10:47:42.177 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Sep-2023 10:47:42.194 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-39929"] 16-Sep-2023 10:47:42.202 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-39929"] 16-Sep-2023 10:47:42.217 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSendError[1: tgt-sup [false], dis-sup [false], dis-st [true]]] 16-Sep-2023 10:47:42.223 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 16-Sep-2023 10:47:42.224 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Sep-2023 10:47:42.224 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 16-Sep-2023 10:47:42.237 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-44047"] 16-Sep-2023 10:47:42.247 WARNING [http-nio-127.0.0.1-auto-2-exec-1] org.apache.catalina.connector.Request.startAsync Unable to start async because the following classes in the processing chain do not support async [org.apache.catalina.core.TestAsyncContextImplDispatch$TesterServlet] java.lang.IllegalStateException: A filter or servlet of the current chain does not support asynchronous operations. at org.apache.catalina.connector.Request.startAsync(Request.java:1677) at org.apache.catalina.connector.Request.startAsync(Request.java:1671) at org.apache.catalina.connector.RequestFacade.startAsync(RequestFacade.java:728) at javax.servlet.ServletRequestWrapper.startAsync(ServletRequestWrapper.java:353) at org.apache.catalina.core.TestAsyncContextImplDispatch$TesterDispatchServlet.doGet(TestAsyncContextImplDispatch.java:142) at javax.servlet.http.HttpServlet.service(HttpServlet.java:489) at javax.servlet.http.HttpServlet.service(HttpServlet.java:583) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:212) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:156) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:662) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:428) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:360) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:297) at org.apache.catalina.core.TestAsyncContextImplDispatch$TesterServlet.doGet(TestAsyncContextImplDispatch.java:121) at javax.servlet.http.HttpServlet.service(HttpServlet.java:489) at javax.servlet.http.HttpServlet.service(HttpServlet.java:583) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:212) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:156) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:168) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:617) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:932) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1694) 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:829) 16-Sep-2023 10:47:42.249 SEVERE [http-nio-127.0.0.1-auto-2-exec-1] org.apache.catalina.core.ApplicationDispatcher.invoke Servlet.service() for servlet [dispatch] threw exception java.lang.IllegalStateException: A filter or servlet of the current chain does not support asynchronous operations. at org.apache.catalina.connector.Request.startAsync(Request.java:1677) at org.apache.catalina.connector.Request.startAsync(Request.java:1671) at org.apache.catalina.connector.RequestFacade.startAsync(RequestFacade.java:728) at javax.servlet.ServletRequestWrapper.startAsync(ServletRequestWrapper.java:353) at org.apache.catalina.core.TestAsyncContextImplDispatch$TesterDispatchServlet.doGet(TestAsyncContextImplDispatch.java:142) at javax.servlet.http.HttpServlet.service(HttpServlet.java:489) at javax.servlet.http.HttpServlet.service(HttpServlet.java:583) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:212) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:156) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:662) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:428) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:360) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:297) at org.apache.catalina.core.TestAsyncContextImplDispatch$TesterServlet.doGet(TestAsyncContextImplDispatch.java:121) at javax.servlet.http.HttpServlet.service(HttpServlet.java:489) at javax.servlet.http.HttpServlet.service(HttpServlet.java:583) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:212) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:156) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:168) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:617) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:932) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1694) 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:829) 16-Sep-2023 10:47:42.250 SEVERE [http-nio-127.0.0.1-auto-2-exec-1] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [target] in context with path [] threw exception java.lang.IllegalStateException: A filter or servlet of the current chain does not support asynchronous operations. at org.apache.catalina.connector.Request.startAsync(Request.java:1677) at org.apache.catalina.connector.Request.startAsync(Request.java:1671) at org.apache.catalina.connector.RequestFacade.startAsync(RequestFacade.java:728) at javax.servlet.ServletRequestWrapper.startAsync(ServletRequestWrapper.java:353) at org.apache.catalina.core.TestAsyncContextImplDispatch$TesterDispatchServlet.doGet(TestAsyncContextImplDispatch.java:142) at javax.servlet.http.HttpServlet.service(HttpServlet.java:489) at javax.servlet.http.HttpServlet.service(HttpServlet.java:583) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:212) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:156) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:662) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:428) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:360) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:297) at org.apache.catalina.core.TestAsyncContextImplDispatch$TesterServlet.doGet(TestAsyncContextImplDispatch.java:121) at javax.servlet.http.HttpServlet.service(HttpServlet.java:489) at javax.servlet.http.HttpServlet.service(HttpServlet.java:583) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:212) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:156) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:168) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:617) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:932) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1694) 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:829) 16-Sep-2023 10:47:42.259 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-44047"] 16-Sep-2023 10:47:42.261 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Sep-2023 10:47:42.270 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-44047"] 16-Sep-2023 10:47:42.288 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-44047"] 16-Sep-2023 10:47:42.291 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSendError[2: tgt-sup [false], dis-sup [true], dis-st [false]]] 16-Sep-2023 10:47:42.292 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 16-Sep-2023 10:47:42.292 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Sep-2023 10:47:42.293 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 16-Sep-2023 10:47:42.308 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-44581"] 16-Sep-2023 10:47:42.322 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-44581"] 16-Sep-2023 10:47:42.323 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Sep-2023 10:47:42.329 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-44581"] 16-Sep-2023 10:47:42.333 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-44581"] 16-Sep-2023 10:47:42.336 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSendError[3: tgt-sup [false], dis-sup [true], dis-st [true]]] 16-Sep-2023 10:47:42.338 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 16-Sep-2023 10:47:42.338 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Sep-2023 10:47:42.338 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 16-Sep-2023 10:47:42.352 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-43913"] 16-Sep-2023 10:47:42.368 WARNING [http-nio-127.0.0.1-auto-4-exec-1] org.apache.catalina.connector.Request.startAsync Unable to start async because the following classes in the processing chain do not support async [org.apache.catalina.core.TestAsyncContextImplDispatch$TesterServlet] java.lang.IllegalStateException: A filter or servlet of the current chain does not support asynchronous operations. at org.apache.catalina.connector.Request.startAsync(Request.java:1677) at org.apache.catalina.connector.Request.startAsync(Request.java:1671) at org.apache.catalina.connector.RequestFacade.startAsync(RequestFacade.java:728) at javax.servlet.ServletRequestWrapper.startAsync(ServletRequestWrapper.java:353) at org.apache.catalina.core.TestAsyncContextImplDispatch$TesterDispatchServlet.doGet(TestAsyncContextImplDispatch.java:142) at javax.servlet.http.HttpServlet.service(HttpServlet.java:489) at javax.servlet.http.HttpServlet.service(HttpServlet.java:583) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:212) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:156) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:662) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:428) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:360) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:297) at org.apache.catalina.core.TestAsyncContextImplDispatch$TesterServlet.doGet(TestAsyncContextImplDispatch.java:121) at javax.servlet.http.HttpServlet.service(HttpServlet.java:489) at javax.servlet.http.HttpServlet.service(HttpServlet.java:583) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:212) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:156) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:168) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:617) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:932) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1694) 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:829) 16-Sep-2023 10:47:42.368 SEVERE [http-nio-127.0.0.1-auto-4-exec-1] org.apache.catalina.core.ApplicationDispatcher.invoke Servlet.service() for servlet [dispatch] threw exception java.lang.IllegalStateException: A filter or servlet of the current chain does not support asynchronous operations. at org.apache.catalina.connector.Request.startAsync(Request.java:1677) at org.apache.catalina.connector.Request.startAsync(Request.java:1671) at org.apache.catalina.connector.RequestFacade.startAsync(RequestFacade.java:728) at javax.servlet.ServletRequestWrapper.startAsync(ServletRequestWrapper.java:353) at org.apache.catalina.core.TestAsyncContextImplDispatch$TesterDispatchServlet.doGet(TestAsyncContextImplDispatch.java:142) at javax.servlet.http.HttpServlet.service(HttpServlet.java:489) at javax.servlet.http.HttpServlet.service(HttpServlet.java:583) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:212) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:156) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:662) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:428) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:360) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:297) at org.apache.catalina.core.TestAsyncContextImplDispatch$TesterServlet.doGet(TestAsyncContextImplDispatch.java:121) at javax.servlet.http.HttpServlet.service(HttpServlet.java:489) at javax.servlet.http.HttpServlet.service(HttpServlet.java:583) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:212) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:156) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:168) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:617) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:932) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1694) 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:829) 16-Sep-2023 10:47:42.370 SEVERE [http-nio-127.0.0.1-auto-4-exec-1] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [target] in context with path [] threw exception java.lang.IllegalStateException: A filter or servlet of the current chain does not support asynchronous operations. at org.apache.catalina.connector.Request.startAsync(Request.java:1677) at org.apache.catalina.connector.Request.startAsync(Request.java:1671) at org.apache.catalina.connector.RequestFacade.startAsync(RequestFacade.java:728) at javax.servlet.ServletRequestWrapper.startAsync(ServletRequestWrapper.java:353) at org.apache.catalina.core.TestAsyncContextImplDispatch$TesterDispatchServlet.doGet(TestAsyncContextImplDispatch.java:142) at javax.servlet.http.HttpServlet.service(HttpServlet.java:489) at javax.servlet.http.HttpServlet.service(HttpServlet.java:583) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:212) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:156) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:662) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:428) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:360) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:297) at org.apache.catalina.core.TestAsyncContextImplDispatch$TesterServlet.doGet(TestAsyncContextImplDispatch.java:121) at javax.servlet.http.HttpServlet.service(HttpServlet.java:489) at javax.servlet.http.HttpServlet.service(HttpServlet.java:583) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:212) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:156) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:168) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:617) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:932) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1694) 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:829) 16-Sep-2023 10:47:42.378 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-43913"] 16-Sep-2023 10:47:42.384 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Sep-2023 10:47:42.388 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-43913"] 16-Sep-2023 10:47:42.404 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-43913"] 16-Sep-2023 10:47:42.409 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSendError[4: tgt-sup [true], dis-sup [false], dis-st [false]]] 16-Sep-2023 10:47:42.411 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 16-Sep-2023 10:47:42.412 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Sep-2023 10:47:42.412 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 16-Sep-2023 10:47:42.439 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-43395"] 16-Sep-2023 10:47:42.468 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-43395"] 16-Sep-2023 10:47:42.473 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Sep-2023 10:47:42.477 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-43395"] 16-Sep-2023 10:47:42.479 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-43395"] 16-Sep-2023 10:47:42.482 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSendError[5: tgt-sup [true], dis-sup [false], dis-st [true]]] 16-Sep-2023 10:47:42.484 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 16-Sep-2023 10:47:42.485 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Sep-2023 10:47:42.485 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 16-Sep-2023 10:47:42.493 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-35753"] 16-Sep-2023 10:47:42.513 WARNING [http-nio-127.0.0.1-auto-6-exec-1] org.apache.catalina.connector.Request.startAsync Unable to start async because the following classes in the processing chain do not support async [] java.lang.IllegalStateException: A filter or servlet of the current chain does not support asynchronous operations. at org.apache.catalina.connector.Request.startAsync(Request.java:1677) at org.apache.catalina.connector.Request.startAsync(Request.java:1671) at org.apache.catalina.connector.RequestFacade.startAsync(RequestFacade.java:728) at javax.servlet.ServletRequestWrapper.startAsync(ServletRequestWrapper.java:353) at org.apache.catalina.core.TestAsyncContextImplDispatch$TesterDispatchServlet.doGet(TestAsyncContextImplDispatch.java:142) at javax.servlet.http.HttpServlet.service(HttpServlet.java:489) at javax.servlet.http.HttpServlet.service(HttpServlet.java:583) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:212) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:156) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:662) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:428) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:360) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:297) at org.apache.catalina.core.TestAsyncContextImplDispatch$TesterServlet.doGet(TestAsyncContextImplDispatch.java:121) at javax.servlet.http.HttpServlet.service(HttpServlet.java:489) at javax.servlet.http.HttpServlet.service(HttpServlet.java:583) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:212) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:156) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:168) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:617) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:932) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1694) 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:829) 16-Sep-2023 10:47:42.514 SEVERE [http-nio-127.0.0.1-auto-6-exec-1] org.apache.catalina.core.ApplicationDispatcher.invoke Servlet.service() for servlet [dispatch] threw exception java.lang.IllegalStateException: A filter or servlet of the current chain does not support asynchronous operations. at org.apache.catalina.connector.Request.startAsync(Request.java:1677) at org.apache.catalina.connector.Request.startAsync(Request.java:1671) at org.apache.catalina.connector.RequestFacade.startAsync(RequestFacade.java:728) at javax.servlet.ServletRequestWrapper.startAsync(ServletRequestWrapper.java:353) at org.apache.catalina.core.TestAsyncContextImplDispatch$TesterDispatchServlet.doGet(TestAsyncContextImplDispatch.java:142) at javax.servlet.http.HttpServlet.service(HttpServlet.java:489) at javax.servlet.http.HttpServlet.service(HttpServlet.java:583) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:212) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:156) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:662) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:428) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:360) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:297) at org.apache.catalina.core.TestAsyncContextImplDispatch$TesterServlet.doGet(TestAsyncContextImplDispatch.java:121) at javax.servlet.http.HttpServlet.service(HttpServlet.java:489) at javax.servlet.http.HttpServlet.service(HttpServlet.java:583) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:212) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:156) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:168) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:617) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:932) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1694) 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:829) 16-Sep-2023 10:47:42.515 SEVERE [http-nio-127.0.0.1-auto-6-exec-1] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [target] in context with path [] threw exception java.lang.IllegalStateException: A filter or servlet of the current chain does not support asynchronous operations. at org.apache.catalina.connector.Request.startAsync(Request.java:1677) at org.apache.catalina.connector.Request.startAsync(Request.java:1671) at org.apache.catalina.connector.RequestFacade.startAsync(RequestFacade.java:728) at javax.servlet.ServletRequestWrapper.startAsync(ServletRequestWrapper.java:353) at org.apache.catalina.core.TestAsyncContextImplDispatch$TesterDispatchServlet.doGet(TestAsyncContextImplDispatch.java:142) at javax.servlet.http.HttpServlet.service(HttpServlet.java:489) at javax.servlet.http.HttpServlet.service(HttpServlet.java:583) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:212) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:156) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:662) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:428) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:360) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:297) at org.apache.catalina.core.TestAsyncContextImplDispatch$TesterServlet.doGet(TestAsyncContextImplDispatch.java:121) at javax.servlet.http.HttpServlet.service(HttpServlet.java:489) at javax.servlet.http.HttpServlet.service(HttpServlet.java:583) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:212) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:156) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:168) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:617) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:932) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1694) 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:829) 16-Sep-2023 10:47:42.517 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-35753"] 16-Sep-2023 10:47:42.520 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Sep-2023 10:47:42.523 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-35753"] 16-Sep-2023 10:47:42.545 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-35753"] 16-Sep-2023 10:47:42.548 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSendError[6: tgt-sup [true], dis-sup [true], dis-st [false]]] 16-Sep-2023 10:47:42.551 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 16-Sep-2023 10:47:42.552 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Sep-2023 10:47:42.552 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 16-Sep-2023 10:47:42.588 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-43883"] 16-Sep-2023 10:47:42.601 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-43883"] 16-Sep-2023 10:47:42.607 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Sep-2023 10:47:42.613 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-43883"] 16-Sep-2023 10:47:42.617 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-43883"] 16-Sep-2023 10:47:42.623 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSendError[7: tgt-sup [true], dis-sup [true], dis-st [true]]] 16-Sep-2023 10:47:42.625 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 16-Sep-2023 10:47:42.625 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Sep-2023 10:47:42.625 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 16-Sep-2023 10:47:42.655 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-33369"] 16-Sep-2023 10:47:42.673 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-33369"] 16-Sep-2023 10:47:42.675 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Sep-2023 10:47:42.678 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-33369"] 16-Sep-2023 10:47:42.681 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-33369"] ------------- ---------------- --------------- Testcase: testSendError[0: tgt-sup [false], dis-sup [false], dis-st [false]] took 1.471 sec Testcase: testSendError[1: tgt-sup [false], dis-sup [false], dis-st [true]] took 0.074 sec Testcase: testSendError[2: tgt-sup [false], dis-sup [true], dis-st [false]] took 0.045 sec Testcase: testSendError[3: tgt-sup [false], dis-sup [true], dis-st [true]] took 0.071 sec Testcase: testSendError[4: tgt-sup [true], dis-sup [false], dis-st [false]] took 0.074 sec Testcase: testSendError[5: tgt-sup [true], dis-sup [false], dis-st [true]] took 0.066 sec Testcase: testSendError[6: tgt-sup [true], dis-sup [true], dis-st [false]] took 0.075 sec Testcase: testSendError[7: tgt-sup [true], dis-sup [true], dis-st [true]] took 0.062 sec