Hitting the login page of our application intermittently (approx 1 out of 200) returns a 404, file not found. Excerpt from accesslog: h92n1fls33o276.telia.com - - [22/May/2007:09:23:54 +0200] "GET /login/ HTTP/1.1" 200 588 h92n1fls33o276.telia.com - - [22/May/2007:09:23:54 +0200] "GET /login/Login.jsp HTTP/1.1" 404 1119 h92n1fls33o276.telia.com - - [22/May/2007:09:23:57 +0200] "GET /login/ HTTP/1.1" 200 588 h92n1fls33o276.telia.com - - [22/May/2007:09:23:57 +0200] "GET /login/Login.jsp HTTP/1.1" 200 3729 The first attempt of accessing Login.jsp fails. A reload succeds. The /login/ references a welcome file, index.jsp, containing an iframe referencing /login/Login.jsp It is an HTTPS connection. I have occasional reports of 404 failures wihin the application that a reload of the page cures.
Is there any code in the .jsp, a filter, etc. that could be throwing a FileNotFoundException? Tomcat incorrectly converts those to 404s.
(In reply to comment #1) > Is there any code in the .jsp, a filter, etc. that could be throwing a > FileNotFoundException? Tomcat incorrectly converts those to 404s. There is an include in the Login.jsp: <%@ include file="LoginLogic.jsp" %> ... with a relative path. Both Login.jsp and LoginLogic.jsp reside in the same directory \ROOT\login. But that would be resolved at compile time. Also there is a ResourceBundle rb= ResourceBundle.getBundle("txt.user", new Locale(lang)); With the user.txt. properties residing in \ROOT\WEB-INF\classes\txt
Please take a look at https://issues.apache.org/bugzilla/show_bug.cgi?id=43683 and see if it could explain this bug.
I am marking this as a duplicate of 43683 as that would explain this bug and there is no information that suggests an alternative cause. If further information is available, please feel free to re-open this issue. *** This bug has been marked as a duplicate of bug 43683 ***