TrainBeaser for iPhone
The moose likes Performance and the fly likes Avoiding server restart after changes in property file Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Performance
Reply 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: 364
Use Apache Commons Configuration framework - it provides automatic reloading of property files.
 
 
subject: Avoiding server restart after changes in property file
 
Threads others viewed
deploying struts application in weblogic server - interview question
refresh of class files in sun application server
Runtime changes to log4j.properties
Please tell me solution for this
debugging web application on weblogic from eclipse
IntelliJ Java IDE