Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How does the high availability algorithm decide from which connection pool in the MultiPool list a connection will be used?

0
Posted

How does the high availability algorithm decide from which connection pool in the MultiPool list a connection will be used?

0

The MultiPool will always try to provide a connection from the JDBC connection pools in the order they are defined for the MultiPool. This means that for every connection request, the MultiPool tries to provide a connection from the first pool, then should this fail it will try the second pool, and if this also does not work, the third pool and so on. As a pool is never marked as bad or not available by the MultiPool itself, the next request for a connection from the MultiPool will again try to provide a connection in the same manner as described before. For WebLogic Server versions 8.1 SP3 / 7.0 SP5 and upwards, this is changed, i.e., if a connection request to one of the pools in the list fails, it is marked as bad. Please check Enhancements for details.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123