Fixes are available
8.5.5.5: WebSphere Application Server V8.5.5 Fix Pack 5
8.5.5.6: WebSphere Application Server V8.5.5 Fix Pack 6
8.5.5.7: WebSphere Application Server V8.5.5 Fix Pack 7
8.5.5.8: WebSphere Application Server V8.5.5 Fix Pack 8
8.5.5.9: WebSphere Application Server V8.5.5 Fix Pack 9
8.5.5.10: WebSphere Application Server V8.5.5 Fix Pack 10
8.5.5.11: WebSphere Application Server V8.5.5 Fix Pack 11
8.5.5.12: WebSphere Application Server V8.5.5 Fix Pack 12
8.5.5.13: WebSphere Application Server V8.5.5 Fix Pack 13
8.5.5.14: WebSphere Application Server V8.5.5 Fix Pack 14
8.5.5.15: WebSphere Application Server V8.5.5 Fix Pack 15
8.5.5.14: WebSphere Application Server V8.5.5 Fix Pack 14
8.5.5.17: WebSphere Application Server V8.5.5 Fix Pack 17
8.5.5.20: WebSphere Application Server V8.5.5.20
8.5.5.18: WebSphere Application Server V8.5.5 Fix Pack 18
8.5.5.19: WebSphere Application Server V8.5.5 Fix Pack 19
8.5.5.16: WebSphere Application Server V8.5.5 Fix Pack 16
8.5.5.21: WebSphere Application Server V8.5.5.21
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
Document Information
Modified date:
28 April 2022