aspose file tools*
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
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: 501
    
    5
Use Apache Commons Configuration framework - it provides automatic reloading of property files.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Avoiding server restart after changes in property file