Re: Updating files without restarting Tomcat

2002-07-03 Thread cbarnes
> 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 responsi

Re: Updating files without restarting Tomcat

2002-07-03 Thread @Basebeans.com
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

Re: Updating files without restarting Tomcat

2002-07-02 Thread A. Alfred Ayache
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: Tue

RE: Updating files without restarting Tomcat

2002-07-02 Thread Douglas, Rory
Title: RE: Updating files without restarting Tomcat You can specify the attribute   reloadable="true" in the 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. c

Updating files without restarting Tomcat

2002-07-02 Thread cbarnes
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.

RE: Updating files without restarting Tomcat

2002-05-01 Thread tamir
e, but creating 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 rest

Updating files without restarting Tomcat

2002-05-01 Thread cbarnes
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 that