-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jose María,
On 10/10/12 3:00 PM, Jose María Zaragoza wrote: > I want to add database failover to my web application I use Tomcat > 6 and SQLServer database + JDBC Driver 3.0 > > But my doubts are about what happen with pooled connections. The > scenario is my pool is populated by connections to primary server. > Then, the primary server fails and a failover happens ( mirror -> > primary ) I'm not talking about the case where the primary server > is down and DBCP tries to create new connections How can you tell the difference between a primary server being "down" and the primary server needing to (otherwise?) fail-over to the backup? I'm confused about your nomenclature (primary failover means mirror -> primary?). AFAIK, DBCP knows nothing about failover: all that stuff happens at the JDBC driver-level. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlB157oACgkQ9CaO5/Lv0PAcBgCgpuWvOxpz0fdSJGddJYiV1UZN nlcAnRxO2/SA4DOi1YJ+PseFuOUacEvJ =8ijB -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org