Testsuite: org.apache.catalina.core.TestStandardHostValve Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.53 sec ------------- Standard Error ----------------- 20-Nov-2024 16:17:22.705 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testErrorPageHandling400WithException] 20-Nov-2024 16:17:23.781 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 20-Nov-2024 16:17:23.807 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Nov-2024 16:17:23.808 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 20-Nov-2024 16:17:23.938 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-40965"] 20-Nov-2024 16:17:24.223 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-40965"] 20-Nov-2024 16:17:24.229 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Nov-2024 16:17:24.284 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-40965"] 20-Nov-2024 16:17:24.292 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-40965"] 20-Nov-2024 16:17:24.309 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testInvalidErrorPage] 20-Nov-2024 16:17:24.313 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 20-Nov-2024 16:17:24.323 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIncompleteResponse] 20-Nov-2024 16:17:24.330 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 20-Nov-2024 16:17:24.331 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Nov-2024 16:17:24.331 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 20-Nov-2024 16:17:24.343 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-33161"] 20-Nov-2024 16:17:24.413 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:279) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:619) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:716) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:130) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:79) 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:342) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:395) 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:1746) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 20-Nov-2024 16:17:24.417 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-33161"] 20-Nov-2024 16:17:24.418 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Nov-2024 16:17:24.421 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-33161"] 20-Nov-2024 16:17:24.424 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-33161"] 20-Nov-2024 16:17:24.426 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testErrorPageHandlingDefault] 20-Nov-2024 16:17:24.428 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 20-Nov-2024 16:17:24.429 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Nov-2024 16:17:24.429 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 20-Nov-2024 16:17:24.440 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-37345"] 20-Nov-2024 16:17:24.504 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-37345"] 20-Nov-2024 16:17:24.514 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Nov-2024 16:17:24.517 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-37345"] 20-Nov-2024 16:17:24.521 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-37345"] 20-Nov-2024 16:17:24.525 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testErrorPageHandling400] 20-Nov-2024 16:17:24.535 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 20-Nov-2024 16:17:24.551 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Nov-2024 16:17:24.552 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 20-Nov-2024 16:17:24.563 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-43939"] 20-Nov-2024 16:17:24.611 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-43939"] 20-Nov-2024 16:17:24.613 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Nov-2024 16:17:24.615 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-43939"] 20-Nov-2024 16:17:24.620 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-43939"] 20-Nov-2024 16:17:24.627 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testErrorPageHandling500] 20-Nov-2024 16:17:24.631 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 20-Nov-2024 16:17:24.632 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Nov-2024 16:17:24.633 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 20-Nov-2024 16:17:24.639 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-38853"] 20-Nov-2024 16:17:24.664 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-38853"] 20-Nov-2024 16:17:24.669 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Nov-2024 16:17:24.672 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-38853"] 20-Nov-2024 16:17:24.677 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-38853"] 20-Nov-2024 16:17:24.678 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSRLAfterError] 20-Nov-2024 16:17:24.680 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 20-Nov-2024 16:17:24.681 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Nov-2024 16:17:24.681 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 20-Nov-2024 16:17:24.686 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-33525"] 20-Nov-2024 16:17:24.738 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-33525"] 20-Nov-2024 16:17:24.742 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Nov-2024 16:17:24.746 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-33525"] 20-Nov-2024 16:17:24.756 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-33525"] 20-Nov-2024 16:17:24.773 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testErrorPageHandlingException] 20-Nov-2024 16:17:24.779 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 20-Nov-2024 16:17:24.780 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Nov-2024 16:17:24.780 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 20-Nov-2024 16:17:24.799 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-41743"] 20-Nov-2024 16:17:24.853 SEVERE [http-nio-127.0.0.1-auto-8-exec-1] 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.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) at org.apache.catalina.core.TestStandardHostValve$ErrorServlet.doGet(TestStandardHostValve.java:252) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:619) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:716) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:130) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:79) 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:342) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:395) 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:1746) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 20-Nov-2024 16:17:24.857 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-41743"] 20-Nov-2024 16:17:24.857 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Nov-2024 16:17:24.860 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-41743"] 20-Nov-2024 16:17:24.863 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-41743"] ------------- ---------------- --------------- Testcase: testErrorPageHandling400WithException took 1.813 sec Testcase: testInvalidErrorPage took 0.005 sec Testcase: testIncompleteResponse took 0.112 sec Testcase: testErrorPageHandlingDefault took 0.098 sec Testcase: testErrorPageHandling400 took 0.101 sec Testcase: testErrorPageHandling500 took 0.052 sec Testcase: testSRLAfterError took 0.08 sec Testcase: testErrorPageHandlingException took 0.107 sec