tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hanan herzog <justha...@gmail.com>
Subject RE: Do context.xml Parameter value changes require Tomcat restart?
Date Thu, 04 Sep 2008 01:22:34 GMT

Hi,
   Yes, indeed Tomat does redeploy the app. That also gave me the warm and
fuzzy feeling that it must be loading the relevant context.xml anew as well. 
But sadly, it does not pick up changes to context.xml, at least not changes
to Parameter elements. 

Would you mind trying my little JSP out (attached in first message). I will
venture to say that you will see that the original value of the Parameter
sticks around forever, even after changing the value attribute and  tomcat
re-deploys the app. The redeploy by Tomcat is correctly triggered, but has
no effect (seems like a bug).

Cheers,

Hanan



Caldarale, Charles R wrote:
> 
>> From: hanan herzog [mailto:justhanan@gmail.com]
>> Subject: RE: Do context.xml Parameter value changes require
>> Tomcat restart?
>>
>> I tried putting the settings in context directories, e.g.,
>> conf/Catalina/localhost/context.xml.default . But changes to
>> this did not get picked up either.
> 
> Hmmm... I just tried it on a stock 6.0.18 running on WinXP, modifying
> attributes in conf/Catalina/localhost/[appName].xml, and Tomcat
> automatically redeployed the webapp.
> 
> Have you changed anything in conf/server.xml or conf/web.xml?
> 
>  - 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: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Do-context.xml-Parameter-value-changes-require-Tomcat-restart--tp19297752p19301524.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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message