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.065 sec
------------- Standard Error -----------------
03-Mar-2024 13:53:45.560 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testServletContainerInitializer]
03-Mar-2024 13:53:45.997 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"]
03-Mar-2024 13:53:46.045 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
03-Mar-2024 13:53:46.046 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev]
03-Mar-2024 13:53:46.397 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-34787"]
03-Mar-2024 13:53:46.399 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-34787"]
03-Mar-2024 13:53:46.403 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
03-Mar-2024 13:53:46.411 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-34787"]
03-Mar-2024 13:53:46.412 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-34787"]
03-Mar-2024 13:53:46.418 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testServletContextListener]
03-Mar-2024 13:53:46.419 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"]
03-Mar-2024 13:53:46.432 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
03-Mar-2024 13:53:46.432 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev]
03-Mar-2024 13:53:46.443 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)
03-Mar-2024 13:53:46.444 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
03-Mar-2024 13:53:46.445 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal Context [] startup failed due to previous errors
03-Mar-2024 13:53:46.449 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-42719"]
03-Mar-2024 13:53:46.451 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-42719"]
03-Mar-2024 13:53:46.451 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
03-Mar-2024 13:53:46.452 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-42719"]
03-Mar-2024 13:53:46.452 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-42719"]
------------- ---------------- ---------------

Testcase: testServletContainerInitializer took 0.979 sec
Testcase: testServletContextListener took 0.037 sec

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

Last Updated: Sun, 03 Mar 2024 12:00:03 ().Python Logo