Two things still leave a bad taste:

1. If the new values are not going to be picked up from context.xml.default
why does a change in conf/engine/host/context.xml.default or
conf/context.xml cause a redeployment (without an update in Parameter
values?)

2. I could have multiple engines configured, and the context.xml.default is
a per-engine config file. I may want to only have the applications of a
specific engine to be reloaded. Apps in other engines would not need
reloading, so it seems wasteful to restart the whole Tomcat instance.

The context xml loading behaviour of Tomcat still seems a bit whacky to me.

In any case, I am now able to do what I need to do, so all's good.

Thanks for your time,

Hanan

Caldarale, Charles R wrote:
> 
>> From: hanan herzog [mailto:[EMAIL PROTECTED]
>> Subject: RE: Do context.xml Parameter value changes require
>> Tomcat restart?
>>
>> Changing Parameter values in appName.xml works: redeployment
>> occurs, Parameter (InitParameter) values are updated as expected.
> 
> Good, because that's what I found to be true.
> 
>> However, changing values in context.xml.default still does
>> not work, which was what was stumping me. Also changes in
>> conf/context.xml do not get updated in a running Tomcat--as
>> far as I can tell.
>>
>> Is this by design?
> 
> Highly likely.  These files are global, so changing values in them would
> require redeployment of all webapps - you might as well just restart
> Tomcat in that case.
> 
> 
> 
>  - Chuck
> 
> 
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete the e-mail
> and its attachments from all computers.
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Do-context.xml-Parameter-value-changes-require-Tomcat-restart--tp19297752p19301757.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to