Hi there,
Using the latest box installer.
Embedded JRE
Lucee 5.3.10.120
All box modules are updatet to latest RELEASE.
I notice the foillowing in the application.log of the server.context and just wanted to check if this was “noise” or something I needed to do something about.
(and if so - what, please?)
Thanks.
"INFO","main","06/20/2023","16:17:55","add-event-listener","UT010041: The servlet context has already been initialized, you can only call this method from a ServletContainerInitializer or a ServletContextListener;java.lang.IllegalStateException: UT010041: The servlet context has already been initialized, you can only call this method from a ServletContainerInitializer or a ServletContextListener
at io.undertow.servlet.spec.ServletContextImpl.ensureNotInitialized(ServletContextImpl.java:1032)
at io.undertow.servlet.spec.ServletContextImpl.addListener(ServletContextImpl.java:746)
at lucee.runtime.engine.CFMLEngineImpl.addEventListener(CFMLEngineImpl.java:849)
at lucee.runtime.engine.CFMLEngineImpl.addServletConfig(CFMLEngineImpl.java:794)
at lucee.loader.engine.CFMLEngineWrapper.addServletConfig(CFMLEngineWrapper.java:87)
at lucee.loader.engine.CFMLEngineFactory.getInstance(CFMLEngineFactory.java:211)
at lucee.loader.servlet.LuceeServlet.init(LuceeServlet.java:42)
at io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:117)
at io.undertow.servlet.core.ManagedServlet$DefaultInstanceStrategy.start(ManagedServlet.java:309)
at io.undertow.servlet.core.ManagedServlet.createServlet(ManagedServlet.java:145)
at io.undertow.servlet.core.DeploymentManagerImpl$2.call(DeploymentManagerImpl.java:588)
at io.undertow.servlet.core.DeploymentManagerImpl$2.call(DeploymentManagerImpl.java:559)
at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:42)
at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
at io.undertow.servlet.core.DeploymentManagerImpl.start(DeploymentManagerImpl.java:601)
at runwar.Server.createServletDeployment(Server.java:1350)
at runwar.Server.startServer(Server.java:517)
at runwar.Start.main(Start.java:51)
"
"INFO","main","06/20/2023","16:17:55","startup","Lucee was not able to register an event listener with io.undertow.servlet.spec.ServletContextImpl"
"INFO","main","06/20/2023","16:17:55","add-event-listener","UT010041: The servlet context has already been initialized, you can only call this method from a ServletContainerInitializer or a ServletContextListener;java.lang.IllegalStateException: UT010041: The servlet context has already been initialized, you can only call this method from a ServletContainerInitializer or a ServletContextListener
at io.undertow.servlet.spec.ServletContextImpl.ensureNotInitialized(ServletContextImpl.java:1032)
at io.undertow.servlet.spec.ServletContextImpl.addListener(ServletContextImpl.java:746)
at lucee.runtime.engine.CFMLEngineImpl.addEventListener(CFMLEngineImpl.java:849)
at lucee.runtime.engine.CFMLEngineImpl.addServletConfig(CFMLEngineImpl.java:794)
at lucee.loader.engine.CFMLEngineWrapper.addServletConfig(CFMLEngineWrapper.java:87)
at lucee.loader.engine.CFMLEngineFactory.getInstance(CFMLEngineFactory.java:211)
at lucee.loader.servlet.CFMLServlet.init(CFMLServlet.java:42)
at io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:117)
at io.undertow.servlet.core.ManagedServlet$DefaultInstanceStrategy.start(ManagedServlet.java:309)
at io.undertow.servlet.core.ManagedServlet.createServlet(ManagedServlet.java:145)
at io.undertow.servlet.core.DeploymentManagerImpl$2.call(DeploymentManagerImpl.java:588)
at io.undertow.servlet.core.DeploymentManagerImpl$2.call(DeploymentManagerImpl.java:559)
at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:42)
at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
at io.undertow.servlet.core.DeploymentManagerImpl.start(DeploymentManagerImpl.java:601)
at runwar.Server.createServletDeployment(Server.java:1350)
at runwar.Server.startServer(Server.java:517)
at runwar.Start.main(Start.java:51)
"