View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821325#3821325

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821325

Hi !



I am using Jboss 3.2.1 with Postgres 7.3.2. I have my application up and running using 
the postgres database DB_1 as the datasource. I have specified this datasource in the 
postgres-ds.xml file : 

<connection-url>jdbc:postgresql://DB_1</connection-url>



How do I reload a new database, say DB_2, and get my application to switch from using 
datasource DB_1 to the new datasource DB_2 on the fly (i.e. without having to manually 
restart the application)? Once I switch to the new datasource DB_2, I do not need to 
"see" the old datasource DB_1.



Thanks in advance. Any help would be appreciated.






-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to