tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dola Woolfe <dolac...@yahoo.com>
Subject Re: How to make a webapp restart
Date Mon, 28 Jun 2010 22:22:39 GMT




----- Original Message ----
From: "Caldarale, Charles R" <Chuck.Caldarale@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:dolachin@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?


      

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


Mime
View raw message