On 17/05/2013 20:22, Caldarale, Charles R wrote: >> From: Mark Thomas [mailto:ma...@apache.org] >> Subject: Re: Automatic deployment changes > >> 3. A warning is generate if a DIR in the appBase is ignored because >> there is a matching WAR and unpackWARs==false. > > The doc at [1] contains this statement: > > Note: After deployment, if both a WAR and a DIR are present, Tomcat always > serves content from the DIR for performance. > > Does the "always" apply even if your point 3 above occurs? The scenario I'm > thinking of is:
No. It should say "After deployment, if a DIR has been created by expanding a WAR then Tomcat always serves content from the DIR for performance". > 1. unpackWARs initially true > 2. WAR and DIR exist in appBase > 3. stop Tomcat > 4. change unpackWARs to false > 5. modify either WAR or DIR content, but not both > 6. restart Tomcat In this case the content will come from the WAR. Nice catch. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org