tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Automatic deployment changes
Date Wed, 22 May 2013 16:50:42 GMT
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:markt@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


Mime
View raw message