![]() |
![]() |
|
If you are using WebLogic Server in a single-server configuration, you can use
MultiPools in one of two ways 1) as a backup MultiPool in the event a database
connection fails, or 2) as a load balancing MultiPool. Because you can choose only
one option, you need to determine the primary purpose of your MultiPool. For more
information, see Using Multipools in the Configuring WebLogic JDBC Features
section of Programming WebLogic JDBC.
How can I tell if a database is unavailable?
Fundamentally, there is no way to tell if a database has gone down except by trying
to make a connection and failing.
Furthermore, a database can become unavailable at any time after you make and use a connection. We recommend that you write your code to be able to handle unexpected failures, which can come in any form depending on what the client is doing when the database goes down. For more information, read about Connection Pools and Multipools in the Configuring WebLogic JDBC Features section of Programming WebLogic JDBC.
|
Copyright © 2000 BEA Systems, Inc. All rights reserved.
|