Subject: Re: Updating files without restarting Tomcat
From: Dan Paraschiv [EMAIL PROTECTED]
===
In my opinion you have a different problem here. Probably you read those
properties files at some point in your application lifecycle. Suppose
that point is your servlet init method (which is called
In my opinion you have a different problem here. Probably you read those
properties files at some point in your application lifecycle. Suppose
that point is your servlet init method (which is called only once
in the servlet life).
If you change the properties files it's your
Title: RE: Updating files without restarting Tomcat
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
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;
Hi,
In order for tomcat to reload your files, you have to add reloadable=true
to your application
context in server.xml.
However, this will cause tomcat to restart each time one of yout classes has
been changed or one of the jars
in WEB-INF/lib.
Not only, it'll effect performance, but creating a