Testsuite: org.apache.catalina.core.TestStandardHostValve Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.101 sec ------------- Standard Error ----------------- 28-Nov-2024 11:15:11.664 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testErrorPageHandling400WithException] 28-Nov-2024 11:15:12.817 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 28-Nov-2024 11:15:12.878 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Nov-2024 11:15:12.879 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 28-Nov-2024 11:15:13.114 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-45697"] 28-Nov-2024 11:15:13.419 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-45697"] 28-Nov-2024 11:15:13.422 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Nov-2024 11:15:13.460 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-45697"] 28-Nov-2024 11:15:13.468 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-45697"] 28-Nov-2024 11:15:13.479 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testInvalidErrorPage] 28-Nov-2024 11:15:13.481 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 28-Nov-2024 11:15:13.483 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIncompleteResponse] 28-Nov-2024 11:15:13.486 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 28-Nov-2024 11:15:13.487 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Nov-2024 11:15:13.487 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 28-Nov-2024 11:15:13.506 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-42895"] 28-Nov-2024 11:15:13.622 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: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) 28-Nov-2024 11:15:13.626 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-42895"] 28-Nov-2024 11:15:13.628 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Nov-2024 11:15:13.631 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-42895"] 28-Nov-2024 11:15:13.634 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-42895"] 28-Nov-2024 11:15:13.641 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testErrorPageHandlingDefault] 28-Nov-2024 11:15:13.643 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 28-Nov-2024 11:15:13.644 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Nov-2024 11:15:13.644 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 28-Nov-2024 11:15:13.699 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-44037"] 28-Nov-2024 11:15:13.815 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-44037"] 28-Nov-2024 11:15:13.818 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Nov-2024 11:15:13.821 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-44037"] 28-Nov-2024 11:15:13.824 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-44037"] 28-Nov-2024 11:15:13.829 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testErrorPageHandling400] 28-Nov-2024 11:15:13.837 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 28-Nov-2024 11:15:13.840 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Nov-2024 11:15:13.841 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 28-Nov-2024 11:15:13.859 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-44019"] 28-Nov-2024 11:15:14.012 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-44019"] 28-Nov-2024 11:15:14.012 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Nov-2024 11:15:14.019 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-44019"] 28-Nov-2024 11:15:14.022 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-44019"] 28-Nov-2024 11:15:14.024 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testErrorPageHandling500] 28-Nov-2024 11:15:14.026 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 28-Nov-2024 11:15:14.027 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Nov-2024 11:15:14.027 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 28-Nov-2024 11:15:14.051 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-43101"] 28-Nov-2024 11:15:14.172 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-43101"] 28-Nov-2024 11:15:14.176 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Nov-2024 11:15:14.179 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-43101"] 28-Nov-2024 11:15:14.188 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-43101"] 28-Nov-2024 11:15:14.190 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSRLAfterError] 28-Nov-2024 11:15:14.192 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 28-Nov-2024 11:15:14.192 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Nov-2024 11:15:14.199 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 28-Nov-2024 11:15:14.219 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-38481"] 28-Nov-2024 11:15:14.384 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-38481"] 28-Nov-2024 11:15:14.395 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Nov-2024 11:15:14.398 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-38481"] 28-Nov-2024 11:15:14.400 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-38481"] 28-Nov-2024 11:15:14.402 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testErrorPageHandlingException] 28-Nov-2024 11:15:14.404 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 28-Nov-2024 11:15:14.406 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Nov-2024 11:15:14.407 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 28-Nov-2024 11:15:14.411 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-33717"] 28-Nov-2024 11:15:14.489 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.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.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) 28-Nov-2024 11:15:14.492 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-33717"] 28-Nov-2024 11:15:14.494 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Nov-2024 11:15:14.497 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-33717"] 28-Nov-2024 11:15:14.502 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-33717"] ------------- ---------------- --------------- Testcase: testErrorPageHandling400WithException took 1.982 sec Testcase: testInvalidErrorPage took 0.004 sec Testcase: testIncompleteResponse took 0.159 sec Testcase: testErrorPageHandlingDefault took 0.187 sec Testcase: testErrorPageHandling400 took 0.195 sec Testcase: testErrorPageHandling500 took 0.165 sec Testcase: testSRLAfterError took 0.213 sec Testcase: testErrorPageHandlingException took 0.102 sec