commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phil Steitz <>
Subject Re: [dbcp] dbcp, pool and SQLWarnings.
Date Tue, 03 Mar 2015 13:42:33 GMT

> On Mar 1, 2015, at 2:24 PM, Антон Мацюк <> wrote:
> Hi!
> I have a question about dbcp and pool.
> Last two weeks I have examined heapdumps of Tomcat instances that is
> used by my apps.
> There is situation with BoneCP - it have a LOT of SQLWarnings at each
> connection used by it.
> With DBCP-app all is normal - there is no SQLWarnings.
> Apps are not the same, so there can be difference in connections usage
> or usage rate, but both apps use Sybase ASE as database, and ASE
> reacts with SQLWarning at each use of setReadonly method.
> I can't find if somewhere in dbcp- or pool- projects something calling
> clearWarnings before or after connection have been used.
> May you please point me to this place in code?
> Maybe warnings cleared somewhere, maybe DBCP supress setReadonly, but
> finally there is no SQLWarning's in Connections in heapdump of app
> which use DBCP.
> Is it a passivateObject
> ?
> Thanks.

Which version of DBCP?
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

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

View raw message