tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 46243] Filter init() fails, still put into service
Date Wed, 26 Aug 2009 20:09:36 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=46243



--- Comment #4 from Christopher Schultz <chris@christopherschultz.net> 2009-08-26 13:09:32
PDT ---
Boy, is /my/ face red. Hiding in SecurityFilter.init() is this nugget:

      } catch (Exception e) {
         System.err.println("error: " + e);
         e.printStackTrace();
      }

Ugh. I could see the exception stack trace and was assuming that Tomcat was
writing it out to stdout. Instead, the filter is ruining its own day, and
should be throwing the original exception wrapped in a ServletException,
getting the desired result.

Tomcat is operating exactly as I had expected.

Apologies for the spurious report. Glad it generated a test case, though :)

-- 
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


Mime
View raw message