How about this trick then. Whenever I recompile a library under tomcat/lib, I also "touch" an "empty" .jar file under WEB-INF/lib.
That seems to work, BUT: it states: Jun 29, 2010 2:08:36 PM org.apache.catalina.core.StandardContext reload INFO: Reloading this Context has started but a <load-on-startup>1</load-on-startup> servlet does not fire again. What's the explanation. Thanks again, Dola ----- Original Message ---- From: Pid <p...@pidster.com> To: Tomcat Users List <users@tomcat.apache.org> Sent: Tue, June 29, 2010 5:16:41 AM Subject: Re: How to make a webapp restart On 28/06/2010 23:22, Dola Woolfe wrote: > > > > > ----- Original Message ---- > From: "Caldarale, Charles R" <chuck.caldar...@unisys.com> > To: Tomcat Users List <users@tomcat.apache.org> > Sent: Mon, June 28, 2010 5:54:47 PM > Subject: RE: How to make a webapp restart > >> From: Dola Woolfe [mailto:dolac...@yahoo.com] >> Subject: How to make a webapp restart >> >> What setting makes a webapp restart when a .jar changes under >> tomcat/lib? > > Nothing. Since the jar is in tomcat/lib, it's handled by the common class > loader, so you have to restart Tomcat to get the updated jar recognized. If > the jar were in the webapp's WEB-INF/lib directory, you could restart just > that one webapp. > > - Chuck > > > > Thanks, Chuck. > > And is there a setting to have Tomcat automatically restarted when jar > changes under tomcat/lib? No there isn't. p > --------------------------------------------------------------------- > 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