DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38262>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38262

           Summary: ambiguous documentation re: redploying updated WAR
           Product: Tomcat 5
           Version: 5.0.28
          Platform: All
               URL: file://///rochdev1/Tomcat/webapps/tomcat-
                    docs/config/printer/host.html#Automatic%20Application%20
                    Deployment
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Webapps:Documentation
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


Original Text:
Any web application archive file that does not have a corresponding directory of
the same name (without the ".war" extension) will be automatically expanded,
unless the unpackWARs property is set to false. If you redeploy an updated WAR
file, be sure to delete the expanded directory when restarting Tomcat, so that
the updated WAR file will be re-expanded (note that the auto deployer will
automatically take care of this if it is enabled).

Ambiguity:
Does the auto-deployer take care of the reexpansion, or the deleting of the
previously expanded directory?  In practice, it seems to be the former (meaning
you have to delete the dir, and autoDeploy will reexpand the new war for you),
but this passage could also be interpretted as: autoDeploy will check the date
of the war vs what is already expanded and re-expand as necessary (it doesn't).

I recommend:
"(note that the auto deployer will automatically expand the updated WAR file
once the previously expanded directory is removed)."

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to