This content has been marked as final.
Show 1 reply
-
1. Re: Apache Jboss and 500 Error
mp911de Jun 29, 2011 12:40 AM (in response to gkrishna101)Hi Ganesh,
the best way to handle real 500 errors is to define an error-page in your web.xml
<error-page>
<error-code>500</error-code>
<location>/someerror.html</location>
</error-page>
Bit when your server is down, it results to a 503 error. Then you can add to your Apache config:
ErrorDocument 503 /service/server-down.html
Best regards,
Mark