instead of reload, use stop, then start. reload was not designed to read the
web.xml, but when you stop and start the context, it reads it again.

Charlie

> -----Original Message-----
> From: Bryan Field-Elliot [mailto:[EMAIL PROTECTED]]
> Sent: Monday, March 11, 2002 3:30 PM
> To: [EMAIL PROTECTED]
> Subject: Manager reload of web.xml?
> 
> 
> I'm having trouble getting Tomcat to reload my web application's
> "web.xml" file, and wondering if there is an official word or 
> FAQ on how
> to do this? I've seen mention of Tomcat not reloading web.xml in the
> archives, but I'm not sure if this is a bug, or improper use of the
> Manager app, on my part.
> 
> Basically, my re-deploy process is:
> 
> 1. Delete my application's subdirectory under tomcat/webapps
> 2. Re-create from scratch my app's subdirectory under tomcat/webapps
> 3. Call the Manager servlet, with the reload command (using 
> Lynx which I
> do within Ant).
> 
> Any classes I change are reloaded correctly, as are configuration
> changes I make to other files (such as struts-config.xml). But web.xml
> doesn't seem to get reloaded, without a total shutdown and startup of
> Tomcat.
> 
> Thanks,
> 
> Bryan
> 
> 
> 
> 
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to