Mantis Bugtracker

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003942 [Resin] minor always 03-12-10 11:55 01-19-11 11:10
Reporter emil View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 4.0.15 Product Version 3.1.10
  Product Build
Summary 0003942: lost sessions
Description (rep by bregnvig)

I get a lot IllegalStateExceptions, because the session is no longer valid.

java.lang.IllegalStateException: SessionImpl[abcNXQT1WSrpP56X1uACs,]: "can't call getAttribute() when session is no longer valid"

I catch the exception and examine the session. To help me with that, I have installed a HttpSessionListener to listen to the sessions life cycle. I can see all session that throw this exception has the same behaviour.

Session info: Created 2010-03-01 16:26:12. Destroyed: null null. Last accessed: 2010-03-01 16:28:10

The HttpSessionListener never registers that the session has been destroyed. And all the sessions that throws the IllegalStateException only lives for a short period.

It is not all sessions that are effected. I.e I have sessions that continues to exist after these session are destroyed.

Any help would really be appreciated.


I updated the version to 3.1.10 but I'm still experiencing the same problem.

Is there information I can give you that might help?

I can say that this problem only occurs during peak hour. I would guess that no more than 400 - 800 sessions exists at that time.
Steps To Reproduce
Additional Information java.lang.IllegalStateException: SessionImpl[abcsSLn60t-Od5LEWp_Cs,]: can't call getAttribute() when session is no longer valid.
  at com.caucho.server.session.SessionImpl.getAttribute(
  at com.caucho.server.session.SessionImpl.getValue(
  at com.caucho.jsp.PageContextImpl.getAttribute(
  at com.caucho.jsp.el.PageContextAttributeMap.get(
  at javax.el.MapELResolver.getValue(
  at com.caucho.jsp.el.PageContextELResolver.getValue(
  at com.caucho.el.ArrayResolverExpr.getValue(
  at com.caucho.el.PathExpr.getValue(
  at com.caucho.el.Expr.print(
  at _jsp._WEB_22dINF._tiles._layout__jsp$_CauchoFragment._jsp_fragment_1(
  at _jsp._WEB_22dINF._tiles._layout__jsp$_CauchoFragment._jsp_invoke(
  at com.caucho.jsp.JspFragmentSupport.invoke(
  at net.codeweasels.miniclub.web.taglib.PerformanceTag.doLoggingTag(
  at net.codeweasels.miniclub.web.taglib.AbstractIPortalTag.doTag(
  at _jsp._WEB_22dINF._tiles._layout__jsp._jspService(
  at com.caucho.jsp.JavaPage.service(
  at com.caucho.jsp.Page.pageservice(
  at com.caucho.server.dispatch.PageFilterChain.doFilter(
  at com.caucho.server.webapp.DispatchFilterChain.doFilter(
  at com.caucho.server.dispatch.ServletInvocation.service(
  at com.caucho.server.webapp.RequestDispatcherImpl.forward(
  at com.caucho.server.webapp.RequestDispatcherImpl.forward(
  at org.apache.struts.action.RequestProcessor.doForward(
  at org.apache.struts.tiles.TilesRequestProcessor.doForward(
  at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(
  at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(
  at org.apache.struts.action.RequestProcessor.process(
  at org.apache.struts.action.ActionServlet.process(
  at org.apache.struts.action.ActionServlet.doGet(
  at javax.servlet.http.HttpServlet.service(
  at javax.servlet.http.HttpServlet.service(
  at com.caucho.server.dispatch.ServletFilterChain.doFilter(
  at net.codeweasels.miniclub.web.util.filter.MenuIdFilter.doFilter(
  at com.caucho.server.dispatch.FilterFilterChain.doFilter(
  at net.codeweasels.miniclub.web.util.filter.RequestFilter.doFilter(
  at com.caucho.server.dispatch.FilterFilterChain.doFilter(
  at net.codeweasels.miniclub.web.util.filter.LastLoginFilter.doFilter(
  at com.caucho.server.dispatch.FilterFilterChain.doFilter(
  at net.codeweasels.miniclub.web.util.filter.IPortalFilter.doFilter(
  at com.caucho.server.dispatch.FilterFilterChain.doFilter(
  at com.caucho.server.webapp.WebAppFilterChain.doFilter(
  at com.caucho.server.dispatch.ServletInvocation.service(
  at com.caucho.server.hmux.HmuxRequest.handleRequest(
  at com.caucho.util.ThreadPool$Item.runTasks(
  at com.caucho.util.ThreadPool$
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
03-12-10 11:55 emil New Issue
01-19-11 11:10 ferg Assigned To  => ferg
01-19-11 11:10 ferg Status new => closed
01-19-11 11:10 ferg Resolution open => fixed
01-19-11 11:10 ferg Fixed in Version  => 4.0.15

Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
27 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker