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
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
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
)
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 .properties file in my WEB-INF/classes part of my work tree, which
is read in using a ResourceBundle.
My problem is that if I update this properties file it does not recognise
the new version until I have restarted Tomcat.
Is there a config value I can change so
a new class loader isn't so
obvious, and might cause problems (If you use jni, for example).
good luck,
Tamir
-Original Message-
From: cbarnes [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 01, 2002 12:16 PM
To: Tomcat Users List
Subject: Updating files without restarting Tomcat
I am