Summary: | Dir listing crashes if no readme-file present | ||
---|---|---|---|
Product: | Tomcat 6 | Reporter: | Dr. Albrecht Weinert <albrecht> |
Component: | Catalina | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | albrecht |
Priority: | P2 | ||
Version: | 6.0.14 | ||
Target Milestone: | default | ||
Hardware: | Sun | ||
OS: | Windows Server 2003 | ||
URL: | http://www.a-weinert.de | ||
Attachments: | Patch to DefaultServlet.java |
Description
Dr. Albrecht Weinert
2008-02-01 01:54:32 UTC
Created attachment 21461 [details]
Patch to DefaultServlet.java
Patch is for tomcat6 trunk.
When the readme resource is not found. A NamingException is thrown instead of
assuming null is returned.
Patch eats the NamingException and returns null as well as optionally logs it
if debugging turned up very high.
Same condition can occur with the localxslt lookup.
applied to version 6.0.17+ |