commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 27320] New: - DBCP 1.1 incompatible with Informix (driver doesn't support setReadOnly(...))
Date Sat, 28 Feb 2004 22:21:59 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27320>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27320

DBCP 1.1 incompatible with Informix (driver doesn't support setReadOnly(...))

           Summary: DBCP 1.1 incompatible with Informix (driver doesn't
                    support setReadOnly(...))
           Product: Commons
           Version: 1.1 Final
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Dbcp
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: dirk.verbeeck@pandora.be


DBCP 1.1 is more strict about Exceptions thrown by setReadOnly method of the
database drivers.
This results in the following issue with the Informix database driver as
reported by Andrew Peirson.

For details see commons-user mailing list 24-2-2004.

=========================================================================
Creating connection.
org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool 
exhausted
        at 
org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:148)
        at 
ManualPoolingDataSourceExample.main(ManualPoolingDataSourceExample.java:169)
Caused by: java.util.NoSuchElementException: Could not create a validated 
object, cause: Read only mode not supported
        at 
org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:851)
        at 
org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:140)
        ... 1 more

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


Mime
View raw message