tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anton Brazhnyk <a.brazh...@biconsulting.ws>
Subject RE: Tomcat 3.3 and 4.0, different behaviour when reloading the "web.xml"
Date Wed, 06 Feb 2002 12:23:48 GMT
Hi,

> -----Original Message-----
> From: WIPPERT,MAX (HP-Germany,ex1) [mailto:max_wippert@hp.com]
> Sent: Wednesday, February 06, 2002 1:30 PM
> To: tomcat-user@jakarta.apache.org
> Subject: Tomcat 3.3 and 4.0, different behaviour when reloading 
> the "web.xml"
> 
> 
> Hello everyone.
> 
> I'm new to this mailing List, and hopefully I don't bother anyone asking
> questions which have already been answered.
> 
> I'm using Tomcat 4.0 standalone on Win2K and Tomcat 3.3 on MPE. I 
> use Tomcat
> to run JavaServlets. 
> 
> On MPE (it includes an Posix-Shell, behaves similar to Unix), when change
> the "web.xml" in the Folder "WEB-INF" Tomcat 3.3 notices this, destroys
> every Servlet mentioned in the "web.xml" and if the Servlet gets accessed
> again ist is reloaded. Same happens if I only touch the "web.xml". This is
> visible becaus of some logging I coded in the init() and the destroy() of
> the Servlets.
> When do the same on my Win3K machine Tomcat 4.0 does NOT reload the
> "web.xml". He does not destroy the classes neither.
> 
> Has anyone an Idea how I can tell Tomcat4.0 to reload the 
> "web.xml"? I want
> him to read out the up-to-date Information I wrote into the web.xml.
> 	...snip...
> 	<context-param>
> 		<param-name>MyParameter</param-name>
> 		<param-value>UseThisParameterValue</param-value>
> 	</context-param>
> 	...snip...
> 

TC4 doesn't reload configuration from web.xml even when application has
been reloaded by Manager web-application. So, I have to start/stop application.
Manager is bundled with TC and quite useful especially when set up with
friendly interface.

> Best regards,
> thank you,
> Max Wippert
> 

Anton.

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message