Ok, I've narrowed it down to the 401 error code. If that is defined in the web.xml, all apps that authenticate will automatically show the 401 error page without prompting for credentials.
Is this a bug in tomcat? I tried the same on tomcat-5.0.30 with the same results. Please help, Dustin --- Dustin <[EMAIL PROTECTED]> wrote: > Hey all. Very bizzare problem here. > > I am running tomcat-5.0.28. I am trying to set up > custom error pages. > > I originally set up a 404 error page for testing > (the > error-page elements are in the server web.xml, not > in > the app's web.xml): > > <error-page> > <error-code>404</error-code> > <location>/errors/404-SNAPSHOT.jsp</location> > </error-page> > > Put the jsp files in place (both in the ROOT webapp > dir and my app's war) and everything worked great. > However, as soon as I added additional error-page > elements and restarted tomcat, things broke. > > <error-page> > <error-code>404</error-code> > <location>/errors/404-SNAPSHOT.jsp</location> > </error-page> > <error-page> > <error-code>401</error-code> > <location>/errors/401-SNAPSHOT.jsp</location> > </error-page> > > Now my manager won't come up at all. A request to > http://host:8080/manager/html/list displays a blank > page. No authorization attempted. > > A request to another app that uses authorization > (http://host:8080/auth-app/) pulls up the 401 > Unauthorized page even though I was never prompted > for > credentials. > > A request to an app that has no authentication comes > up just fine. > > I remove all but one of the error-page elements and > everything is back to normal. > > Any ideas? > > Thanks, > Dustin > > > > __________________________________ > Do you Yahoo!? > Make Yahoo! your home page > http://www.yahoo.com/r/hs > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]