Is it possible that you're either returning a connection to the pool more
than once, or holding on to a connection after having returned it to the
pool?

On Thu, 27 Feb 2003 [EMAIL PROTECTED] wrote:

> Hi,
>       I'm new to DBCP. Recently we have used DBCP in one of our projects.
> When around 5-6 users start accessing our application we start getting some
> strange errors in an unpredictable manner. The trace from a few is included
> below. Does any one have any suggestions to fix these?
>
> Thanks.
>
> 1)
> , root cause: java.sql.SQLException: Closed Statement
>       at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:169)
>       at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:211)
>       at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:274)
>       at
> oracle.jdbc.driver.OracleStatement.get_column_index(OracleStatement.java:453
> 0)
>       at
> oracle.jdbc.driver.OracleResultSetImpl.findColumn(OracleResultSetImpl.java:6
> 66)
>       at
> oracle.jdbc.driver.OracleResultSet.getInt(OracleResultSet.java:1420)
>       at
> org.apache.commons.dbcp.DelegatingResultSet.getInt(DelegatingResultSet.java:
> 159)
>
> 2)
> , root cause: java.sql.SQLException: Connection is closed.
>       at
> org.apache.commons.dbcp.DelegatingConnection.checkOpen(DelegatingConnection.
> java:245)
>       at
> org.apache.commons.dbcp.DelegatingConnection.createStatement(DelegatingConne
> ction.java:170)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to