https://bz.apache.org/bugzilla/show_bug.cgi?id=58935

            Bug ID: 58935
           Summary: Re-deploy from war without deleting context
           Product: Tomcat 8
           Version: 8.0.30
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Manager
          Assignee: dev@tomcat.apache.org
          Reporter: bht...@gmail.com

It appears that it is not possible to re-deploy a web application while the
server is running without Tomcat cleaning up the context in
/conf/Catalina/localhost/.


We want in server.xml

<Host name="localhost"  appBase="webapps"
            unpackWARs="true" autoDeploy="false">

Currently, the context file /conf/Catalina/localhost/appName.xml is deleted on
the undeploy part of the re-deploy cycle.

We do not want the deletion of this file. We want a genuine update of the
application that can be executed via the manager console by just overwriting
the existing .war file. Currently, the manager application requires an
undeployment first which cleans up the configuration.

Or in other words, we want some means of updating the running application in a
controlled fashion for production use. With controlled fashion we mean that we
don't want to be exposed to the complexity that comes with autoDeploy="false".
>From our perspective, the manager application should have the capability to
upload and overwrite an existing .war file, explode it and reload the
application without deleting the context. We do not want to put the context
into the war file because it contains installation specific configuration.

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