On Jul 8, 2013, at 09:43 , Scott Ferguson <f...@caucho.com> wrote: > 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.)
It's entirely possible I did something wrong. I don't have a web.xml any more, but I might have some annotation wrong. I still don't fully understand how that's all supposed to work. Here's every *spring* file in my WEB-INF/lib dir: ./WEB-INF/lib/org/springframework/security/spring-security-core/3.1.3.RELEASE/spring-security-core-3.1.3.RELEASE.jar ./WEB-INF/lib/org/springframework/spring-aop/3.2.0.RC2/spring-aop-3.2.0.RC2.jar ./WEB-INF/lib/org/springframework/spring-beans/3.2.0.RC2/spring-beans-3.2.0.RC2.jar ./WEB-INF/lib/org/springframework/spring-context/3.2.0.RC2/spring-context-3.2.0.RC2.jar ./WEB-INF/lib/org/springframework/spring-core/3.2.0.RC2/spring-core-3.2.0.RC2.jar ./WEB-INF/lib/org/springframework/spring-expression/3.2.0.RC2/spring-expression-3.2.0.RC2.jar ./WEB-INF/lib/org/springframework/spring-jdbc/3.2.0.RC2/spring-jdbc-3.2.0.RC2.jar ./WEB-INF/lib/org/springframework/spring-orm/3.2.0.RC2/spring-orm-3.2.0.RC2.jar ./WEB-INF/lib/org/springframework/spring-test/3.2.0.RC2/spring-test-3.2.0.RC2.jar ./WEB-INF/lib/org/springframework/spring-tx/3.2.0.RC2/spring-tx-3.2.0.RC2.jar ./WEB-INF/lib/org/springframework/spring-web/3.2.0.RC2/spring-web-3.2.0.RC2.jar ./WEB-INF/lib/org/springframework/spring-webmvc/3.2.0.RC2/spring-webmvc-3.2.0.RC2.jar The Resin installation is fresh; no extra libs in there. > -- 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 > resin-interest@caucho.com > http://maillist.caucho.com/mailman/listinfo/resin-interest -- Rick Mann rm...@matterport.com Matterport, Inc. -- Rick _______________________________________________ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest