commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Carman" <>
Subject Re: [dbcp] Contention for DriverManager when initializing multiple datasources WAS: Re: dbcp blocked on webapp startup
Date Tue, 01 Jul 2008 11:20:44 GMT
On Tue, Jul 1, 2008 at 7:16 AM,
<> wrote:

> The big question is: why are you running dbcp concurrently in two different
> threads?

Two data sources within the same webapp (spring config) perhaps?

> Possibly dbcp should call DriverManager.getDrivers() internally on startup
> to avoid this race...

If this would solve it, I'd say it's a must, then.  This is a really
nasty race condition.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message