Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes Performance and the fly likes Avoiding server restart after changes in property file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » Performance
Bookmark "Avoiding server restart after changes in property file" Watch "Avoiding server restart after changes in property file" New topic
Author

Avoiding server restart after changes in property file

Sumeet Chakraborty
Ranch Hand

Joined: Feb 05, 2009
Posts: 45
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
Ranch Hand

Joined: Apr 04, 2009
Posts: 581
    
    9
Use Apache Commons Configuration framework - it provides automatic reloading of property files.
 
Have you tried LearnNowOnline? http://www.learnnowonline.com/
 
subject: Avoiding server restart after changes in property file