https://issues.apache.org/bugzilla/show_bug.cgi?id=54507

            Bug ID: 54507
           Summary: Notification for expired session sent to still
                    initializing servlet context
           Product: Tomcat 7
           Version: 7.0.33
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: sverre.bosch...@topicus.nl
    Classification: Unclassified

The Tomcat backgroundprocess for expiring sessions does not wait for the
servlet context (application loaded by a filter) to be fully initialized. The
following stacktrace happens while Filter.init is still being executed (hence
the application is only partly initialized and shouldn't receive any work):

        at
org.apache.wicket.protocol.http.WebApplication.sessionUnbound(WebApplication.java:552)
        at
org.apache.wicket.session.HttpSessionStore$SessionBindingListener.valueUnbound(HttpSessionStore.java:465)
        at
org.apache.catalina.session.StandardSession.removeAttributeInternal(StandardSession.java:1800)
        at
org.apache.catalina.session.StandardSession.expire(StandardSession.java:865)
        at
org.apache.catalina.session.StandardSession.isValid(StandardSession.java:658)
        at
org.apache.catalina.session.ManagerBase.processExpires(ManagerBase.java:534)
        at
org.apache.catalina.session.ManagerBase.backgroundProcess(ManagerBase.java:519)
        at
org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1352)
        at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1530)
        at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1540)
        at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1540)
        at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1519)
        at java.lang.Thread.run(Thread.java:722)

-- 
You are receiving this mail because:
You are the assignee for the bug.

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

Reply via email to