The moose likes EJB and Other Java EE Technologies and the fly likes database failover Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » EJB and Other Java EE Technologies
Reply Bookmark "database failover" Watch "database failover" New topic
Author

database failover

Steve Winer
Greenhorn

Joined: Oct 30, 2001
Posts: 6
What does EJB or BEA WebLogic Server provide to work with database failure? If I have two databases (exact replicas that are always in synch) and they are on two different boxes, how can I configure EJBs or specifically BEA WLS to use the stand-by database when the primary database is down? In a perfect world, I would like to use the connection pool offered by BEA WLS, and if the datasource is unavailable, I would like WLS to seemlessly move to the back-up datasource. Is this possible? If do how? If not, what alternatives are there. Any feedback is greatly appreciated.
Steve (databoy)
Jim Baiter
Ranch Hand

Joined: Jan 05, 2001
Posts: 530
The newer WLS has a feature called multipools that does what you want. Check the BEA documentation for more on multipools.
 
 
subject: database failover
 
Threads others viewed
SQL Exception Weblogic9.1 Oracle 10g
wLS 6.1 and WLS 8.1
weblogic tool to detect the connection leak in the source code
Multiple DataSources
Switch datasources using spring?
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com