7.6.1.4 Configure WebSphere Application Server to Initialize Filters before Initializing Load-On-Startup Servlets and Allowing Empty Servlets Maps

The custom configuration information in this section initializes the filters before initializing load-onstartup servlets and allows empty servlet maps when you start an application.

To configure custom properties for filters, follow these steps:
This is a mandatory configuration for OFSAA with WebSphere for both fresh and upgrade installation.
  1. Enter the WebSphere URL in the format http://HOST_NAME:PORT_ NUMBER/ibm/console (use https if SSL is enabled.). For example, http://192.168.1.0:9000/ibm/console.
  2. Log in with your administrator user ID and password.
  3. From the left menu, click Servers to expand the menu.
  4. Click Server Types to expand the menu further and then click WebSphere Enterprise Application Servers to view the Application servers window.
  5. On the Application servers window, click the required Application Server link.
  6. Click Web Container Settings and then Custom Properties to view the Custom Properties window.
    Web Container Initialize Filters Before Servlet

    Figure 7-6 Web Container Initialize Filters Before Servlet


    This illustration is an example for the Web Container Initialize Filters Before Servlet. Click Web Container Settings and then Custom Properties to view the Custom Properties window.

  7. Click New and enter the following properties:
    • com.ibm.ws.webcontainer.initFilterBeforeInitServlet to true.
    • com.ibm.ws.webcontainer.invokeFilterInitAtStartup to true.
    • com.ibm.ws.webcontainer.emptyServletMappings to true.
  8. Click OK and then click Save on the Console to save the customized configurations.
  9. Restart the WebSphere Application Server to apply the changes.