Uploaded image for project: 'MyCoRe'
  1. MCR-1227

MCRLocaleServlet: MCRSessions are not closed

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 2015.11, 2016.02
    • Fix Version/s: 2016.06.0
    • Component/s: mycore-base
    • Labels:
      None
    • Sprint:

      Description

      Number of listed sessions in MIR grows extraordinary high (after one day we have more than 490 sessions and nobody is really working with this app). This seems to be a new problem, with 2016.02 I also have old sessions but not so many ...

      <session>
        <id>0930e7c7-fd87-47cb-a1e2-01535fdb9f41</id>
        <login>guest</login>
        <ip />
        <hostname>localhost</hostname>
        <createTime>1458046069404</createTime>
        <lastAccessTime>1458046069404</lastAccessTime>
        <loginTime>1458046069404</loginTime>
        <constructingStackTrace>
          <e c="org.mycore.common.MCRSession" f="MCRSession.java" m="<init>" l="133" />
          <e c="org.mycore.common.MCRSessionMgr$1" f="MCRSessionMgr.java" m="initialValue" l="70" />
          <e c="org.mycore.common.MCRSessionMgr$1" f="MCRSessionMgr.java" m="initialValue" l="67" />
          <e c="java.lang.ThreadLocal" f="ThreadLocal.java" m="setInitialValue" l="180" />
          <e c="java.lang.ThreadLocal" f="ThreadLocal.java" m="get" l="170" />
          <e c="org.mycore.common.MCRSessionMgr" f="MCRSessionMgr.java" m="getCurrentSession" l="89" />
          <e c="org.mycore.frontend.servlets.MCRLocaleServlet" f="MCRLocaleServlet.java" m="doGet" l="59" />
          <e c="javax.servlet.http.HttpServlet" f="HttpServlet.java" m="service" l="636" />
          <e c="javax.servlet.http.HttpServlet" f="HttpServlet.java" m="service" l="729" />
          <e c="org.apache.catalina.core.ApplicationFilterChain" f="ApplicationFilterChain.java" m="internalDoFilter" l="291" />
          <e c="org.apache.catalina.core.ApplicationFilterChain" f="ApplicationFilterChain.java" m="doFilter" l="206" />
          <e c="org.apache.tomcat.websocket.server.WsFilter" f="WsFilter.java" m="doFilter" l="52" />
          <e c="org.apache.catalina.core.ApplicationFilterChain" f="ApplicationFilterChain.java" m="internalDoFilter" l="239" />
          <e c="org.apache.catalina.core.ApplicationFilterChain" f="ApplicationFilterChain.java" m="doFilter" l="206" />
          <e c="org.mycore.frontend.filter.MCRWebAppBaseFilter" f="MCRWebAppBaseFilter.java" m="doFilter" l="46" />
          <e c="org.apache.catalina.core.ApplicationFilterChain" f="ApplicationFilterChain.java" m="internalDoFilter" l="239" />
          <e c="org.apache.catalina.core.ApplicationFilterChain" f="ApplicationFilterChain.java" m="doFilter" l="206" />
          <e c="org.mycore.frontend.filter.MCRRequestAuthenticationFilter" f="MCRRequestAuthenticationFilter.java" m="doFilter" l="42" />
          <e c="org.apache.catalina.core.ApplicationFilterChain" f="ApplicationFilterChain.java" m="internalDoFilter" l="239" />
          <e c="org.apache.catalina.core.ApplicationFilterChain" f="ApplicationFilterChain.java" m="doFilter" l="206" />
          <e c="org.mycore.frontend.filter.MCRRequestDebugFilter" f="MCRRequestDebugFilter.java" m="doFilter" l="60" />
          <e c="org.apache.catalina.core.ApplicationFilterChain" f="ApplicationFilterChain.java" m="internalDoFilter" l="239" />
          <e c="org.apache.catalina.core.ApplicationFilterChain" f="ApplicationFilterChain.java" m="doFilter" l="206" />
          <e c="org.apache.logging.log4j.web.Log4jServletFilter" f="Log4jServletFilter.java" m="doFilter" l="71" />
          <e c="org.apache.catalina.core.ApplicationFilterChain" f="ApplicationFilterChain.java" m="internalDoFilter" l="239" />
          <e c="org.apache.catalina.core.ApplicationFilterChain" f="ApplicationFilterChain.java" m="doFilter" l="206" />
          <e c="org.apache.catalina.core.StandardWrapperValve" f="StandardWrapperValve.java" m="invoke" l="217" />
          <e c="org.apache.catalina.core.StandardContextValve" f="StandardContextValve.java" m="invoke" l="106" />
          <e c="org.apache.catalina.authenticator.AuthenticatorBase" f="AuthenticatorBase.java" m="invoke" l="502" />
          <e c="org.apache.catalina.core.StandardHostValve" f="StandardHostValve.java" m="invoke" l="142" />
          <e c="org.apache.catalina.valves.ErrorReportValve" f="ErrorReportValve.java" m="invoke" l="79" />
          <e c="org.apache.catalina.valves.AbstractAccessLogValve" f="AbstractAccessLogValve.java" m="invoke" l="616" />
          <e c="org.apache.catalina.core.StandardEngineValve" f="StandardEngineValve.java" m="invoke" l="88" />
          <e c="org.apache.catalina.connector.CoyoteAdapter" f="CoyoteAdapter.java" m="service" l="518" />
          <e c="org.apache.coyote.ajp.AbstractAjpProcessor" f="AbstractAjpProcessor.java" m="process" l="844" />
          <e c="org.apache.coyote.AbstractProtocol$AbstractConnectionHandler" f="AbstractProtocol.java" m="process" l="673" />
          <e c="org.apache.tomcat.util.net.NioEndpoint$SocketProcessor" f="NioEndpoint.java" m="doRun" l="1500" />
          <e c="org.apache.tomcat.util.net.NioEndpoint$SocketProcessor" f="NioEndpoint.java" m="run" l="1456" />
          <e c="java.util.concurrent.ThreadPoolExecutor" f="ThreadPoolExecutor.java" m="runWorker" l="1142" />
          <e c="java.util.concurrent.ThreadPoolExecutor$Worker" f="ThreadPoolExecutor.java" m="run" l="617" />
          <e c="org.apache.tomcat.util.threads.TaskThread$WrappingRunnable" f="TaskThread.java" m="run" l="61" />
          <e c="java.lang.Thread" f="Thread.java" m="run" l="745" />
        </constructingStackTrace>
      </session>
      

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                yagee Thomas Scheffler
                Reporter:
                mcrkrebs Kathleen Neumann
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: