You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Catherine Jung <Ca...@vcint.com> on 2001/07/27 10:22:07 UTC
RE: BugRat Report #538 - Using an html file as the in
an in web.xml causes a StackOverflowError.
Sorry - I've got no idea if it's been fixed in a later version - I've
switched jobs and my new company uses Resin instead of Tomcat.....
You could try searching the mailing list archives - but your best bet is
probably to upgrade (or just work round it and use a jsp page instead...)
Good Luck!
Catherine
> -----Original Message-----
> From: BugRat Mail System [SMTP:tomcat-bugs@cortexity.com]
> Sent: Friday, July 27, 2001 4:16 AM
> To: Catherine Jung; gordon@b-bop.com; ashwin@b-bop.com
> Subject: BugRat Report #538 - Using an html file as the <location> in
> an <error-page> in web.xml causes a StackOverflowError.
>
> ----- Sender's Comment -----
> Hey Catherine,
> I saw this bug report on the website. Is this been fixed yet.
> I am using tomcat 3.2.1 and running into the same error.
> Hope you can provide me some pointers.
> Ashwin
> B-Bop Associates
> ashwin@b-bop.com
> ----- End Of Sender's Comment ---------------------------
> Report 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:104
> 9)
> 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.... << File: DataSource attachment
> 'Report-538.html' >>