This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Avoiding server restart after changes in property file

 
Sumeet Chakraborty
Ranch Hand
Posts: 45
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All

I have a web based application which has few of its properties declared in a property file. I am using Weblogic to deploy this application. As expected, in case of any changes in the property files, we have to restart the weblogic server for the changes to take effect.

However, now there is a requirement where I am supposed to avoid the server restart incase of a change in any of the property files. I wonder whether it is possible at all, as I am not able to find any solution to it.

Kindly let me know is it at all possible. If yes, then how ?

Awaiting an early reply.

Thanks
Sumeet
 
Karthik Shiraly
Bartender
Pie
Posts: 1058
24
Android C++ Java Linux PHP Python
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use Apache Commons Configuration framework - it provides automatic reloading of property files.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic