https://issues.apache.org/bugzilla/show_bug.cgi?id=49422
Mark Thomas <ma...@apache.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #3 from Mark Thomas <ma...@apache.org> 2010-06-14 14:47:38 EDT --- This was triggered by fixing bug47378 which implemented a spec mandated requirement for welcome file mapping. This has its issues - see that bug report and the linked Jetty discussion for details. The upshot is that welcome files are inherited from Tomcat's default web.xml and include index.jsp. Tomcat is (correctly as per the spec) matching the index.jsp welcome file to the JSP servlet which in turn is returning a 404 to the user since index.jsp doesn't exist. I have doubled checked the Servlet 3.0 spec wording on welcome files and I believe Tomcat is spec complaint here. I hate to bounce this one back to Hudson, but I think fixing this is going to require a change to Hudson. The simplest change is to switch the mapping to "/*" rather than "/". This effectively bypasses the welcome file process and ensures *all* requests are mapped to the desired servlet. Alternative options include: - requiring users to remove any global welcome files - setting an empty set of welcome files in Hudson's web.xml Since the desired behaviour is to map everything to the Stapler servlet and not use use welcome files then I would recommend switching to a mapping of "/*" since that will always bypass any welcome file settings as is desired in this case. I am closing this as invalid since Tomcat is implementing the spec correctly here. -- 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