Run| Workspace| Log| Issues| Fixes| Pre-reqs| Stats| XRef| Maven Repository Proxy Log Gump Logo

Details

File Contents

Testsuite: org.apache.catalina.startup.TestListener
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.777 sec
------------- Standard Error -----------------
26-Oct-2021 10:25:49.025 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testServletContainerInitializer]
26-Oct-2021 10:25:50.060 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"]
26-Oct-2021 10:25:50.094 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
26-Oct-2021 10:25:50.095 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.72-dev]
26-Oct-2021 10:25:50.269 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-35251"]
26-Oct-2021 10:25:50.271 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-35251"]
26-Oct-2021 10:25:50.279 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
26-Oct-2021 10:25:50.290 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-35251"]
26-Oct-2021 10:25:50.295 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-35251"]
26-Oct-2021 10:25:50.306 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testServletContextListener]
26-Oct-2021 10:25:50.309 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"]
26-Oct-2021 10:25:50.310 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
26-Oct-2021 10:25:50.310 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.72-dev]
26-Oct-2021 10:25:50.320 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.listenerStart Exception sending context initialized event to listener instance of class [org.apache.catalina.startup.TestListener$SCL2]
	java.lang.IllegalArgumentException: Once the first ServletContextListener has been called, no more ServletContextListeners may be added.
		at org.apache.catalina.core.ApplicationContext.addListener(ApplicationContext.java:1161)
		at org.apache.catalina.core.ApplicationContext.addListener(ApplicationContext.java:1114)
		at org.apache.catalina.core.ApplicationContextFacade.addListener(ApplicationContextFacade.java:661)
		at org.apache.catalina.startup.TestListener$SCL2.contextInitialized(TestListener.java:101)
		at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4763)
		at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5232)
		at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
		at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1427)
		at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1417)
		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)
26-Oct-2021 10:25:50.322 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log file
26-Oct-2021 10:25:50.322 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal Context [] startup failed due to previous errors
26-Oct-2021 10:25:50.329 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-42449"]
26-Oct-2021 10:25:50.336 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-42449"]
26-Oct-2021 10:25:50.341 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
26-Oct-2021 10:25:50.342 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-42449"]
26-Oct-2021 10:25:50.348 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-42449"]
------------- ---------------- ---------------

Testcase: testServletContainerInitializer took 1.468 sec
Testcase: testServletContextListener took 0.05 sec

Apache Gump, Gump, Apache, the Apache feather logo, and the Apache Gump project logos are trademarks of The Apache Software Foundation.

Last Updated: Tue, 26 Oct 2021 06:00:05 ().Python Logo