Initialize Filters

Configure WebSphere Application server to Initialize Filters before initializing Load-On-Startup Servlets and allowing empty servlets maps.

This is a mandatory configuration for OFSAA with WebSphere for both fresh installations and upgrades.
To configure the custom properties for filters:
  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 10-6 Web Container Initialize Filters Before Servlet


    Web Container Initialize Filters Before Servlet

  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.