IBM Support

PM69450: Support empty child elements, white space and remote files in the server configuration

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • You can not include a remote configuration file in the server
    configuration.  Also, if the server XML contains an XML stanza
    like the following then it will be processed incorrectly:
    
    <valueList>
    <value>someValue1</value>
    <value>someValue2</value>
    <value/>
    <value>someValue3</value>
    </valueList>
    
    In this case the empty value will not be seen. Instead of
    reading the valueList as (someValue1, someValue2, "",
    someValue3) it only reads the three defined values.
    
    If the a <featute/> element contains whitespace in its content
    then the feature will not be enabled on the server.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server                                      *
    *                  Liberty Profile                             *
    ****************************************************************
    * PROBLEM DESCRIPTION: APAR PM69459 addresses the following    *
    *                      issues:                                 *
    *                      The Liberty server configuration file   *
    *                      allows you to include configurations    *
    *                      specified outside of the file.          *
    *                      Currently, the included configuration   *
    *                      must exist in another local file        *
    *                      rather                                  *
    *                      than a remote location.                 *
    *                      Empty XML attribute tags incorrectly    *
    *                      processed as separate child elements    *
    *                      If you have any white space before or   *
    *                      after the feature name in the           *
    *                      server.xml, the server fails to start.  *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Currently, the Liberty runtime only supports including other
    files into the server configuration file. It should be able to
    include configurations accessed from remote locations by HTTP
    or
    FTP.
    An XML element may have either child attributes or child
    elements. Child attributes are nested XML tags that are
    combined
    to form a list of attributes for the parent element. For
    example, the following XML stanza defines
    (someValue1, someValue2, "", someValue3)
    <valueList>
    <value>someValue1</value>
    <value>someValue2</value>
    <value/>
    <value>someValue3</value>
    </valueList>
    The empty tag <value/> in this case needs to be recognized as
    an
    attribute of the parent, and not a child element.
    If you see [ERROR   ] CWWKF0001E: A feature definition could
    not
    be found for <feature name>, look in the server.xml and see if
    there are spaces between the feature name and the feature tags.
    

Problem conclusion

  • Capability to load remote configuration files was added.
    
    The configuration code was updated to reflect the proper
    difference between an attribute and element. In other words, if
    an empty nexted XML tag is read, it is first checked to see if
    an element definition exists in the metatype. If an element
    deinition exists, it is read as a config element and defaults
    processing is done. If no element definition exists, it is read
    as a config attribute as part of the parent element.
    
    The empty tag <value/> in this case is now recognized as an
    attribute of the parent, and not a child element.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 8.5.0.1. 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

    PM69450

  • Reported component name

    LIBERTY PROFILE

  • Reported component ID

    5724J0814

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-07-24

  • Closed date

    2012-09-19

  • Last modified date

    2012-09-19

  • 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

    LIBERTY PROFILE

  • Fixed component ID

    5724J0814

Applicable component levels

  • R850 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"850","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
29 October 2021