Testsuite: org.apache.catalina.core.TestStandardHostValve Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.862 sec ------------- Standard Error ----------------- 03-Dec-2024 19:10:34.049 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testErrorPageHandling400WithException] 03-Dec-2024 19:10:35.521 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 03-Dec-2024 19:10:35.602 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Dec-2024 19:10:35.602 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 03-Dec-2024 19:10:35.742 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-43929"] 03-Dec-2024 19:10:36.025 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-43929"] 03-Dec-2024 19:10:36.026 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Dec-2024 19:10:36.049 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-43929"] 03-Dec-2024 19:10:36.061 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-43929"] 03-Dec-2024 19:10:36.077 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testInvalidErrorPage] 03-Dec-2024 19:10:36.080 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 03-Dec-2024 19:10:36.087 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIncompleteResponse] 03-Dec-2024 19:10:36.101 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 03-Dec-2024 19:10:36.102 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Dec-2024 19:10:36.102 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 03-Dec-2024 19:10:36.141 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-36509"] 03-Dec-2024 19:10:36.270 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) 03-Dec-2024 19:10:36.274 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-36509"] 03-Dec-2024 19:10:36.275 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Dec-2024 19:10:36.280 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-36509"] 03-Dec-2024 19:10:36.287 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-36509"] 03-Dec-2024 19:10:36.289 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testErrorPageHandlingDefault] 03-Dec-2024 19:10:36.291 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 03-Dec-2024 19:10:36.292 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Dec-2024 19:10:36.292 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 03-Dec-2024 19:10:36.304 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-44161"] 03-Dec-2024 19:10:36.328 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-44161"] 03-Dec-2024 19:10:36.336 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Dec-2024 19:10:36.339 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-44161"] 03-Dec-2024 19:10:36.347 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-44161"] 03-Dec-2024 19:10:36.356 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testErrorPageHandling400] 03-Dec-2024 19:10:36.359 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 03-Dec-2024 19:10:36.360 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Dec-2024 19:10:36.361 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 03-Dec-2024 19:10:36.368 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-41059"] 03-Dec-2024 19:10:36.397 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-41059"] 03-Dec-2024 19:10:36.401 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Dec-2024 19:10:36.403 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-41059"] 03-Dec-2024 19:10:36.405 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-41059"] 03-Dec-2024 19:10:36.407 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testErrorPageHandling500] 03-Dec-2024 19:10:36.408 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 03-Dec-2024 19:10:36.409 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Dec-2024 19:10:36.409 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 03-Dec-2024 19:10:36.439 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-35493"] 03-Dec-2024 19:10:36.446 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-35493"] 03-Dec-2024 19:10:36.448 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Dec-2024 19:10:36.454 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-35493"] 03-Dec-2024 19:10:36.456 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-35493"] 03-Dec-2024 19:10:36.458 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSRLAfterError] 03-Dec-2024 19:10:36.466 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 03-Dec-2024 19:10:36.468 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Dec-2024 19:10:36.468 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 03-Dec-2024 19:10:36.480 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-43713"] 03-Dec-2024 19:10:36.505 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-43713"] 03-Dec-2024 19:10:36.507 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Dec-2024 19:10:36.514 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-43713"] 03-Dec-2024 19:10:36.517 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-43713"] 03-Dec-2024 19:10:36.520 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testErrorPageHandlingException] 03-Dec-2024 19:10:36.528 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 03-Dec-2024 19:10:36.529 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Dec-2024 19:10:36.529 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 03-Dec-2024 19:10:36.538 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-36929"] 03-Dec-2024 19:10:36.547 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) 03-Dec-2024 19:10:36.549 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-36929"] 03-Dec-2024 19:10:36.552 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Dec-2024 19:10:36.556 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-36929"] 03-Dec-2024 19:10:36.565 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-36929"] ------------- ---------------- --------------- Testcase: testErrorPageHandling400WithException took 2.22 sec Testcase: testInvalidErrorPage took 0.01 sec Testcase: testIncompleteResponse took 0.207 sec Testcase: testErrorPageHandlingDefault took 0.066 sec Testcase: testErrorPageHandling400 took 0.05 sec Testcase: testErrorPageHandling500 took 0.052 sec Testcase: testSRLAfterError took 0.06 sec Testcase: testErrorPageHandlingException took 0.047 sec