Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#1021 closed defect (fixed)

Unclosed DbControler

Reported by: Martin Svensson Owned by: Martin Svensson
Priority: major Milestone: BASE 2.6.3
Component: coreplugins Version: 2.6.2
Keywords: Cc:

Description

16:12:25,786  WARN DbControl:1078 - Found unclosed DbControl during finalize; isLoggedIn = true; clientId = 4; userId = 101
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:293)
        at net.sf.basedb.core.plugin.AbstractExporterPlugin.pathCanBeUsed(AbstractExporterPlugin.java:344)
        at net.sf.basedb.plugins.BioAssaySetExporter.configure(BioAssaySetExporter.java:148)
        at net.sf.basedb.core.PluginConfigurationRequest.invoke(PluginConfigurationRequest.java:114)
        at org.apache.jsp.common.plugin.index_jsp._jspService(index_jsp.java:463)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
        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 net.sf.basedb.clients.web.servlet.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:72)
        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:174)
        at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
        at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
        at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)
        at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)
        at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
        at java.lang.Thread.run(Thread.java:619)

Change History (3)

comment:1 Changed 14 years ago by Martin Svensson

Owner: changed from everyone to Martin Svensson
Status: newassigned

comment:2 Changed 14 years ago by Martin Svensson

Resolution: fixed
Status: assignedclosed

(In [4273]) Fixes #1021 Unclosed DbControl?

comment:3 Changed 14 years ago by Martin Svensson

(In [4274]) References #1021 Correct value is now returned by the pathCanBeUsed-method

Note: See TracTickets for help on using tickets.