You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by j r <jr...@gmail.com> on 2005/06/06 23:40:20 UTC
How do I change the error page being served while tomcat is starting up?
When I start tomcat, it takes approximately 1 minute to complete its
startup process. If apache is up during that period, the following
page gets served:
Service Temporarily Unavailable
The server is temporarily unable to service your request due to
maintenance downtime or capacity problems. Please try again later.
Apache Server at <<server name>> Port 80
For obvious reasons, I removed the server name and apache version. I
do not want either of these displayed to the customer. How can I
changed those?
I have tried to put the following in web.xml to no avail:
<error-page>
<error-code>404</error-code>
<location>/errors/joey.html</location>
</error-page>
<error-page>
<error-code>500</error-code>
<location>/errors/joey.html</location>
</error-page>
Any Ideas?
-jr
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org