[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: dynamic database
PeterJ
do-not-reply at jboss.com
Fri Aug 22 14:26:26 EDT 2008
Sometime in December create the next year's database. At 1 second to midnight on Dec 31st, bring down the app server, change the *-ds.xml file to reference the new database, and bring the app server back up.
You might be able to accomplish the same thing by simply replacing the *-ds.xml file at midnight (with the app server still running), but the app server restart might go smoother. If you decide to replace the *-ds.xml file, you should try it on a test system before doing it in production.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4172044#4172044
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4172044
More information about the jboss-user
mailing list