Home Page   

Error Handling Set up.

If the BEA service is running but one of the applications running under BEA has an error that is not handled by BEA or Click2Gov,  we can set the applications to go to a default application and error page.

This document describes one method of handling these types of errors.

  1. Create a default application to handle errors.  Click2Gov can supply a generic error handling application if necessary.
  2. Create a default error page ( errorPage.html ).  Click2Gov can supply a simple page or template.
  3. Copy default error page to each applications web folder.
  4. Add the following entry to each applications web.xml file :

<error-page>
<error-code>404</error-code>
<location>./errorPage.html</location>
</error-page>

     5. Stop and re-start the BEA service.

The default application will handle calls to non-existant or non deployed web applications. 

The default web pages will handle "File not found errors within the web applications.  All errors that are handled by BEA or by the Click2Gov applications will NOT use these web pages.