Thank you so much Chuck, that works perfectly (interestingly each 'touch' still only instigates the "Undeploy" log in catalina.out, but the application does now redeploy seamlessly).
Out of curiosity, is using a separate Context XML file the best way of providing server-specific configuration to a tomcat web application? Not using the standard webapps folder directly seems like bit of a work-around. Although it looks like I'm now all set with this method, was I approaching this config provision in the right way to start with? Regards, James -----Original Message----- From: Caldarale, Charles R [mailto:[email protected]] Sent: Monday, March 08, 2010 5:01 PM To: Tomcat Users List Subject: RE: Best Practices for Deployment with separate Context XML file (Tomcat 6.0.20) > From: James Matthews [mailto:[email protected]] > Subject: RE: Best Practices for Deployment with separate Context XML > file (Tomcat 6.0.20) > <Context path="/Application" Take out the path attribute - it's not allowed. > docBase="/home/farthing/appservers/userapps"> The above should be "/home/farthing/appservers/userapps/Application.war". - 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: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
