[ 
https://issues.apache.org/jira/browse/DBCP-278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Phil Steitz closed DBCP-278.
----------------------------

    Resolution: Invalid

This does not look like a DBCP bug, but rather a question for the user list.  
The message in the bug report is not an exception stack trace, but a log 
message (written to System.out) indicating that an abandoned connection was 
discovered and removed.  

> DBCP object created 2008-04-08 20:04:03 by the following code was never 
> closed:
> -------------------------------------------------------------------------------
>
>                 Key: DBCP-278
>                 URL: https://issues.apache.org/jira/browse/DBCP-278
>             Project: Commons Dbcp
>          Issue Type: Task
>         Environment: Solaris 10
>            Reporter: Ramaswamy
>   Original Estimate: 96h
>  Remaining Estimate: 96h
>
> Can anyone help me with the exception which i am getting below:
> DBCP object created 2008-04-08 20:04:03 by the following code was never 
> closed:
> java.lang.Exception
>       at org.apache.commons.dbcp.AbandonedTrace.init(AbandonedTrace.java:139)
>       at 
> org.apache.commons.dbcp.AbandonedTrace.<init>(AbandonedTrace.java:112)
>       at 
> org.apache.commons.dbcp.DelegatingConnection.<init>(DelegatingConnection.java:116)
>       at 
> org.apache.commons.dbcp.PoolableConnection.<init>(PoolableConnection.java:100)
>       at 
> org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:190)
>       at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(Unknown 
> Source)
>       at 
> org.apache.commons.dbcp.AbandonedObjectPool.borrowObject(AbandonedObjectPool.java:117)
>       at 
> org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:110)
>       at 
> cititru.dai.DaiMatchableTextPattern.retrieveMatchableTextPattern(DaiMatchableTextPattern.java:133)
>       at 
> cititru.dai.DaiMatchableTextPattern.retrieveMatchableTextPattern(DaiMatchableTextPattern.java:100)
>       at cititru.dai.Dai.retrieveMatchableTextPattern(Dai.java:522)
>       at cititru.tie.TieFetchData.run(TieFetchData.java:45)
>       at cititru.tie.WorkerThread.run(ThreadPool.java:155)
> DBCP Parameters maintained:
> {noformat}
> # The fully qualified Java class name of the JDBC driver to be used.
> driverClassName=oracle.jdbc.driver.OracleDriver
> # The maximum number of milliseconds that the pool will wait when there are 
> no connections available.
> maxWait=-1
> # The maximum number of connections that can remain idle in the pool.
> maxIdle=1 
> # The SQL query that will be used to validate connections from pool.
> validationQuery=select sysdate from dual
> # Flag to log stack traces for application code which abandoned a Connection.
> logAbandoned=true
> # Flag to remove abandoned connections if they exceed the 
> removeAbandonedTimout.
> removeAbandoned=true
> # Timeout in seconds before an abandoned connection can be removed.
> removeAbandonedTimeout=300
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to