tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <>
Subject RE: error page for error code 500?
Date Tue, 04 Feb 2003 04:01:07 GMT

On Tue, 4 Feb 2003, Chong, Kwong wrote:

> Date: Tue, 4 Feb 2003 09:04:42 +1100
> From: "Chong, Kwong" <>
> Reply-To: Tomcat Users List <>
> To: 'Tomcat Users List' <>
> Subject: RE: error page for error code 500?
> Doesn't error 500 means the server (tomcat) isn't responding?
> in which case, if there's a problem with tomcat, it can't then process the
> request to tell you there's a problem ;)

By far the most common cause is that Tomcat is running fine, but your
servlet or JSP page threw an exception.  The only way to know for sure is
to examine the exception traceback that is presented in the response
and/or in the log files created by Tomcat in the $CATALINA_HOME/logs

Just for fun, run the following JSP page and see what you get:

    int i = 5;
    int j = 0;
    int k = i / j;

and examine the stack trace that shows up (a divide by zero error).
That's an application programming error, and nothing to do with the


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message