On 7/6/13 4:54 PM, Rick Mann wrote: > 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.
I've added a bug report. I'll see if there's some double scanning or double initializing. It's behaving as if there were two spring jars in the WEB-INF/lib. (I'm sure there's not, but the behavior seems to be the same as if that was happening.) -- Scott > > [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) > _______________________________________________ resin-interest mailing list [email protected] http://maillist.caucho.com/mailman/listinfo/resin-interest
