> -----Original Message-----
> From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 17, 2002 11:53 AM
> To: Tomcat Developers List
> Subject: Re: WEB.XML not reloaded???
> 
> 
> 
> On Wed, 16 Oct 2002, Glenn Nielsen wrote:
> 
> > Date: Wed, 16 Oct 2002 20:33:43 -0500
> > From: Glenn Nielsen <[EMAIL PROTECTED]>
> > Reply-To: Tomcat Developers List <[EMAIL PROTECTED]>
> > To: Tomcat Developers List <[EMAIL PROTECTED]>
> > Subject: Re: WEB.XML not reloaded???
> >
> > Pier Fumagalli wrote:
> > > Anyone noticed that the web.xml doesn't get reloaded when I reload
a
> > > deployed context under 4.0?????????
> > >
> >
> > Yup, that is the way it works.  A reload doesn't reload the web.xml.
> > To force web.xml to reload you have to do a stop/start. It hasn't
been
> > fixed in Tomcat 4.1 either.
> >

I tested reloading web.xml on tomcat 4.0.5 and 4.1.12 and the containers
showed unstable results, i.e. sometimes worked fine but sometimes didn't
work.

> 
> Think of it as a feature and not a bug :-).  You can reload "faster"
(if
> all you did is recompile classes) or "slower" (if you changed web.xml)
as
> necessary for your particular scenario.
> 
I checked out the related document.
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/manager-howto.html

Signal an existing application to shut itself down and reload. This can
be useful when you've recompiled classes on an application that is not
configured with the reloadable="true" attribute in its <Context> entry
in $CATALINA_HOME/conf/server.xml, or when you've made other changes
(such as to conf/web.xml) that are not automatically recognized.

I think that reloading an application ideally means reloading classes,
libs, and web.xml belonging to the application. However, so far
developers have considered it as reloading just classes, in particular,
servlets.

I suggest making the above sentences of the documentation clearer for
users not to be puzzled with reload concept and adding some guide about
what is the current status of tomcat's implementing this feature.

In addition, you mentioned "faster" and "slower" reload, which seems to
me like "auto-implicit" and "manual-explicit" reload. Am I right on
that? Or could you explain more about "faster" and "slower" with some
concrete example?

> > > Or is it me being stupid?
> > >
> >
> > No comment. ;-)
> 
> Craig
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:tomcat-dev-
> [EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:tomcat-dev-
> [EMAIL PROTECTED]>
> 

IAS

Independent Java Technology Evangelist
http://www.iasandcb.pe.kr

Jakarta Seoul Project Coordinator
http://jakarta.apache-korea.org 




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to