Why am I seeing "Required context parameter missing" errors?

When running Coherence*Web on IBM WebSphere 5.1, you may see the following error message if you register a ServletContextAttributeListener in your application:

A required context parameter is missing in the ServletContext. This may be caused by a corrupt web.xml or by a Servlet container generating an invalid ServletContextEvent object for a ServletContext that is not fully initialized.

This is caused by WAS generating a ServletContextAttributeEvent that contains a ServletContext with missing context initialization parameters. These context parameters are required to properly initialize Coherence*Web.

To get around this issue, you must uninstall Coherence*Web from your application, remove any ServletContextAttributeListeners that you have registered in your web.xml, and then perform a full reinstall of Coherence*Web into your application (including the inspect and install steps.)