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?
Thanks,
Johannes.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]