> From: fritzdimmel [mailto:friedrich.dim...@siemens.com] > Subject: Change the deployment path to another name than the .WARs name > > I'd like to deploy a WAR file to my Tomcat Server (6.0.20) and > Tomcat should deploy it to another directory.
1) Place the .war file *outside* of the <Host>'s appBase directory. 2) Create a <Context> element for your webapp in conf/Catalina/[host]/[desiredAppName].xml. 3) Include a docBase attribute in the above <Context> element that points to the absolute location of the .war file. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org