tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henri Gomez <hgo...@apache.org>
Subject Re: Internal Server Error, ErrorDocument does not work using mod_jk2 and servlet engine stopped
Date Thu, 30 Oct 2003 11:03:02 GMT
Bernhard Erdmann a écrit :

> Hi,
> 
> how can I customize Apache's error page if mod_jk2 does not get a usable
> worker (Tomcat is down)?
> 
> Using Apache 2.0.47, mod_jk2 2.0.2 and Tomcat 4.1.24 running on Linux I
> get an error message when the servlet engine is stopped (Tomcat is
> down):
> 
> 
> The servlet container is temporary unavailable or being upgraded
> Internal Server Error
> 
> The server encountered an internal error or misconfiguration and was
> unable to complete your request.
> 
> Please contact the server administrator, admin@company.com and inform
> them of the time the error occurred, and anything you might have done
> that may have caused the error.
> 
> More information about this error may be available in the server error
> log.
> 
> Additionally, a 500 Internal Server Error error was encountered while
> trying to use an ErrorDocument to handle the request.
> 
> 
> httpd.conf defines:
> 
> ErrorDocument 500 /error/HTTP_INTERNAL_SERVER_ERROR.html.var
> 
> This document (HTTP_INTERNAL_SERVER_ERROR.html.var) is shown when I try
> to execute a CGI script missing its x-bit in filesystem access rights.
> 
> 
> The first sentence ("The servlet container is temporary unavailable or
> being upgraded") comes from mod_jk2
> (jakarta-tomcat-connectors-jk2-2.0.2-src/jk/native2/common/jk_worker_lb.c):
> 
> #define NO_WORKER_MSG "The servlet container is temporary unavailable or
> being upgraded\n";

Do you want this message to be configurable on Apache or jk2 side ?


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


Mime
View raw message