You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by "Menke, John (Home Office)" <me...@lls.org> on 2006/03/21 16:12:56 UTC

DBCP object created ....by the following code was never closed

 
 
We are getting the error:
 
DBCP object created 2006-03-20 12:25:42 by the following code was never
closed:

java.lang.Exception

at
org.apache.tomcat.dbcp.dbcp.AbandonedTrace.setStackTrace(AbandonedTrace.
java:157)

at
org.apache.tomcat.dbcp.dbcp.AbandonedObjectPool.borrowObject(AbandonedOb
jectPool.java:76)

 

Our dataSource connection properties are:

<Resource name="testDS"

auth="Container"

type="javax.sql.DataSource"

driverClassName="net.sourceforge.jtds.jdbc.Driver"

url="testUrl"

username="test"

password="test"

initialSize="5"

maxActive="100"

maxIdle="5"

maxWait="30000"

removeAbandoned="true"

removeAbandonedTimeout="300"

logAbandoned="true"

/>

Will setting removeAbadoned="false" fix this problem??? Anyone run into
anything similar?

-jm

 

 


______________________________________________________________________
This e-mail has been scanned by The Leukemia & Lymphoma Society Managed Email Content Service, provided by MCI and Message Labs.

NOTICE: This message, including all attachments transmitted with it, is for the use of the addressee only. It may contain proprietary, confidential and/or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you are not the intended recipient, you must not, directly or indirectly, use, disclose, distribute, print or copy any part of this message. If you believe you have received this message in error, please delete it and all copies of it from your system and notify the sender immediately by reply e-mail. Thank you.