I messed around with this quite a bit because of context-params that we kept updating 
in web.xml, but that didn't update when we did
a reload.
I read the documentation that said that stop & restart of a web-app would reread the 
web.xml, however in our version 4.0.6 this was
NOT the case.
We have moved to tomat 4.1.24, and it now detects that the web.xml has been changed 
and rereads it ( exactly when it get's reread
seems to be an un-exact science - but if you do a reload it happens straight away ), 
so it's not a problem anymore.
Of course I don't know if the servlet container updates it's mappings in accordance 
with the now re-read web.xml


Steph



> -----Original Message-----
> From: Mike Curwen [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 19, 2003 9:48 AM
> To: 'Tomcat Users List'
> Subject: RE: about web.xml and servlet mapping and reloading
>
>
> As I read it, you are asked to stop and start the *web application* not
> Tomcat.
>
> So instead of a single 'reload' click, you must first click 'stop' and
> then 'start'.
>
>
>
> > -----Original Message-----
> > From: Nitschke Michael [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, August 19, 2003 6:30 AM
> > To: [EMAIL PROTECTED]
> > Subject: about web.xml and servlet mapping and reloading
> >
> >
> > I try to dynamically create and change servlet mapping in the
> > web.xml in full production mode and then reload/reread the
> > web.xml to update the mapping, but as i read in the manage
> > application:
> >
> > <quote>NOTE: The /WEB-INF/web.xml web application
> > configuration file is not reread on a reload. If you have
> > made changes to your web.xml file you must stop then start
> > the web application. </quote>
> >
> > it does not work like i need it, because the tomcat should
> > not be restarted (loss of temporary data).
> >
> > Is there a way to keep the mappings available for tomcat and
> > reloadable (no tomcat restart requiered).
> >
> >
> >
> > Thanx Mike
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>


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

Reply via email to