Bug 38262 - ambiguous documentation re: redploying updated WAR
Summary: ambiguous documentation re: redploying updated WAR
Alias: None
Product: Tomcat 5
Classification: Unclassified
Component: Webapps:Documentation (show other bugs)
Version: 5.0.28
Hardware: All other
: P2 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL: file://///rochdev1/Tomcat/webapps/tom...
Depends on:
Reported: 2006-01-13 16:36 UTC by Jeffrey Bennett
Modified: 2006-04-13 12:24 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Jeffrey Bennett 2006-01-13 16:36:02 UTC
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).

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)."
Comment 1 Yoav Shapira 2006-04-13 19:24:35 UTC
Good suggestion, I've applied it, thank you.