tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher K. St. John" <...@distributopia.com>
Subject IOException, <error-page>, etc.
Date Thu, 07 Feb 2002 15:41:58 GMT

 Tomcat 4 will never match:

  <error-page>
    <exception-type> java.io.IOException </exception-type>
    <location> /ioexception.html </location>
  </error-page>

 because all servlet-generated IOExceptions are silently
swallowed up by StandardWrapperValve before they get a
chance to be handled by the ErrorReportValve. (or the
ErrorReportValve, you don't even get the default stack
trace page)

 This strikes me as bad, but there are comments in the
StandardWrapperValve code that indicate it's intentional.

 I've searched fruitlessly (google, list archives, cvs
comments, etc) for any hints about why Tomcat would
want to do this. 

 Is is a bug or a feature? If it's a bug, I'll happily
submit a bugreport and patch. If it's a feature,  what's
the rationale?

 Thanks,

-- 
Christopher St. John cks@distributopia.com
DistribuTopia http://www.distributopia.com

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message