Mantis - Resin
Viewing Issue Advanced Details
5481 minor always 07-08-13 10:24 07-23-13 10:29
ferg  
ferg  
normal  
closed  
fixed  
none    
none 4.0.37  
0005481: multiple web-app starts
(rep by Rick Mann)I'm still getting this error with resin-4.0-36. It seems benign, in that the app continues to run, but I'd like to know what I'm doing wrong.

[13-07-06 16:52:02.422] INFO com.caucho.server.webapp.WebApp log: WebApp[production/webapp/default/ROOT,STARTING] Spring WebApplicationInitializers detected on classpath: [com.latencyzero.gamecenter.web.WebappInitializer@7c739ebd]
[13-07-06 16:52:02.456] INFO com.caucho.server.webapp.WebApp log: WebApp[production/webapp/default/ROOT,STARTING] Initializing Spring root WebApplicationContext
[13-07-06 16:52:03.931] WARNING com.caucho.server.webapp.WebApp startImpl: java.lang.IllegalStateException: Cannot initialize context because there is already a root application context present - check whether you have multiple ContextLoader* definitions in your web.xml!
                           at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:264)
                           at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)
                           at com.caucho.server.webapp.WebApp.startImpl(WebApp.java:3677)
                           at com.caucho.server.webapp.WebApp$StartupTask.run(WebApp.java:5196)
                           at com.caucho.env.thread2.ResinThread2.runTasks(ResinThread2.java:173)
                           at com.caucho.env.thread2.ResinThread2.run(ResinThread2.java:118)


Notes
(0006289)
ferg   
07-23-13 10:29   
server/1p07