IBM Support

PI34797: A CWWKG0074E error message might be unnecessarily generated when certain server.xml elements are not properly configured.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When the server.xml file has configuration elements with
    reference attributes or sub-elements that result in a
    cardinality violation, a  CWWKG0074E error message might be
    generated instead of using the default value of that
    attribute or sub-element. Additionally, the CWWKG0083W
    warning message might not adequately describe the validation
    failure and subsequent use of the default value of the
    reference attribute or sub-element.
    
    Example improper configuration with a cardinality violation
    in the server.xml file:
        <managedExecutorService id="myMES1">
            <contextService id="foo" />
            <contextService id="bar" />
        </managedExecutorService>
    
    Example console messages:
    [WARNING ] CWWKG0083W: A validation failure occurred while
    processing the [contextService.target] property, value =
    [[(service.pid=${contextServiceRef})]]. Default value in
    use: [(service.pid=${contextServiceRef})].
    [ERROR   ] CWWKG0074E: Unable to update the configuration
    for managedExecutorService with the unique identifier myMES1
    because of the exception: Variable evaluation loop detected:
    [contextServiceRef].
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Liberty Profile                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: A CWWKG0074E error message might be     *
    *                      unnecessarily generated when certain    *
    *                      server.xml elements are not properly    *
    *                      configured.                             *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When the server.xml file has configuration elements with
    reference attributes or sub-elements that result in a
    cardinality violation, a CWWKG0074E error message might be
    generated instead of using the default value of that attribute
    or sub-element. Additionally, the CWWKG0083W warning message
    might not adequately describe the validation failure and
    subsequent use of the default value of the reference attribute
    or sub-element.
    
    Example improper configuration with a cardinality violation in
    the server.xml file:
        <managedExecutorService id="myMES1">
        	<contextService id="foo" />
        	<contextService id="bar" />
        </managedExecutorService>
    
    Example console messages:
    [WARNING ] CWWKG0083W: A validation failure occurred while
    processing the [contextService.target] property, value =
    [[(service.pid=${contextServiceRef})]]. Default value in use:
    [(service.pid=${contextServiceRef})].
    [ERROR   ] CWWKG0074E: Unable to update the configuration for
    managedExecutorService with the unique identifier myMES1 because
    of the exception: Variable evaluation loop detected:
    [contextServiceRef].
    
    When processing a configuration property with a cardinality
    violation, a ConfigEvaluatorException might be thrown. In
    certain scenarios, the server would issue the CWWKG0083W warning
    message and attempt to reevaluate the configuration property.
    This second processing resulted in another
    ConfigEvaluatorException and the CWWKG0074E warning message.
    There was a bug in the code which resulted in the immediate
    reevaluation of the property instead of assigning it the default
    value. The bug also ignored exceptions when processing
    properties of each individual configuration attribute in some
    cases.
    

Problem conclusion

  • Warning messages are now displayed when processing properties of
    each individual attribute, and these elements are no longer
    processed multiple times. This ensures the default value of a
    reference attribute or sub-element is used if its cardinality is
    violated in the server.xml configuration, and that the correct
    warning message is generated.
    
    Example new message:
    [WARNING ] CWWKG0083W: A validation failure occurred while
    processing the [contextServiceRef] property, value =
    [[com.ibm.ws.config.xml.internal.SimpleElement[managedExecutorSe
    rvice[myMES1]//contextService(contextService)[foo]],
    com.ibm.ws.config.xml.internal.SimpleElement[managedExecutorServ
    ice[myMES1]//contextService(contextService)[bar]]]]. Default
    value in use: [DefaultContextService].
    
    The fix for this APAR is currently targeted for inclusion in fix
    pack 8.5.5.5.  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

    PI34797

  • Reported component name

    WAS LIBERTY COR

  • Reported component ID

    5725L2900

  • Reported release

    855

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-02-11

  • Closed date

    2015-02-16

  • Last modified date

    2015-02-16

  • 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

    WAS LIBERTY COR

  • Fixed component ID

    5725L2900

Applicable component levels

  • R855 PSY

       UP

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

Document Information

Modified date:
28 April 2022