• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat Cache refresh with out restarting tomcat(.properties files)

 
Manju Na
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I am using tomcat 5.5.

Thanks
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18212
53
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic