tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: "Gracefull" restart of tomcat
Date Tue, 01 Jun 2010 13:33:48 GMT
> From: Christopher Schultz [mailto:chris@christopherschultz.net]
> Subject: Re: "Gracefull" restart of tomcat
> 
> With autoDeploy="true", you ought to just be able to update your .class
> or .jar files and Tomcat will automatically restart the webapp.

Not quite; files to be monitored for changes have to be specified in a <WatchedResource>
element nested inside the webapp's <Context> element.  By default, this is only WEB-INF/web.xml,
so a touch of that file should trigger a restart of the webapp without taking Tomcat down.

 - 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.

Mime
View raw message