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

--- Comment #6 from Pete Muir <pm...@bleepbleep.org.uk> 2010-10-10 11:47:10 EDT 
---
(Unfortunately) the Servlet spec provides no guarantees of the behaviour of
request listeners if a forward occurs e.g. for FORM auth or to an error page.
Tomcat (and derivatives such as Grizzly and JBossWeb) don't call request
listeners around forwards, so Weld's listeners do not get fired.

This can either be fixed in Tomcat by calling listeners around forwards (when I
spoke to the Servlet EG lead about this, they indicated that they would look at
specifying that there is some listener called around forwards in the future) or
in Weld's Tomcat support by using Tomcat APIs to get a callback when forwards
occur. 

Mark/anyone on the Tomcat team, if you don't want to make Tomcat call the
request listeners around forwards, then we can do some custom hooks in the
Weld/Tomcat integration code to get the needed callback. In this case, could
the OP file an issue in the WELD issue tracker on http://jira.jboss.org.

-- 
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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to