Are you sure it is running against the code you think it is running against. Try changing something that is output to the log files and make sure you see this change before the abandoned stack trace is thrown.
> -----Original Message----- > From: sasidhar prabhakar [mailto:sasidhar1...@gmail.com] > Sent: 04 November 2010 12:35 > To: Tomcat Users List > Subject: Re: DBCP abandoned trace - unable to understand the leak > > The class is fine but in log it is showing this one. Here everything closed > fine. > Then why it is showing like this > > DBCP object created 2010-11-04 11:07:59 by the following code was never > closed: > java.lang.Exception > at > org.apache.tomcat.dbcp.dbcp.AbandonedTrace.setStackTrace(AbandonedTrace. java:1 > 60) > at > org.apache.tomcat.dbcp.dbcp.AbandonedObjectPool.borrowObject(AbandonedOb jectPo > ol.java:86) > at > org.apache.tomcat.dbcp.dbcp.PoolingDataSource.getConnection(PoolingDataS ource. > java:96) > at > org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSourc e.java > :880) > *at SponserSummaryDAO.getCountryName(SponserSummaryDAO.java:304) > at SponserSummaryBO.getCountryName(SponserSummaryBO.java:61) > at SignUpAction.execute(SignUpAction.java:52)* > at > org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr ocesso > r.java:425) > at > org.apache.struts.action.RequestProcessor.process(RequestProcessor.java: 228) > at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) > at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica tionFi > lterChain.java:290) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt erChai > n.java:206) > at RedirectFilter.doFilter(RedirectFilter.java:56) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica tionFi > lterChain.java:235) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt erChai > n.java:206) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv e.java > :233) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv e.java > :191) > at > org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticator Base.j > ava:433) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java :128) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java :102) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve. java:1 > 09) > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2 93) > at > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:84 9) > at > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process( Http11 > Protocol.java:583) > at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454) > at java.lang.Thread.run(Thread.java:595) > > If anything else, what are the possible connection leaks may occur in java. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org