https://issues.apache.org/bugzilla/show_bug.cgi?id=56248

            Bug ID: 56248
           Summary: Automatic deployment with TCD deletes customized
                    context.xml file
           Product: Tomcat 7
           Version: 7.0.52
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Manager
          Assignee: dev@tomcat.apache.org
          Reporter: jsb_apa...@360works.com

I was very happy to see the changes to automatic deployment, and that
customized context.xml files in conf/Catalina/localhost/<appname>.xml are
preserved when a war file is replaced on the server.

However, when using the ant tasks that come with TCD (and I suspect when using
the Tomcat manager, although I have not tested that), it appears that the
webapp is deleted and then uploaded (as opposed to just being replaced), which
is causing the customized context.xml file to be lost and replaced with a
default version.

=== Reply from Mark Thomas ===

Hmm. It looks like the update command does an undeployment followed by a
deploy rather than a replacement of the WAR file and a redeploy. You
aren't going to be able to fix that without code changes to Tomcat.
Changing the behaviour seems reasonable here. I suggest you open a
bugzilla issue for this.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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

Reply via email to