Yes, you make good points Chuck.

By "work" I mean that I get the message: "INFO: Reloading this Context has 
started"
but "not fire" I mean that init() does not get called.

Many thanks in advance,

Pavel



----- Original Message ----
From: "Caldarale, Charles R" <chuck.caldar...@unisys.com>
To: Tomcat Users List <users@tomcat.apache.org>
Sent: Tue, June 29, 2010 2:26:25 PM
Subject: RE: How to make a webapp restart

> From: Dola Woolfe [mailto:dolac...@yahoo.com]
> Subject: Re: How to make a webapp restart
> 
> Whenever I recompile a library under tomcat/lib, I also 
> "touch" an "empty" .jar file under WEB-INF/lib.
> 
> That seems to work

What do you mean by "work"?  That will typically reload the webapp (assuming a 
default Tomcat configuration), but your new jar in Tomcat's lib directory is 
completely independent of that.

> but a <load-on-startup>1</load-on-startup> servlet 
> does not fire again.

How do you know it "does not fire again"?  (Better to use precise terminology; 
do you mean the init() method is not called?)

- Chuck





THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


      

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to