> From: James Matthews [mailto:jxmatth...@gmail.com]
> Subject: Best Practices for Deployment with separate Context XML file
> (Tomcat 6.0.20)
> 
> My question focuses on the best way to deploy a Web Application 
> to a running Tomcat instance when specifying the Context Container's
> configuration in a separate XML file in  $CATALINA_BASE/conf/
> [enginename]/[hostname]/

Don't keep the application in the <Host> appBase - locate it outside of 
Tomcat's directory structure, and use the docBase attribute of the <Context> 
element to tell Tomcat where to find it.  Replace the .war file at your 
leisure, and then do a touch of the .xml file to trigger an application 
redeployment.

 - 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.


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to