Testsuite: org.apache.catalina.core.TestStandardHostValve Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.359 sec ------------- Standard Error ----------------- 24-Jan-2024 23:46:02.880 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testErrorPageHandling400WithException] 24-Jan-2024 23:46:03.313 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 24-Jan-2024 23:46:03.321 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true], UDS [{4}]. 24-Jan-2024 23:46:03.322 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true] 24-Jan-2024 23:46:03.330 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 24-Jan-2024 23:46:04.423 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-apr-127.0.0.1-auto-1"] 24-Jan-2024 23:46:04.503 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Jan-2024 23:46:04.510 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 24-Jan-2024 23:46:04.751 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-apr-127.0.0.1-auto-1-33467"] 24-Jan-2024 23:46:05.066 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-apr-127.0.0.1-auto-1-33467"] 24-Jan-2024 23:46:05.068 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Jan-2024 23:46:05.091 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-apr-127.0.0.1-auto-1-33467"] 24-Jan-2024 23:46:05.103 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-apr-127.0.0.1-auto-1-33467"] 24-Jan-2024 23:46:05.114 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testInvalidErrorPage] 24-Jan-2024 23:46:05.130 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-apr-127.0.0.1-auto-2"] 24-Jan-2024 23:46:05.131 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIncompleteResponse] 24-Jan-2024 23:46:05.133 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 24-Jan-2024 23:46:05.133 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true], UDS [{4}]. 24-Jan-2024 23:46:05.133 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true] 24-Jan-2024 23:46:05.133 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 24-Jan-2024 23:46:05.134 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true], UDS [{4}]. 24-Jan-2024 23:46:05.134 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true] 24-Jan-2024 23:46:05.135 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 24-Jan-2024 23:46:05.136 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-apr-127.0.0.1-auto-3"] 24-Jan-2024 23:46:05.137 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Jan-2024 23:46:05.137 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 24-Jan-2024 23:46:05.149 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-apr-127.0.0.1-auto-3-38287"] 24-Jan-2024 23:46:05.171 SEVERE [http-apr-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 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:934) at org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2070) 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) 24-Jan-2024 23:46:05.180 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-apr-127.0.0.1-auto-3-38287"] 24-Jan-2024 23:46:05.181 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Jan-2024 23:46:05.190 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-apr-127.0.0.1-auto-3-38287"] 24-Jan-2024 23:46:05.194 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-apr-127.0.0.1-auto-3-38287"] 24-Jan-2024 23:46:05.203 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testErrorPageHandlingDefault] 24-Jan-2024 23:46:05.204 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 24-Jan-2024 23:46:05.205 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true], UDS [{4}]. 24-Jan-2024 23:46:05.205 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true] 24-Jan-2024 23:46:05.205 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 24-Jan-2024 23:46:05.209 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-apr-127.0.0.1-auto-4"] 24-Jan-2024 23:46:05.210 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Jan-2024 23:46:05.210 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 24-Jan-2024 23:46:05.248 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-apr-127.0.0.1-auto-4-32927"] 24-Jan-2024 23:46:05.379 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-apr-127.0.0.1-auto-4-32927"] 24-Jan-2024 23:46:05.380 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Jan-2024 23:46:05.386 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-apr-127.0.0.1-auto-4-32927"] 24-Jan-2024 23:46:05.393 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-apr-127.0.0.1-auto-4-32927"] 24-Jan-2024 23:46:05.400 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testErrorPageHandling400] 24-Jan-2024 23:46:05.404 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 24-Jan-2024 23:46:05.404 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true], UDS [{4}]. 24-Jan-2024 23:46:05.418 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true] 24-Jan-2024 23:46:05.418 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 24-Jan-2024 23:46:05.419 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-apr-127.0.0.1-auto-5"] 24-Jan-2024 23:46:05.420 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Jan-2024 23:46:05.420 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 24-Jan-2024 23:46:05.434 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-apr-127.0.0.1-auto-5-38959"] 24-Jan-2024 23:46:05.451 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-apr-127.0.0.1-auto-5-38959"] 24-Jan-2024 23:46:05.454 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Jan-2024 23:46:05.459 WARNING [localhost-startStop-1] 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.tomcat.jni.Socket.sendb(Native Method) app//org.apache.tomcat.util.net.AprEndpoint$AprSocketWrapper.doWriteInternal(AprEndpoint.java:2469) app//org.apache.tomcat.util.net.AprEndpoint$AprSocketWrapper.doWrite(AprEndpoint.java:2414) app//org.apache.tomcat.util.net.SocketWrapperBase.doWrite(SocketWrapperBase.java:775) app//org.apache.tomcat.util.net.SocketWrapperBase.flushBlocking(SocketWrapperBase.java:739) app//org.apache.tomcat.util.net.SocketWrapperBase.flush(SocketWrapperBase.java:723) app//org.apache.coyote.http11.Http11OutputBuffer$SocketOutputBuffer.end(Http11OutputBuffer.java:639) app//org.apache.coyote.http11.filters.IdentityOutputFilter.end(IdentityOutputFilter.java:166) app//org.apache.coyote.http11.Http11OutputBuffer.end(Http11OutputBuffer.java:268) app//org.apache.coyote.http11.Http11Processor.finishResponse(Http11Processor.java:1433) app//org.apache.coyote.AbstractProcessor.action(AbstractProcessor.java:390) app//org.apache.coyote.Response.action(Response.java:204) app//org.apache.catalina.connector.OutputBuffer.close(OutputBuffer.java:278) app//org.apache.catalina.connector.Response.finishResponse(Response.java:439) app//org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:240) app//org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:166) app//org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) app//org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) app//org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) app//org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:617) app//org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) app//org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:934) app//org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2070) app//org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) app//org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) app//org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) java.base@11.0.16.1/java.lang.Thread.run(Thread.java:829)] 24-Jan-2024 23:46:05.462 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-apr-127.0.0.1-auto-5-38959"] 24-Jan-2024 23:46:05.469 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-apr-127.0.0.1-auto-5-38959"] 24-Jan-2024 23:46:05.473 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testErrorPageHandling500] 24-Jan-2024 23:46:05.474 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 24-Jan-2024 23:46:05.474 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true], UDS [{4}]. 24-Jan-2024 23:46:05.474 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true] 24-Jan-2024 23:46:05.475 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 24-Jan-2024 23:46:05.478 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-apr-127.0.0.1-auto-6"] 24-Jan-2024 23:46:05.479 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Jan-2024 23:46:05.479 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 24-Jan-2024 23:46:05.523 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-apr-127.0.0.1-auto-6-40567"] 24-Jan-2024 23:46:05.671 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-apr-127.0.0.1-auto-6-40567"] 24-Jan-2024 23:46:05.674 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Jan-2024 23:46:05.678 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-apr-127.0.0.1-auto-6-40567"] 24-Jan-2024 23:46:05.686 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-apr-127.0.0.1-auto-6-40567"] 24-Jan-2024 23:46:05.691 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSRLAfterError] 24-Jan-2024 23:46:05.692 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 24-Jan-2024 23:46:05.693 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true], UDS [{4}]. 24-Jan-2024 23:46:05.693 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true] 24-Jan-2024 23:46:05.693 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 24-Jan-2024 23:46:05.695 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-apr-127.0.0.1-auto-7"] 24-Jan-2024 23:46:05.695 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Jan-2024 23:46:05.695 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 24-Jan-2024 23:46:05.765 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-apr-127.0.0.1-auto-7-36231"] 24-Jan-2024 23:46:05.908 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-apr-127.0.0.1-auto-7-36231"] 24-Jan-2024 23:46:05.911 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Jan-2024 23:46:05.915 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-apr-127.0.0.1-auto-7-36231"] 24-Jan-2024 23:46:05.924 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-apr-127.0.0.1-auto-7-36231"] ------------- ---------------- --------------- Testcase: testErrorPageHandling400WithException took 2.503 sec Testcase: testInvalidErrorPage took 0.016 sec Testcase: testIncompleteResponse took 0.071 sec Testcase: testErrorPageHandlingDefault took 0.197 sec Testcase: testErrorPageHandling400 took 0.073 sec Testcase: testErrorPageHandling500 took 0.217 sec Testcase: testSRLAfterError took 0.236 sec