tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Remy Maucherat" <r...@apache.org>
Subject Re: Tomcat 3.3 and 4.0, different behaviour when reloading the "web.xml"
Date Wed, 06 Feb 2002 14:40:44 GMT
> 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...

Either:
- Use the manager webapp (do a stop followed by a start)
- Use a nightly build (4.0-HEAD includes automatic deployment and web.xml
tracking)

Remy


--
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