Opened 16 years ago

Closed 16 years ago

#1140 closed defect (fixed)

Unclosed dbcontrol

Reported by: Martin Svensson Owned by: everyone
Priority: blocker Milestone: BASE 2.8.3
Component: web Version: 2.8.2
Keywords: Cc:

Description (last modified by Martin Svensson)

10:18:15,788  WARN DbControl:1078 - Found unclosed DbControl during finalize; isLoggedIn = true; clientId = 4; userId = 130
java.lang.Throwable: Please check the code to make sure that DbControl.close() is always called. Stacktrace of code that created this DbControl:
        at net.sf.basedb.core.DbControl.<init>(DbControl.java:142)
        at net.sf.basedb.core.SessionControl.newDbControl(SessionControl.java:294)
        at org.apache.jsp.filemanager.frameset_jsp._jspService(frameset_jsp.java:83)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at net.sf.basedb.clients.web.servlet.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:72)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
        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:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
        at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
        at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
        at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
        at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
        at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
        at java.lang.Thread.run(Thread.java:619)

Change History (2)

comment:1 by Martin Svensson, 16 years ago

Description: modified (diff)

comment:2 by Nicklas Nordborg, 16 years ago

Resolution: fixed
Status: newclosed

(In [4571]) Fixes #1140: Unclosed DbControl

Note: See TracTickets for help on using tickets.