IBM Support

WebSphere Application Server: Configuration elements of the same type with the same ID are incorrectly merged in the Liberty profile and Liberty Core

Troubleshooting


Problem

If you have the following configuration element definitions, the configuration elements are incorrectly merged: - A top-level configuration element of the same type as a nested configuration element with the same ID - Two nested configuration elements of the same type with the same ID but with different parents For example: Data source []ds1[] and data source []ds2[] are configured with their own properties element definition, []dbProperties[]. [] [] Data source []ds1[] should use properties element []dbProperties[] with []portNumber="3000"[], and data source []ds2[] should use properties element []dbProperties[] with []portNumber="2000"[]. However, the two []dbProperties[] properties elements are merged and both data sources share this merged properties element. The merged []dbProperties[] properties element may have either []portNumber="3000"[] or []portNumber="2000"[].

Symptom

Unexpected or wrong configuration properties are provided to server components or applications.

Resolving The Problem

Ensure that you specify unique IDs for either or both of the following situations:

- A top-level configuration element of the same type as a nested configuration element
- Two nested configuration elements of the same type but with different parents

[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Not Applicable","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF012","label":"IBM i"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"8.5.5","Edition":"Liberty","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
15 June 2018

UID

swg21637169