Mark,

On 5/17/13 3:25 PM, Mark Thomas wrote:
> 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.

... and a warning will be issued, no?

-chris

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to