You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Saurabh Gupta (JIRA)" <ji...@apache.org> on 2010/01/13 09:30:54 UTC

[jira] Commented: (DBCP-278) DBCP object created 2008-04-08 20:04:03 by the following code was never closed:

    [ https://issues.apache.org/jira/browse/DBCP-278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12799653#action_12799653 ] 

Saurabh Gupta commented on DBCP-278:
------------------------------------

Hi jira,

i am also facing this problem code is running properly at one system but
another system it is showing this type of error

=======
DBCP object created 2010-01-12 18:05:17 by the following code was never
closed:
java.lang.Exception
at
org.apache.tomcat.dbcp.dbcp.AbandonedTrace.setStackTrace(AbandonedTrace.java:160)
at
org.apache.tomcat.dbcp.dbcp.AbandonedObjectPool.borrowObject(AbandonedObjectPool.java:86)
 at
org.apache.tomcat.dbcp.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:96)
at
org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880)
 at khh.web.servlets.ApplicationServlet.getConnection(Unknown Source)
at
khh.web.servlets.action.client.ManageRoomState.updateHotelTicketConfirmed(Unknown
Source)
 at khh.web.servlets.action.client.ManageRoomState.handleRequest(Unknown
Source)
at khh.web.servlets.ClientActionServlet.doHandle(Unknown Source)
 at khh.web.servlets.ApplicationServlet.doGet(Unknown Source)
at khh.web.servlets.ApplicationServlet.doPost(Unknown Source)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
 at khh.web.filters.ResponseHeaderFilter.doFilter(Unknown Source)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
 at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
 at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
 at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
 at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
 at java.lang.Thread.run(Thread.java:595)
===========

Can You please help me to resolve this error.

-- 
-----------
Thanks and Regards
Saurabh Gupta
Software Engineer
Wit Innovation Technologies Pvt. Ltd.
#114, 52/1, Krishna Reddy Building,
Opp Spencer’s
24th Main, Parangipalya
HSR Layout Sector 2
Bangalore – 560 102
India
Mobile: +91-9986906031
Tel:    +91-80-32476611
www.witinnovation.com
************************************************************************************
DISCLAIMER:
This communication is confidential and privileged and is directed to and for
the use of the addressee only. The recipient if not the addressee should not
use this message if erroneously received, and access and use of this e-mail
in any manner by anyone other than the addressee is unauthorized. The
recipient acknowledges that Wit Innovation Technologies may be unable to
exercise control or ensure or guarantee the integrity of the text of the
email message and the text is not warranted as to completeness and accuracy.
Before opening and accessing the attachment, if any, please check and scan
for virus.


> 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.