commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filip Hanik - Dev Lists <devli...@hanik.com>
Subject Re: DBCP - Where does logAbandoned log?
Date Thu, 18 Oct 2007 21:32:46 GMT
you must also set

*removeAbandoned*="true"

Filip

Wm.A.Stafford wrote:
> I am trying to track down a connection leak in a Tomcat app that uses 
> dbcp.  I was hoping that logging abandoned connections would give some 
> clue as to where the leak is occurring.  I set logAbandoned to be true 
> and removeAbandonedTimeout to 30. I  added Connection c = 
> getConnection() with no c.close() to a servlet.  I was expecting to 
> see some sort of logging whenever this servlet handled a request but I 
> have seen nothing in any of the usual logs.  Where do the stack traces 
> get logged?  Is my test case sufficient to cause logging?  I am using 
> dbcp1.2.2.
>
> Thanks,
> -=bill
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message