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: 0.916 sec
------------- Standard Error -----------------
22-Feb-2024 02:49:59.007 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testServletContainerInitializer]
22-Feb-2024 02:49:59.613 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"]
22-Feb-2024 02:49:59.640 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
22-Feb-2024 02:49:59.641 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev]
22-Feb-2024 02:49:59.722 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-46253"]
22-Feb-2024 02:49:59.738 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-46253"]
22-Feb-2024 02:49:59.741 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
22-Feb-2024 02:49:59.748 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-46253"]
22-Feb-2024 02:49:59.750 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-46253"]
22-Feb-2024 02:49:59.753 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testServletContextListener]
22-Feb-2024 02:49:59.755 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"]
22-Feb-2024 02:49:59.755 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
22-Feb-2024 02:49:59.756 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev]
22-Feb-2024 02:49:59.760 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:1111)
		at org.apache.catalina.core.ApplicationContext.addListener(ApplicationContext.java:1073)
		at org.apache.catalina.core.ApplicationContextFacade.addListener(ApplicationContextFacade.java:614)
		at org.apache.catalina.startup.TestListener$SCL2.contextInitialized(TestListener.java:101)
		at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4441)
		at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4899)
		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:317)
		at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
		at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
		at java.base/java.lang.Thread.run(Thread.java:1570)
22-Feb-2024 02:49:59.760 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
22-Feb-2024 02:49:59.761 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal Context [] startup failed due to previous errors
22-Feb-2024 02:49:59.763 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-43299"]
22-Feb-2024 02:49:59.775 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-43299"]
22-Feb-2024 02:49:59.776 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
22-Feb-2024 02:49:59.776 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-43299"]
22-Feb-2024 02:49:59.778 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-43299"]
------------- ---------------- ---------------

Testcase: testServletContainerInitializer took 0.854 sec
Testcase: testServletContextListener took 0.026 sec

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

Last Updated: Thu, 22 Feb 2024 00:00:03 ().Python Logo