You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2005/02/08 15:15:42 UTC

DO NOT REPLY [Bug 33445] New: - suspect that http session expiration fails in Tomcat

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33445>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33445

           Summary: suspect that http session expiration fails in Tomcat
           Product: Tomcat 5
           Version: 5.0.28
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: ggolden@umich.edu


Running our application we get reports like this in catalina.out:

SEVERE: An exception or error occurred in the container during the request processing
java.util.NoSuchElementException
        at java.util.HashMap$HashIterator.nextEntry(HashMap.java:785)
        at java.util.HashMap$KeyIterator.next(HashMap.java:818)
        at java.util.AbstractCollection.toArray(AbstractCollection.java:174)
        at org.apache.catalina.session.StandardSession.keys(StandardSession.java:1527)
        at org.apache.catalina.session.StandardSession.expire(StandardSession.java:709)
        at org.apache.catalina.session.StandardSession.isValid(StandardSession.java:569)
        at org.apache.coyote.tomcat5.CoyoteRequest.doGetSession(CoyoteRequest.java:2256)
        at org.apache.coyote.tomcat5.CoyoteRequest.getSession(CoyoteRequest.java:2116)
        at org.apache.coyote.tomcat5.CoyoteRequestFacade.getSession(CoyoteRequestFacade.java:526)
        at org.apache.catalina.authenticator.AuthenticatorBase.getSession(AuthenticatorBase.java:692)
        at org.apache.catalina.authenticator.AuthenticatorBase.getSession(AuthenticatorBase.java:675)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:423)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)

Following this, we see evidence that objects bound to http session state are not getting their automatic 
expiration unbound calls, thus messing up our application.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org