Testsuite: org.apache.catalina.core.TestStandardHostValve Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.972 sec ------------- Standard Error ----------------- 20-Nov-2024 19:20:46.389 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testErrorPageHandling400WithException] 20-Nov-2024 19:20:47.643 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 20-Nov-2024 19:20:47.823 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Nov-2024 19:20:47.823 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 20-Nov-2024 19:20:48.075 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-45839"] 20-Nov-2024 19:20:48.271 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-45839"] 20-Nov-2024 19:20:48.274 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Nov-2024 19:20:48.298 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-45839"] 20-Nov-2024 19:20:48.303 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-45839"] 20-Nov-2024 19:20:48.323 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testInvalidErrorPage] 20-Nov-2024 19:20:48.326 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 20-Nov-2024 19:20:48.328 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIncompleteResponse] 20-Nov-2024 19:20:48.341 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 20-Nov-2024 19:20:48.448 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Nov-2024 19:20:48.448 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 20-Nov-2024 19:20:48.473 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-39639"] 20-Nov-2024 19:20:48.497 SEVERE [http-nio2-127.0.0.1-auto-3-exec-3] 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:279) 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.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1685) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1266) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:634) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:610) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:129) at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:221) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) 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) 20-Nov-2024 19:20:48.501 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-39639"] 20-Nov-2024 19:20:48.502 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Nov-2024 19:20:48.505 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-39639"] 20-Nov-2024 19:20:48.505 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-39639"] 20-Nov-2024 19:20:48.509 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testErrorPageHandlingDefault] 20-Nov-2024 19:20:48.511 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 20-Nov-2024 19:20:48.653 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Nov-2024 19:20:48.654 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 20-Nov-2024 19:20:48.687 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44373"] 20-Nov-2024 19:20:48.702 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44373"] 20-Nov-2024 19:20:48.705 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Nov-2024 19:20:48.708 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44373"] 20-Nov-2024 19:20:48.709 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44373"] 20-Nov-2024 19:20:48.712 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testErrorPageHandling400] 20-Nov-2024 19:20:48.714 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 20-Nov-2024 19:20:48.755 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Nov-2024 19:20:48.755 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 20-Nov-2024 19:20:48.762 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-35357"] 20-Nov-2024 19:20:48.766 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-35357"] 20-Nov-2024 19:20:48.769 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Nov-2024 19:20:48.771 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-35357"] 20-Nov-2024 19:20:48.772 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-35357"] 20-Nov-2024 19:20:48.781 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testErrorPageHandling500] 20-Nov-2024 19:20:48.783 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 20-Nov-2024 19:20:48.798 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Nov-2024 19:20:48.798 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 20-Nov-2024 19:20:48.807 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45207"] 20-Nov-2024 19:20:48.820 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45207"] 20-Nov-2024 19:20:48.823 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Nov-2024 19:20:48.826 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45207"] 20-Nov-2024 19:20:48.827 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45207"] 20-Nov-2024 19:20:48.830 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSRLAfterError] 20-Nov-2024 19:20:48.832 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 20-Nov-2024 19:20:48.875 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Nov-2024 19:20:48.875 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 20-Nov-2024 19:20:48.894 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-43293"] 20-Nov-2024 19:20:48.917 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-43293"] 20-Nov-2024 19:20:48.919 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Nov-2024 19:20:48.923 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-43293"] 20-Nov-2024 19:20:48.924 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-43293"] 20-Nov-2024 19:20:48.927 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testErrorPageHandlingException] 20-Nov-2024 19:20:48.929 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 20-Nov-2024 19:20:49.010 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Nov-2024 19:20:49.011 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 20-Nov-2024 19:20:49.016 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-43123"] 20-Nov-2024 19:20:49.024 SEVERE [http-nio2-127.0.0.1-auto-8-exec-2] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [error] in context with path [] threw exception java.io.IOException at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481) at org.apache.catalina.core.TestStandardHostValve$ErrorServlet.doGet(TestStandardHostValve.java:252) 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.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1685) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1266) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:330) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:470) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:406) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:129) at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:221) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) 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) 20-Nov-2024 19:20:49.027 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-43123"] 20-Nov-2024 19:20:49.030 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Nov-2024 19:20:49.033 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-43123"] 20-Nov-2024 19:20:49.034 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-43123"] ------------- ---------------- --------------- Testcase: testErrorPageHandling400WithException took 2.119 sec Testcase: testInvalidErrorPage took 0.014 sec Testcase: testIncompleteResponse took 0.181 sec Testcase: testErrorPageHandlingDefault took 0.204 sec Testcase: testErrorPageHandling400 took 0.068 sec Testcase: testErrorPageHandling500 took 0.05 sec Testcase: testSRLAfterError took 0.096 sec Testcase: testErrorPageHandlingException took 0.11 sec