I'm confused about how to run multiple Spring applications in the same servlet container (Tomcat 5 in my case).
For example, if I take a tested and working Spring app, copy it to a second context path in /webapps/, everything seems to load OK except the ContextLoaderListener on the second application.
In the logs I get a message saying "2004-09-28 21:54:45,148 INFO ContextLoader.initWebApplicationContext - Published root WebApplicationContext [org.springframework.web.context.support.XmlWebAppl icationContext: displayName=[Root XmlWebApplicationContext]; startup date=[Tue Sep 28 21:54:31 GMT-05:00 2004]; root of ApplicationContext hierarchy; config locations=[/WEB-INF/classes/applicationContext.xml]; ] as ServletContext attribute with name [interface org.springframework.web.context.WebApplicationCont ext.ROOT]".
Looks like both apps are trying to use the same root contexts - what do I need to do to keep them from colliding?
Thanks in advance,