commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dirk Verbeeck <dirk.verbe...@pandora.be>
Subject Re: DBCP 1.1 activateObject problem
Date Wed, 29 Oct 2003 20:54:01 GMT
Thanks for the tip

I have added it to the wiki page
http://nagoya.apache.org/wiki/apachewiki.cgi?DbCpPage

(feel free to add/change)

-- Dirk


Scott, Steven N wrote:
> I recently tried to switch our application from DBCP 1.0 to the new 1.1
> release of DBCP and found that a change to the activateObject method breaks
> us.  The problem is that we are accessing mainframe data using a JDBC
> driver, but it is not truly a database.  Specifically, the setAutoCommit and
> setReadOnly Connection methods fail.  Version 1.0 of DBCP silently discarded
> these errors and allowed the connections to be created and used anyway.
> Version 1.1 of activateObject surfaces these exceptions and fails to create
> new connections in the pool.
>  
> It would be nice if there were an option to disable that functionality, or
> have it revert to "eating" those types of exceptions. This is a simple
> enough change for us to make but we thought we'd mention it here in case
> others are experiencing mysterious failed Connection creation after trying
> to switch to 1.1.
>  
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message