Testsuite: org.apache.catalina.core.TestStandardHostValve Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.956 sec ------------- Standard Error ----------------- 12-Dec-2024 15:32:12.165 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testErrorPageHandling400WithException] 12-Dec-2024 15:32:13.394 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 12-Dec-2024 15:32:13.464 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Dec-2024 15:32:13.469 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 12-Dec-2024 15:32:13.807 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-42253"] 12-Dec-2024 15:32:14.149 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-42253"] 12-Dec-2024 15:32:14.151 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Dec-2024 15:32:14.193 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-42253"] 12-Dec-2024 15:32:14.214 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-42253"] 12-Dec-2024 15:32:14.223 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testInvalidErrorPage] 12-Dec-2024 15:32:14.228 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 12-Dec-2024 15:32:14.229 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIncompleteResponse] 12-Dec-2024 15:32:14.242 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 12-Dec-2024 15:32:14.243 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Dec-2024 15:32:14.244 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 12-Dec-2024 15:32:14.269 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-42289"] 12-Dec-2024 15:32:14.343 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) 12-Dec-2024 15:32:14.357 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-42289"] 12-Dec-2024 15:32:14.359 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Dec-2024 15:32:14.362 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-42289"] 12-Dec-2024 15:32:14.365 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-42289"] 12-Dec-2024 15:32:14.367 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testErrorPageHandlingDefault] 12-Dec-2024 15:32:14.370 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 12-Dec-2024 15:32:14.374 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Dec-2024 15:32:14.374 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 12-Dec-2024 15:32:14.417 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-36915"] 12-Dec-2024 15:32:14.442 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-36915"] 12-Dec-2024 15:32:14.446 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Dec-2024 15:32:14.449 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-36915"] 12-Dec-2024 15:32:14.457 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-36915"] 12-Dec-2024 15:32:14.459 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testErrorPageHandling400] 12-Dec-2024 15:32:14.461 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 12-Dec-2024 15:32:14.464 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Dec-2024 15:32:14.464 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 12-Dec-2024 15:32:14.476 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-45809"] 12-Dec-2024 15:32:14.582 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-45809"] 12-Dec-2024 15:32:14.585 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Dec-2024 15:32:14.593 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-45809"] 12-Dec-2024 15:32:14.607 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-45809"] 12-Dec-2024 15:32:14.610 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testErrorPageHandling500] 12-Dec-2024 15:32:14.611 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 12-Dec-2024 15:32:14.612 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Dec-2024 15:32:14.612 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 12-Dec-2024 15:32:14.621 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-42283"] 12-Dec-2024 15:32:14.649 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-42283"] 12-Dec-2024 15:32:14.652 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Dec-2024 15:32:14.654 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-42283"] 12-Dec-2024 15:32:14.658 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-42283"] 12-Dec-2024 15:32:14.659 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSRLAfterError] 12-Dec-2024 15:32:14.663 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 12-Dec-2024 15:32:14.663 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Dec-2024 15:32:14.663 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 12-Dec-2024 15:32:14.676 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-39873"] 12-Dec-2024 15:32:14.729 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-39873"] 12-Dec-2024 15:32:14.732 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Dec-2024 15:32:14.738 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-39873"] 12-Dec-2024 15:32:14.741 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-39873"] 12-Dec-2024 15:32:14.743 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testErrorPageHandlingException] 12-Dec-2024 15:32:14.744 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 12-Dec-2024 15:32:14.745 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Dec-2024 15:32:14.745 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 12-Dec-2024 15:32:14.762 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-35721"] 12-Dec-2024 15:32:14.798 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) 12-Dec-2024 15:32:14.801 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-35721"] 12-Dec-2024 15:32:14.804 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Dec-2024 15:32:14.806 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-35721"] 12-Dec-2024 15:32:14.809 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-35721"] ------------- ---------------- --------------- Testcase: testErrorPageHandling400WithException took 2.27 sec Testcase: testInvalidErrorPage took 0.005 sec Testcase: testIncompleteResponse took 0.139 sec Testcase: testErrorPageHandlingDefault took 0.091 sec Testcase: testErrorPageHandling400 took 0.151 sec Testcase: testErrorPageHandling500 took 0.05 sec Testcase: testSRLAfterError took 0.083 sec Testcase: testErrorPageHandlingException took 0.068 sec