Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Error page ignored

0 views
Skip to first unread message

Paul Croarkin

unread,
Jan 7, 2005, 3:32:40 PM1/7/05
to
web.xml has:

<error-page>
<error-code>500</error-code>
<location>error.jsp</location>
</error-page>

but, we are still getting:

Error 500--Internal Server Error

java.lang.StackOverflowError
at java.lang.String.(String.java:422)
at java.lang.StringBuffer.toString(StringBuffer.java:1235)
at java.lang.Throwable.toString(Throwable.java:344)
at java.lang.String.valueOf(String.java:2177)
..

showing via the weblogic error page rather than our custom error page.

We've stripped the error.jsp down to:

<%@ page isErrorPage="true" %>

<h1>Custom Error Page</h1>

Anders Mathisen

unread,
Jan 13, 2005, 9:50:55 AM1/13/05
to
if this is within a pageflow, try the pageflow error handling routines.

I would guess the pageflow framework snaps the error before it is provided to the servlet engine.

http://e-docs.bea.com/workshop/docs81/doc/en/workshop/guide/netui/guide/conHandlingExceptions.html

- Anders M.

0 new messages