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 2010/09/12 11:53:12 UTC
DO NOT REPLY [Bug 49917] New: Wrong invocation sequence of
javax.servlet.ServletRequestListener after request
https://issues.apache.org/bugzilla/show_bug.cgi?id=49917
Summary: Wrong invocation sequence of
javax.servlet.ServletRequestListener after request
Product: Tomcat 6
Version: 6.0.29
Platform: All
OS/Version: All
Status: NEW
Severity: minor
Priority: P2
Component: Catalina
AssignedTo: dev@tomcat.apache.org
ReportedBy: erling.molde@infored.no
org.apache.catalina.core.StandardContextValve.invoke(Request, Response):
javax.servlet.ServletRequestListener instances are called in the same sequence
after (requestDestroyed) the request as they are before (requestInitialized).
I suspect this is an error, as other listeners are called in reverse order on
exit.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49917] Wrong invocation sequence of
javax.servlet.ServletRequestListener after request
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49917
--- Comment #1 from Chuck Caldarale <ch...@unisys.com> 2010-09-12 09:57:00 EDT ---
(In reply to comment #0)
> javax.servlet.ServletRequestListener instances are called in the same sequence
> after (requestDestroyed) the request as they are before (requestInitialized).
As stated in SRV.10.3.3 of the spec:
"The Web container registers the listener instances according to the interfaces
they implement and the order in which they appear in the deployment descriptor.
During Web application execution, listeners are invoked in the order of their
registration."
Section SRV.10.3.4 of the spec explicitly states reverse invocations is done
only for shutdown events:
"On application shutdown, listeners are notified in reverse order to their
declarations with notifications to session listeners preceeding [sic]
notifications to context listeners. Session listeners must be notified of
session invalidations prior to context listeners being notified of application
shutdown."
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49917] Wrong invocation sequence of
javax.servlet.ServletRequestListener after request
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49917
Chuck Caldarale <ch...@unisys.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org