You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by BugRat Mail System <to...@cortexity.com> on 2000/12/06 18:31:16 UTC

BugRat Report #538 has been filed.

Bug report #538 has just been filed.

You can view the report at the following URL:

   <http://znutar.cortexity.com/BugRatViewer/ShowReport/538>

REPORT #538 Details.

Project: Tomcat
Category: Bug Report
SubCategory: New Bug Report
Class: swbug
State: received
Priority: medium
Severity: non-critical
Confidence: public
Environment: 
   Release: 3.2 also 3.2b7
   JVM Release: Sun 1.3
   Operating System: Solaris
   OS Release: 7
   Platform: Java

Synopsis: 
Using an html file as the <location> in an <error-page> in web.xml causes a StackOverflowError.

Description:
Specifying an HTML file as the <location> of an <error-page>
causes tomcat to go into a loop of webpage requests, until 
it hits a StackOverflowError.

This problem doesn't occur if you specify a jsp page instead
of an HTML file.



java.lang.StackOverflowError
        at java.io.FileNotFoundException.(FileNotFoundException.java:62)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.(FileInputStream.java:64)
        at java.io.FileInputStream.(FileInputStream.java:95)
        at org.apache.tomcat.request.FileHandler.doService(StaticInterceptor.java:365)
        at org.apache.tomcat.core.Handler.service(Handler.java:286)
        at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
        at org.apache.tomcat.core.ContextManager.handleStatus(ContextManager.java:1049)
        at org.apache.tomcat.request.FileHandler.doService(StaticInterceptor.java:387)

repeat last 4 lines many, many times.

tomcat prints this to console many times before throwing this error:

2000-12-06 05:11:16 - Ctx( /Greeting ): 404 R( /Greeting + /index.htm + null) null

but nothing occurs in the error logs....