Mantis - Resin
Viewing Issue Advanced Details
1325 major always 09-01-06 06:38 06-21-07 17:19
slonopotamus any  
ferg any  
normal any  
closed 3.0.21  
fixed  
none    
none 3.1.2  
0001325: Wrong error-page handling
Java Servlet Specification v. 2.4:
SRV.9.9.3 Error Filters
The error page mechanism operates on the original unwrapped/unfiltered request
and response objects created by the container.

JBoss and Sun Java Application Server do this.
But Resin (and, actually, Jetty too) does error handling in filtered request.
Deploy http://slonopotamus.org/error-page-bug.war [^] and open any nonexistent page.
On System.err you'll get:
before chain
before chain
in error page
after chain
after chain

Expected output:
before chain
after chain
before chain
in error page
after chain

Notes
(0001494)
slonopotamus   
09-01-06 06:40   
Please, view this issue in Advanced mode, because there are steps to reproduce.
(0001495)
slonopotamus   
09-01-06 08:03   
Same issue in Jetty: http://jira.codehaus.org/browse/JETTY-105 [^]
(0001761)
slonopotamus   
02-12-07 12:45   
Hello?
(0002077)
ferg   
06-21-07 17:19   
server/10s{o,p}