> From: arjan.tijms [mailto:arjan.ti...@m4n.nl] > Subject: Re: Tomcat copies context.xml to > conf/Catalina/localhost/app.xml but neverupdates it? > > Can you confirm that copying for exploded deployments is a new > and intended behavior for Tomcat 6.0.20?
It was always intended, and finally fixed in 6.0.19 (see the changelog). The impetus was this bug report: https://issues.apache.org/bugzilla/show_bug.cgi?id=42747 > Unlike for .war deployments, I can just edit the embedded > context.xml in an exploded deployment directly The copying change makes it possible to edit conf/Catalina/[host]/[appName].xml, regardless of whether the origin was a .war or a directory. > But what counts as an "undeploy" for a static deployment? Using the manager to do a real undeploy; deletion of the expanded directory is only part of it. Besides the <Context> element, there are also files under Tomcat's work directory that must be removed. - 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.