Testsuite: org.apache.catalina.core.TestStandardHostValve Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.039 sec ------------- Standard Error ----------------- 05-Nov-2024 18:16:24.197 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testErrorPageHandling400WithException] 05-Nov-2024 18:16:25.346 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 05-Nov-2024 18:16:25.411 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Nov-2024 18:16:25.412 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 05-Nov-2024 18:16:25.758 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-41691"] 05-Nov-2024 18:16:26.165 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-41691"] 05-Nov-2024 18:16:26.167 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Nov-2024 18:16:26.192 WARNING [main] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] is still processing a request that has yet to finish. This is very likely to create a memory leak. You can control the time allowed for requests to finish by using the unloadDelay attribute of the standard Context implementation. Stack trace of request processing thread:[ app//org.apache.catalina.connector.Response.getCoyoteResponse(Response.java:114) app//org.apache.catalina.connector.Response.getStatus(Response.java:814) app//org.apache.catalina.connector.Request.finishRequest(Request.java:742) app//org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:372) app//org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:397) app//org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) app//org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:905) app//org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1741) app//org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) app//org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1190) app//org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) app//org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) java.base@17.0.12/java.lang.Thread.run(Thread.java:840)] 05-Nov-2024 18:16:26.205 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-41691"] 05-Nov-2024 18:16:26.217 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-41691"] 05-Nov-2024 18:16:26.236 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testInvalidErrorPage] 05-Nov-2024 18:16:26.237 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 05-Nov-2024 18:16:26.238 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIncompleteResponse] 05-Nov-2024 18:16:26.245 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 05-Nov-2024 18:16:26.246 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Nov-2024 18:16:26.246 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 05-Nov-2024 18:16:26.283 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-41069"] 05-Nov-2024 18:16:26.421 SEVERE [http-nio-127.0.0.1-auto-3-exec-1] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [error] in context with path [] threw exception java.io.IOException at org.apache.catalina.core.TestStandardHostValve$ExceptionServlet.doGet(TestStandardHostValve.java:243) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:564) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:195) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) 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:115) 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:344) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:397) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:905) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1741) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1190) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:840) 05-Nov-2024 18:16:26.442 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-41069"] 05-Nov-2024 18:16:26.447 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Nov-2024 18:16:26.450 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-41069"] 05-Nov-2024 18:16:26.458 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-41069"] 05-Nov-2024 18:16:26.461 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testErrorPageHandlingDefault] 05-Nov-2024 18:16:26.469 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 05-Nov-2024 18:16:26.472 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Nov-2024 18:16:26.473 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 05-Nov-2024 18:16:26.490 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-39643"] 05-Nov-2024 18:16:26.558 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-39643"] 05-Nov-2024 18:16:26.561 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Nov-2024 18:16:26.563 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-39643"] 05-Nov-2024 18:16:26.567 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-39643"] 05-Nov-2024 18:16:26.569 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testErrorPageHandling400] 05-Nov-2024 18:16:26.580 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 05-Nov-2024 18:16:26.580 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Nov-2024 18:16:26.581 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 05-Nov-2024 18:16:26.591 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-38121"] 05-Nov-2024 18:16:26.666 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-38121"] 05-Nov-2024 18:16:26.668 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Nov-2024 18:16:26.675 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-38121"] 05-Nov-2024 18:16:26.680 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-38121"] 05-Nov-2024 18:16:26.683 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testErrorPageHandling500] 05-Nov-2024 18:16:26.685 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 05-Nov-2024 18:16:26.686 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Nov-2024 18:16:26.686 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 05-Nov-2024 18:16:26.699 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-37981"] 05-Nov-2024 18:16:26.809 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-37981"] 05-Nov-2024 18:16:26.812 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Nov-2024 18:16:26.815 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-37981"] 05-Nov-2024 18:16:26.817 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-37981"] 05-Nov-2024 18:16:26.819 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSRLAfterError] 05-Nov-2024 18:16:26.822 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 05-Nov-2024 18:16:26.822 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Nov-2024 18:16:26.823 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 05-Nov-2024 18:16:26.839 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-37443"] 05-Nov-2024 18:16:26.953 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-37443"] 05-Nov-2024 18:16:26.953 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Nov-2024 18:16:26.956 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-37443"] 05-Nov-2024 18:16:26.960 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-37443"] ------------- ---------------- --------------- Testcase: testErrorPageHandling400WithException took 2.228 sec Testcase: testInvalidErrorPage took 0.003 sec Testcase: testIncompleteResponse took 0.222 sec Testcase: testErrorPageHandlingDefault took 0.109 sec Testcase: testErrorPageHandling400 took 0.113 sec Testcase: testErrorPageHandling500 took 0.135 sec Testcase: testSRLAfterError took 0.143 sec