| Author |
Tomcat Cache refresh with out restarting tomcat(.properties files)
|
Manju Na
Greenhorn
Joined: Aug 18, 2011
Posts: 11
|
|
Hi
Iam working on a task in which i need to refresh the tomcat cache with out restarting it when there is any new entry or updation in the message.properties file.
how to deal with the .properties files i.e will the values have any effect with out restarting the tomcat. I am using tomcat 5.5 and struts 1.2. please help me out.
Thanks in Advance
Manju
|
 |
Manju Na
Greenhorn
Joined: Aug 18, 2011
Posts: 11
|
|
Hi all,
I am using tomcat 5.5.
Thanks
|
 |
Tim Holloway
Saloon Keeper
Joined: Jun 25, 2001
Posts: 14487
|
|
|
Tomcat doesn't have a cache. And property files are data files. In order for changes in data to "take", the code that reads that data needs to be informed that it must re-read the properties, assuming the usual scenario where the properties are loaded into a Properties object all at once.
|
Customer surveys are for companies who didn't pay proper attention to begin with.
|
 |
 |
|
|
subject: Tomcat Cache refresh with out restarting tomcat(.properties files)
|
|
|