I've actually had problems with the reloadable attribute.  I think it
may be broken.

You may try the HTMLManager application, which allows you to monitor,
start, stop and reload your various webapps.  You'll need to modify the
conf/tomcat-users.xml and webapps/manager/WEB-INF/web.xml; instructions
are in the comments, and here's the link to the HOW-TO:

http://jakarta.apache.org/tomcat/tomcat-4.0-doc/manager-howto.html

- Alfred


> "Douglas, Rory" wrote:
> 
> You can specify the attribute
> 
>   reloadable="true"
> 
> in the <context> element for your web-application (in server.xml)
> 
> This will, however, watch all files for changes. There is no way to my
> knowledge of watching only some files.
> 
> cheers
> Rory
> 
> -----Original Message-----
> From: cbarnes [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 02, 2002 11:31 AM
> To: Tomcat Users List
> Subject: Updating files without restarting Tomcat
> 
> I am using Tomcat 4.
> 
> I have a number of properties files in the WEB-INF/classes directory.
> I need
> to be able to change the values of the properties in these files, but
> it
> looks as though I need to restart Tomcat every time I change a value
> in
> order for it to recognise the new version of the file. Is there any
> configuration I can change so that it is not necessary to restart
> Tomcat
> when I change the values of the properties. Is it possible for this to
> apply
> just to specified files - I don't want it to check the status of all
> the
> files in WEB-INF/classes because I know the class files won't change.
> 
> Thanks,
> Catharine
> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
>     ---------------------------------------------------------------
> --
> To unsubscribe, e-mail:   <
> mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <
> mailto:[EMAIL PROTECTED]>

-- 
A. Alfred Ayache,              | 20 years' experience
President, The Last Byte, Inc. | Testimonials
Custom software par excellence | Links
http://www.lastbyte-inc.com    | Free Software

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to