HTTP Status 500 - Request processing failed; nested exception is org.apache.catalina.session.TooManyActiveSessionsException: createSession: Too many active sessions


type Exception report

message Request processing failed; nested exception is org.apache.catalina.session.TooManyActiveSessionsException: createSession: Too many active sessions

description The server encountered an internal error that prevented it from fulfilling this request.

exception

org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.apache.catalina.session.TooManyActiveSessionsException: createSession: Too many active sessions
	org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:986)
	org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:870)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
	org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:855)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	com.haufe.portals.social.web.DefaultTenantFilter.doFilter(DefaultTenantFilter.java:46)
	org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:208)
	org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:177)
	org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200)
	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
	com.haufe.coremedia.cae.servletfilter.MappedDiagnosticContextInjectionFilter.doHttpRequestFilter(MappedDiagnosticContextInjectionFilter.java:65)
	com.haufe.coremedia.cae.servletfilter.MappedDiagnosticContextInjectionFilter.doFilter(MappedDiagnosticContextInjectionFilter.java:54)

root cause

org.apache.catalina.session.TooManyActiveSessionsException: createSession: Too many active sessions
	org.apache.catalina.session.ManagerBase.createSession(ManagerBase.java:760)
	org.apache.catalina.connector.Request.doGetSession(Request.java:3114)
	org.apache.catalina.connector.Request.getSession(Request.java:2441)
	org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:897)
	javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:229)
	javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:229)
	javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:229)
	javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:238)
	org.apache.jasper.runtime.PageContextImpl._initialize(PageContextImpl.java:147)
	org.apache.jasper.runtime.PageContextImpl.initialize(PageContextImpl.java:126)
	org.apache.jasper.runtime.JspFactoryImpl.internalGetPageContext(JspFactoryImpl.java:111)
	org.apache.jasper.runtime.JspFactoryImpl.getPageContext(JspFactoryImpl.java:64)
	org.apache.jsp.WEB_002dINF.templates.com_haufe_portals_cae_pages.DetailPage_asSuppressCookieBanner_jsp._jspService(DetailPage_asSuppressCookieBanner_jsp.java:77)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:439)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
	com.coremedia.objectserver.view.WebappResourceView.render(WebappResourceView.java:41)
	com.coremedia.objectserver.view.WebappResourceView.render(WebappResourceView.java:64)
	com.coremedia.objectserver.view.ViewDecoratorBase$DecoratingBaseView.render(ViewDecoratorBase.java:344)
	com.coremedia.objectserver.view.ViewDecoratorBase$DecoratingServletAndTextView.render(ViewDecoratorBase.java:420)
	com.coremedia.objectserver.view.ViewUtils.render(ViewUtils.java:164)
	com.coremedia.objectserver.view.ViewUtils.render(ViewUtils.java:105)
	com.coremedia.objectserver.web.taglib.IncludeSupport.include(IncludeSupport.java:56)
	com.coremedia.objectserver.web.taglib.IncludeSupport.doEndTag(IncludeSupport.java:49)
	org.apache.jsp.WEB_002dINF.templates.com_haufe_portals_cae_pages.Page_htmlHead_jsp._jspx_meth_cm_005finclude_005f1(Page_htmlHead_jsp.java:494)
	org.apache.jsp.WEB_002dINF.templates.com_haufe_portals_cae_pages.Page_htmlHead_jsp._jspService(Page_htmlHead_jsp.java:162)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:439)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
	com.coremedia.objectserver.view.WebappResourceView.render(WebappResourceView.java:41)
	com.coremedia.objectserver.view.WebappResourceView.render(WebappResourceView.java:64)
	com.coremedia.objectserver.view.ViewDecoratorBase$DecoratingBaseView.render(ViewDecoratorBase.java:344)
	com.coremedia.objectserver.view.ViewDecoratorBase$DecoratingServletAndTextView.render(ViewDecoratorBase.java:420)
	com.coremedia.objectserver.view.ViewUtils.render(ViewUtils.java:164)
	com.coremedia.objectserver.view.ViewUtils.render(ViewUtils.java:105)
	com.coremedia.objectserver.web.taglib.IncludeSupport.include(IncludeSupport.java:56)
	com.coremedia.objectserver.web.taglib.IncludeSupport.doEndTag(IncludeSupport.java:49)
	org.apache.jsp.WEB_002dINF.templates.com_haufe_portals_cae_pages.Page_jsp._jspx_meth_cm_005finclude_005f0(Page_jsp.java:138)
	org.apache.jsp.WEB_002dINF.templates.com_haufe_portals_cae_pages.Page_jsp._jspService(Page_jsp.java:95)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:439)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	com.coremedia.objectserver.view.WebappResourceView.render(WebappResourceView.java:43)
	com.coremedia.objectserver.view.ViewDecoratorBase$DecoratingBaseView.render(ViewDecoratorBase.java:335)
	com.coremedia.objectserver.view.ViewDecoratorBase$DecoratingServletAndTextView.render(ViewDecoratorBase.java:415)
	com.coremedia.objectserver.view.ViewUtils.render(ViewUtils.java:140)
	com.coremedia.objectserver.view.ViewUtils.render(ViewUtils.java:92)
	com.coremedia.objectserver.view.BeanView.renderMergedOutputModel(BeanView.java:86)
	org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:314)
	org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1325)
	org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1069)
	org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1008)
	com.coremedia.objectserver.web.DispatcherServlet.doDispatch(DispatcherServlet.java:69)
	org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:925)
	org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:978)
	org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:870)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
	org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:855)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	com.haufe.portals.social.web.DefaultTenantFilter.doFilter(DefaultTenantFilter.java:46)
	org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:208)
	org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:177)
	org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200)
	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
	com.haufe.coremedia.cae.servletfilter.MappedDiagnosticContextInjectionFilter.doHttpRequestFilter(MappedDiagnosticContextInjectionFilter.java:65)
	com.haufe.coremedia.cae.servletfilter.MappedDiagnosticContextInjectionFilter.doFilter(MappedDiagnosticContextInjectionFilter.java:54)

note The full stack trace of the root cause is available in the Apache Tomcat/7.0.82 logs.


Apache Tomcat/7.0.82