> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Subject: Re: how to configure the tomcat to automatically 
> update class instances when a class file changed
> 
> The autoDeploy="true" means the sevlet will reload if 
> anything is changed under WEB-INF

That's not quite true.  The autoDeploy attribute allows deployment of
applications on the fly, but only monitors the following for existing
applications:

    * An update to the WEB-INF/web.xml file will trigger a reload of the
web application
    * An update to a WAR which has been expanded will trigger an
undeploy (with a removal of the expanded webapp), followed by a
deployment
    * An update to a XML configuration file will trigger an undeploy
(without the removal of any expanded directory), followed by a
deployment of the associated web application

If you're changing jars or class files under WEB-INF, you need a
<WatchedResource> element inside the <Context> for the webapp.  By
default, only WEB-INF/web.xml is monitored.

 - 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 start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to