IBM Support

PH16593: APPLICATION WITH DUPLICATE SERVLET-URL MAPPING FAILS TO DEPLOY IN VERSION 9

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

APAR status

  • Closed as program error.

Error description

  • WebSphere Application Server V9 implements Servlet 3.1. The
    Servlet 3.1 specification provided some clarifications. For
    example, more than one servlet cannot be mapped to the same URL.
     In WebSphere Application Server 8.5.5 an application with a
    duplicate servlet-url mapping deploys successfully. However, in
    Version 9, the application fails to deploy. An error message
    similar to the following is displayed in the SystemOut.log:
    
    
    
        [7/19/19 8:41:19:853 EEST] 00000001 webfragmerger E
    WebFragMergerImpl processExceptions Web fragment merge
    processing error [
    com.ibm.ws.webfragmerger.action.ServletFragMergeAction@db0c5540
    ]: (com.ibm.wsspi.webfragmerger.WebFragMergerException: Error:
    Web module [ WEB-INF/web_merged.xml ] maps URL [ < a url > ] to
    servlet [ < A Servlet > ]. The URL is already mapped to servlet
    [ < B Servlet >])
    

Local fix

  • The fix causes the deployment code to ignore the duplicate
    servlet mapping. However, since the web_merged.xml is included
    in the application, a new one is not generated. This means the
    runtime (web container) code will still see the duplicate url
    mapping, which means we will need a fix from the web container
    team.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere                  *
    *                  Application Server 9.0 having an            *
    *                  application with multiple servlets mapped   *
    *                  to the same URL                             *
    ****************************************************************
    * PROBLEM DESCRIPTION: Application with multiple servlets      *
    *                      mapped to the same servlet fails to     *
    *                      deploy                                  *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    An application fails to deploy, and a message similar to the
    following is displayed in the SystemOut.log:
    [7/19/19 8:41:19:853 EEST] 00000001 webfragmerger E
    WebFragMergerImpl processExceptions Web fragment merge
    processing error [
    com.ibm.ws.webfragmerger.action.ServletFragMergeAction@db0c5540
    ]: (com.ibm.wsspi.webfragmerger.WebFragMergerException: Error:
    Web module [ WEB-INF/web_merged.xml ] maps URL [ < a url > ] to
    servlet [ < A Servlet > ]. The URL is already mapped to servlet
    [ < B Servlet >])
    WebSphere Application Server V9 implements Servlet 3.1. The
    Servlet 3.1 specification provided some clarifications. For
    example, multiple servlets cannot be mapped to the same URL.
    In WebSphere Application Server 8.5.5 an application with a
    duplicate servlet-url mapping deploys successfully. However, in
    Version 9, the application fails to deploy.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PH16593

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-09-09

  • Closed date

    2019-10-30

  • Last modified date

    2019-10-30

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WEBS APP SERV N

  • Fixed component ID

    5724H8800

Applicable component levels



Document information

More support for: WebSphere Application Server
General

Software version: 900

Reference #: PH16593

Modified date: 30 October 2019