tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frank Duffner <Frank.Duff...@Innovations.de>
Subject Re: Problem with custom error pages for Error 500 - Workaround ?
Date Wed, 28 Apr 2004 12:48:55 GMT
my error pages are only html (they are just called jsp). I don't think 
they create exceptions.

The background is I want have a customized message the moment tomcat is 
restarted and
my webapp hasn't yet been loaded, which is actually only some seconds.

Frank


Matt Anderson wrote:

>Sorry Frank, I wasn't very clear was I. What I was saying was that in my
>case the custom error page was throwing an exception causing an error 500 to
>appear rather than showing the custom error page. I am not saying this is
>the case with your problem, but it is possible.
>
>What I am suggesting is going through your custom error jsp page and check
>that there is no possibility that it won't throw any exceptions.
>
>Matt
>
>-----Original Message-----
>From: Frank Duffner [mailto:Frank.Duffner@Innovations.de]
>Sent: Wednesday, April 28, 2004 10:26 PM
>To: Tomcat Users List
>Subject: Re: Problem with custom error pages for Error 500 - Workaround
>?
>
>
>Hi Matt,
>
>I'm not sure I understood. You mean problem is the jsp creates an
>exception or should I make it do that?
>
>  
>
>>I renamed my error pages to jsp (they are only html)
>>    
>>
>
>My problem is not about not having error 500 pages. but when I have them I
>want my custom error page shown.
>
>
>Frank
>
>
>Matt Anderson wrote:
>
>  
>
>>Hi Frank,
>>
>>I have had a similiar problem, the thing that I found was my error page in
>>your case would be server_error.jsp was also throwing an exception. Is
>>    
>>
>there
>  
>
>>any code with in server_error.jsp that may cause it to throw an exception?
>>    
>>
>I
>  
>
>>hope this info helps.
>>
>>Matt
>>
>>
>>    
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message