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=30344>.
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=30344

HttpSessionActivationListener[s] called before ServletContextListner[s] during 
HttpSession reloading

           Summary: HttpSessionActivationListener[s] called before
                    ServletContextListner[s] during HttpSession reloading
           Product: Tomcat 5
           Version: 5.0.27
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Unknown
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


During HttpSession reloading HttpSessionActivationListener[s] are notified
*before* ServletContextListner[s]. This occurs during Tomcat startup and context
reloading. IMHO this is a bug. Objects bound into HttpSession on session
activation (e.g. after distributed session migration or reloading) typically
expect that ServletContext is already created and properly configured - as in
distributed session migration scenario. Spec does not madate anything like that
explicitly, however my intuition is so (see SRV.3.7 in Servlet 2.4). I'll attach
test-case WAR after submission.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to