Yes (I think)
1) Keep the war file out of the tomcat installation
2) Use a context declaration which points to the war file (mainApp.xml)
3) Don't unpack wars (<Host ... unpackWARs="false" ...>)

mainApp.xml
===
<Context docBase='/usr/local/wars/foo.war'/>
===

-Tim

Aaron Chai wrote:
Is it possible for Tomcat to deploy war files where the context name is not the same as the original war file name, e.g. deploying webapp.war and the context name is /mainApp instead of /webapp. How would this be achieved if it is possible?


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to