You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2004/02/28 23:21:59 UTC

DO NOT REPLY [Bug 27320] New: - DBCP 1.1 incompatible with Informix (driver doesn't support setReadOnly(...))

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