tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: Tagging 7.0.23
Date Tue, 01 Nov 2011 22:17:29 GMT
On 01/11/2011 22:01, Konstantin Kolinko wrote:
> 2011/11/2 Konstantin Kolinko <knst.kolinko@gmail.com>:
>> 2011/11/1 Mark Thomas <markt@apache.org>:
>>> My current thinking is to add redeployResoucre and reloadResource to
>>> Context and deprecate watchedResource, making it a synonym for
>>> reloadResource. Thoughts? (I haven't tested this yet.)
>>>
>>
>> Are you talking about API or about Configuration?
>>
>> <WatchedResource> in conf/context.xml defaults to WEB-INF/web.xml.  It
>> is a news for me that it covers context.xml as well.
>>
>> I think web.xml triggers reload, context.xml triggers redeploy.

That is what I expected too but it isn't what happens. See line ~575 in
ContextConfig. I've checked the history and it has been that way all the
way back to 2004.

> Touching webapps/myapp.war also triggers a redeploy and not a reload.

I'm fine with that. An updated WAR may include a new context.xml file.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message