Testsuite: org.apache.catalina.core.TestStandardContext Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.231 sec ------------- Standard Error ----------------- 21-Sep-2023 18:06:22.081 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTldListener] 21-Sep-2023 18:06:23.199 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 21-Sep-2023 18:06:23.268 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Sep-2023 18:06:23.269 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 21-Sep-2023 18:06:23.576 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-43899"] 21-Sep-2023 18:06:23.623 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-43899"] 21-Sep-2023 18:06:23.639 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Sep-2023 18:06:23.641 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-43899"] 21-Sep-2023 18:06:23.650 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-43899"] 21-Sep-2023 18:06:23.664 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testWebappListenerConfigureFail] 21-Sep-2023 18:06:23.674 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 21-Sep-2023 18:06:23.687 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Sep-2023 18:06:23.687 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 21-Sep-2023 18:06:23.724 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-41149"] 21-Sep-2023 18:06:23.848 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 21-Sep-2023 18:06:24.399 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-41149"] 21-Sep-2023 18:06:24.400 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Sep-2023 18:06:24.456 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-41149"] 21-Sep-2023 18:06:24.458 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-41149"] 21-Sep-2023 18:06:24.465 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDenyUncoveredHttpMethodsSCITrue] 21-Sep-2023 18:06:24.473 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 21-Sep-2023 18:06:24.519 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Sep-2023 18:06:24.519 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 21-Sep-2023 18:06:24.537 INFO [localhost-startStop-1] org.apache.tomcat.util.descriptor.web.SecurityConstraint.findUncoveredHttpMethods Adding security constraints with URL pattern [/test] to deny access with the uncovered HTTP methods that are not one of the following [POST] 21-Sep-2023 18:06:24.547 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-43967"] 21-Sep-2023 18:06:24.555 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-43967"] 21-Sep-2023 18:06:24.556 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Sep-2023 18:06:24.580 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-43967"] 21-Sep-2023 18:06:24.581 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-43967"] 21-Sep-2023 18:06:24.590 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddPostConstructMethodNullClassName] 21-Sep-2023 18:06:24.591 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 21-Sep-2023 18:06:24.592 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddPreDestroyMethodConflicts] 21-Sep-2023 18:06:24.593 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 21-Sep-2023 18:06:24.593 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug46243] 21-Sep-2023 18:06:24.596 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 21-Sep-2023 18:06:24.602 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Sep-2023 18:06:24.602 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 21-Sep-2023 18:06:24.614 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.filterStart Exception starting filter [Bug46243] javax.servlet.ServletException: Init fail (test) at org.apache.catalina.core.TestStandardContext$Bug46243Filter.init(TestStandardContext.java:183) at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:272) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:254) at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:100) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4290) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4925) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:171) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1364) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1354) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829) Caused by: java.lang.ClassNotFoundException ... 13 more 21-Sep-2023 18:06:24.622 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal One or more Filters failed to start. Full details will be found in the appropriate container log file 21-Sep-2023 18:06:24.622 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal Context [] startup failed due to previous errors 21-Sep-2023 18:06:24.631 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40813"] 21-Sep-2023 18:06:24.642 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40813"] 21-Sep-2023 18:06:24.643 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Sep-2023 18:06:24.651 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40813"] 21-Sep-2023 18:06:24.652 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40813"] 21-Sep-2023 18:06:24.658 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug49711] 21-Sep-2023 18:06:24.663 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 21-Sep-2023 18:06:24.680 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Sep-2023 18:06:24.681 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 21-Sep-2023 18:06:24.694 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-41513"] 21-Sep-2023 18:06:24.697 SEVERE [http-nio2-127.0.0.1-auto-7-exec-2] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [regular] in context with path [] threw exception java.lang.IllegalStateException: Unable to process parts as no multi-part configuration has been provided at org.apache.catalina.connector.Request.parseParts(Request.java:2780) at org.apache.catalina.connector.Request.getParts(Request.java:2749) at org.apache.catalina.connector.RequestFacade.getParts(RequestFacade.java:788) at org.apache.catalina.core.TestStandardContext$Bug49711Servlet.service(TestStandardContext.java:720) at javax.servlet.http.HttpServlet.service(HttpServlet.java:583) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:212) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:156) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:168) 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:130) 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:617) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:932) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1740) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1283) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:342) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:482) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:418) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127) at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:829) 21-Sep-2023 18:06:24.732 SEVERE [http-nio2-127.0.0.1-auto-7-exec-5] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [regular] in context with path [] threw exception java.lang.IllegalStateException: Unable to process parts as no multi-part configuration has been provided at org.apache.catalina.connector.Request.parseParts(Request.java:2780) at org.apache.catalina.connector.Request.getParts(Request.java:2749) at org.apache.catalina.connector.RequestFacade.getParts(RequestFacade.java:788) at org.apache.catalina.core.TestStandardContext$Bug49711Servlet.service(TestStandardContext.java:720) at javax.servlet.http.HttpServlet.service(HttpServlet.java:583) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:212) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:156) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:168) 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:130) 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:617) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:932) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1740) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1283) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:646) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:622) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127) at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:829) 21-Sep-2023 18:06:24.740 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-41513"] 21-Sep-2023 18:06:24.742 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Sep-2023 18:06:24.745 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-41513"] 21-Sep-2023 18:06:24.745 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-41513"] 21-Sep-2023 18:06:24.753 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug49922] 21-Sep-2023 18:06:24.754 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 21-Sep-2023 18:06:24.756 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Sep-2023 18:06:24.756 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 21-Sep-2023 18:06:24.769 INFO [localhost-startStop-1] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 21-Sep-2023 18:06:24.837 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-37975"] 21-Sep-2023 18:06:24.867 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-37975"] 21-Sep-2023 18:06:24.870 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Sep-2023 18:06:24.874 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-37975"] 21-Sep-2023 18:06:24.875 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-37975"] 21-Sep-2023 18:06:24.880 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug50015] 21-Sep-2023 18:06:24.883 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 21-Sep-2023 18:06:24.913 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Sep-2023 18:06:24.913 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 21-Sep-2023 18:06:24.944 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-44963"] 21-Sep-2023 18:06:24.952 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-44963"] 21-Sep-2023 18:06:24.990 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Sep-2023 18:06:24.993 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-44963"] 21-Sep-2023 18:06:24.994 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-44963"] 21-Sep-2023 18:06:25.006 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug56085] 21-Sep-2023 18:06:25.010 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 21-Sep-2023 18:06:25.013 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Sep-2023 18:06:25.013 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 21-Sep-2023 18:06:25.040 INFO [localhost-startStop-1] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 21-Sep-2023 18:06:25.177 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-46411"] 21-Sep-2023 18:06:25.184 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-46411"] 21-Sep-2023 18:06:25.184 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Sep-2023 18:06:25.188 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-46411"] 21-Sep-2023 18:06:25.189 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-46411"] 21-Sep-2023 18:06:25.196 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug56903] 21-Sep-2023 18:06:25.202 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 21-Sep-2023 18:06:25.203 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testWebappLoaderStartFail] 21-Sep-2023 18:06:25.204 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 21-Sep-2023 18:06:25.226 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Sep-2023 18:06:25.227 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 21-Sep-2023 18:06:25.230 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-12-45009"] 21-Sep-2023 18:06:25.297 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 21-Sep-2023 18:06:25.366 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-12-45009"] 21-Sep-2023 18:06:25.367 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Sep-2023 18:06:25.395 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-12-45009"] 21-Sep-2023 18:06:25.397 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12-45009"] 21-Sep-2023 18:06:25.400 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUncoveredMethods] 21-Sep-2023 18:06:25.401 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 21-Sep-2023 18:06:25.417 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Sep-2023 18:06:25.417 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 21-Sep-2023 18:06:25.447 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-44425"] 21-Sep-2023 18:06:25.466 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-44425"] 21-Sep-2023 18:06:25.466 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Sep-2023 18:06:25.477 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-44425"] 21-Sep-2023 18:06:25.478 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-44425"] 21-Sep-2023 18:06:25.487 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug51376a] 21-Sep-2023 18:06:25.489 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 21-Sep-2023 18:06:25.511 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Sep-2023 18:06:25.512 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 21-Sep-2023 18:06:25.530 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-37111"] 21-Sep-2023 18:06:25.538 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-37111"] 21-Sep-2023 18:06:25.539 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Sep-2023 18:06:25.540 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-37111"] 21-Sep-2023 18:06:25.540 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-37111"] 21-Sep-2023 18:06:25.543 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug51376b] 21-Sep-2023 18:06:25.545 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 21-Sep-2023 18:06:25.553 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Sep-2023 18:06:25.553 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 21-Sep-2023 18:06:25.566 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-34565"] 21-Sep-2023 18:06:25.577 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-34565"] 21-Sep-2023 18:06:25.578 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Sep-2023 18:06:25.588 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-34565"] 21-Sep-2023 18:06:25.589 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-34565"] 21-Sep-2023 18:06:25.592 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug57556a] 21-Sep-2023 18:06:25.595 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-16"] 21-Sep-2023 18:06:25.640 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Sep-2023 18:06:25.640 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 21-Sep-2023 18:06:25.666 INFO [localhost-startStop-1] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 21-Sep-2023 18:06:25.744 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-16-38045"] 21-Sep-2023 18:06:25.751 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-16-38045"] 21-Sep-2023 18:06:25.751 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Sep-2023 18:06:25.757 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-16-38045"] 21-Sep-2023 18:06:25.758 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-16-38045"] 21-Sep-2023 18:06:25.775 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug57556b] 21-Sep-2023 18:06:25.777 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-17"] 21-Sep-2023 18:06:25.812 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Sep-2023 18:06:25.812 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 21-Sep-2023 18:06:25.846 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-17-40923"] 21-Sep-2023 18:06:25.847 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-17-40923"] 21-Sep-2023 18:06:25.850 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Sep-2023 18:06:25.853 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-17-40923"] 21-Sep-2023 18:06:25.854 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-17-40923"] 21-Sep-2023 18:06:25.862 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testFlagFailCtxIfServletStartFails] 21-Sep-2023 18:06:25.863 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-18"] 21-Sep-2023 18:06:25.870 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Sep-2023 18:06:25.870 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 21-Sep-2023 18:06:25.877 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.loadOnStartup Servlet [myservlet] in web application [] threw load() exception javax.servlet.ServletException: failing on purpose at org.apache.catalina.core.TestStandardContext$FailingStartupServlet.init(TestStandardContext.java:926) at javax.servlet.GenericServlet.init(GenericServlet.java:143) at org.apache.catalina.startup.Tomcat$ExistingStandardWrapper.loadServlet(Tomcat.java:1215) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:958) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4625) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4933) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:171) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1364) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1354) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829) 21-Sep-2023 18:06:25.883 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-18-38773"] 21-Sep-2023 18:06:25.884 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-18-38773"] 21-Sep-2023 18:06:25.886 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Sep-2023 18:06:25.891 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-18-38773"] 21-Sep-2023 18:06:25.893 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Sep-2023 18:06:25.893 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 21-Sep-2023 18:06:25.896 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.loadOnStartup Servlet [myservlet] in web application [] threw load() exception javax.servlet.ServletException: failing on purpose at org.apache.catalina.core.TestStandardContext$FailingStartupServlet.init(TestStandardContext.java:926) at javax.servlet.GenericServlet.init(GenericServlet.java:143) at org.apache.catalina.startup.Tomcat$ExistingStandardWrapper.loadServlet(Tomcat.java:1215) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:958) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4625) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4933) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:171) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1364) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1354) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829) 21-Sep-2023 18:06:25.896 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal One or more Servlets failed to load on startup. Full details will be found in the appropriate container log file 21-Sep-2023 18:06:25.897 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal Context [] startup failed due to previous errors 21-Sep-2023 18:06:25.902 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-18-38773"] 21-Sep-2023 18:06:25.906 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-18-38773"] 21-Sep-2023 18:06:25.909 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Sep-2023 18:06:25.909 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-18-38773"] 21-Sep-2023 18:06:25.910 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-18-38773"] 21-Sep-2023 18:06:25.914 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddPreDestroyMethodNullClassName] 21-Sep-2023 18:06:25.915 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-19"] 21-Sep-2023 18:06:25.915 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddPreDestroyMethodNullMethodName] 21-Sep-2023 18:06:25.916 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-20"] 21-Sep-2023 18:06:25.917 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddPostConstructMethodNullMethodName] 21-Sep-2023 18:06:25.920 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-21"] 21-Sep-2023 18:06:25.920 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSetPath] 21-Sep-2023 18:06:25.921 WARNING [main] org.apache.catalina.core.StandardContext.setPath A context path must either be an empty string or start with a '/' and do not end with a '/'. The path [null] does not meet these criteria and has been changed to [] 21-Sep-2023 18:06:25.923 WARNING [main] org.apache.catalina.core.StandardContext.setPath A context path must either be an empty string or start with a '/' and do not end with a '/'. The path [/] does not meet these criteria and has been changed to [] 21-Sep-2023 18:06:25.923 WARNING [main] org.apache.catalina.core.StandardContext.setPath A context path must either be an empty string or start with a '/' and do not end with a '/'. The path [foo] does not meet these criteria and has been changed to [/foo] 21-Sep-2023 18:06:25.923 WARNING [main] org.apache.catalina.core.StandardContext.setPath A context path must either be an empty string or start with a '/' and do not end with a '/'. The path [/foo/bar/] does not meet these criteria and has been changed to [/foo/bar] 21-Sep-2023 18:06:25.923 WARNING [main] org.apache.catalina.core.StandardContext.setPath A context path must either be an empty string or start with a '/' and do not end with a '/'. The path [foo/bar/] does not meet these criteria and has been changed to [/foo/bar] 21-Sep-2023 18:06:25.924 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-22"] 21-Sep-2023 18:06:25.926 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNamingContextName] 21-Sep-2023 18:06:25.930 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-23"] 21-Sep-2023 18:06:25.932 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddPostConstructMethodConflicts] 21-Sep-2023 18:06:25.932 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-24"] 21-Sep-2023 18:06:25.933 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDenyUncoveredHttpMethodsSCIFalse] 21-Sep-2023 18:06:25.939 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-25"] 21-Sep-2023 18:06:25.949 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Sep-2023 18:06:25.949 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 21-Sep-2023 18:06:25.953 SEVERE [localhost-startStop-1] org.apache.tomcat.util.descriptor.web.SecurityConstraint.findUncoveredHttpMethods For security constraints with URL pattern [/test] only the HTTP methods [POST] are covered. All other methods are uncovered. 21-Sep-2023 18:06:25.955 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-25-37571"] 21-Sep-2023 18:06:25.987 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-25-37571"] 21-Sep-2023 18:06:25.988 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Sep-2023 18:06:25.991 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-25-37571"] 21-Sep-2023 18:06:25.991 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-25-37571"] ------------- ---------------- --------------- Testcase: testTldListener took 1.845 sec Testcase: testWebappListenerConfigureFail took 0.801 sec Testcase: testDenyUncoveredHttpMethodsSCITrue took 0.124 sec Testcase: testAddPostConstructMethodNullClassName took 0.002 sec Testcase: testAddPreDestroyMethodConflicts took 0.001 sec Testcase: testBug46243 took 0.065 sec Testcase: testBug49711 took 0.093 sec Testcase: testBug49922 took 0.129 sec Testcase: testBug50015 took 0.125 sec Testcase: testBug56085 took 0.19 sec Testcase: testBug56903 took 0.006 sec Testcase: testWebappLoaderStartFail took 0.196 sec Testcase: testUncoveredMethods took 0.088 sec Testcase: testBug51376a took 0.056 sec Testcase: testBug51376b took 0.048 sec Testcase: testBug57556a took 0.183 sec Testcase: testBug57556b took 0.084 sec Testcase: testFlagFailCtxIfServletStartFails took 0.054 sec Testcase: testAddPreDestroyMethodNullClassName took 0.001 sec Testcase: testAddPreDestroyMethodNullMethodName took 0.001 sec Testcase: testAddPostConstructMethodNullMethodName took 0.003 sec Testcase: testSetPath took 0.004 sec Testcase: testNamingContextName took 0.005 sec Testcase: testAddPostConstructMethodConflicts took 0.001 sec Testcase: testDenyUncoveredHttpMethodsSCIFalse took 0.063 sec