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.858 sec
------------- Standard Error -----------------
26-Nov-2022 14:21:51.884 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testServletContainerInitializer]
26-Nov-2022 14:21:53.053 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"]
26-Nov-2022 14:21:53.108 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
26-Nov-2022 14:21:53.109 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.85-dev]
26-Nov-2022 14:21:53.352 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-45707"]
26-Nov-2022 14:21:53.508 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-45707"]
26-Nov-2022 14:21:53.512 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
26-Nov-2022 14:21:53.528 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-45707"]
26-Nov-2022 14:21:53.536 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-45707"]
26-Nov-2022 14:21:53.544 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testServletContextListener]
26-Nov-2022 14:21:53.555 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"]
26-Nov-2022 14:21:53.556 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
26-Nov-2022 14:21:53.556 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.85-dev]
26-Nov-2022 14:21:53.578 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:4759)
		at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5229)
		at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
		at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1424)
		at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1414)
		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-Nov-2022 14:21:53.579 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-Nov-2022 14:21:53.580 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal Context [] startup failed due to previous errors
26-Nov-2022 14:21:53.587 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-43711"]
26-Nov-2022 14:21:53.596 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-43711"]
26-Nov-2022 14:21:53.598 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
26-Nov-2022 14:21:53.600 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-43711"]
26-Nov-2022 14:21:53.602 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-43711"]
------------- ---------------- ---------------

Testcase: testServletContainerInitializer took 1.765 sec
Testcase: testServletContextListener took 0.064 sec

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

Last Updated: Sat, 26 Nov 2022 12:00:07 ().Python Logo