On 15/08/2011 17:38, Johannes Ernst wrote: > I'd like to run the same web app at multiple paths in Tomcat 6, e.g. > /foo1 -> foo.war > /foo2 -> foo.war > > I was thinking of creating > $CATALINA_BASE/conf/[enginename]/[hostname]/foo1.xml > $CATALINA_BASE/conf/[enginename]/[hostname]/foo2.xml > with different entries for database names etc. but having > docBase > point to the same war, e.g. > /usr/share/foo/foo.war > > But documentation > http://tomcat.apache.org/tomcat-6.0-doc/config/context.html > in the docBase section seems to say that this won't give me autoDeploy > functionality. > > How can do I this so I can make updates to the app without restarting Tomcat? > Do I have to duplicate the WAR into foo1.war and foo2.war?
Try it an see what happens. If you don't get updates when the WAR changes, you can almost certainly get it working by via watched resources. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org