IBM Support

PH06565: <MULTI-CONFIG> CHILD ELEMENTS ARE ADDED TO WEB.XML/WEB-MERGED.XML

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If the application's web.xml file contains an empty
    <multipart-config> element as follows:
    
    <multipart-config>
    </multipart-config>
    
    The child elements <max-file-size>, <max-request-size>, and
    <file-size-threshold> are added to the web.xml/web-merged.xml
    file after the application deployment as follows:
    
    <multipart-config>
       <max-file-size>0</max-file-size>
       <max-request-size>0</max-request-size>
       <file-size-threshold>0</file-size-threshold>
    </multipart-config>
    
    The child elements should not be added automatically when the
    application is being deployed.
    

Local fix

  • Remove the child elements in the web.xml/web-merged.xml after
    the application is deployed.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server with web applications containing an  *
    *                  empty <multipart-config> element in         *
    *                  web.xml.                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION: If web.xml contains an empty            *
    *                      <multipart-config> element,             *
    *                      child elements are added with default   *
    *                      values during deployment.               *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    If the application's web.xml file contains an empty
    <multipart-config> element as follows:
    <multipart-config>
    </multipart-config>
    The child elements <max-file-size>, <max-request-size>, and
    <file-size-threshold> are added to the web.xml/web-merged.xml
    file after the application deployment as follows:
    <multipart-config>
    <max-file-size>0</max-file-size>
    <max-request-size>0</max-request-size>
    <file-size-threshold>0</file-size-threshold>
    </multipart-config>
    The default value of zero for max-file-size is not consistent
    with the Java EE specification.  The default value should be
    -1, unlimited.
    The child elements should not be added automatically when the
    application is being deployed.
    

Problem conclusion

  • The code has been updated so that unspecified child elements
    of the <multipart-config> element of a web.xml are not
    automatically added during deployment.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 8.5.5.16 and 9.0.0.11.  Please refer to the
    Recommended Updates page for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH06565

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-12-18

  • Closed date

    2019-01-15

  • Last modified date

    2019-01-15

  • 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

  • R850 PSY

       UP

  • R900 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"850","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
14 October 2021