Skip to content

Commit c6a5397

Browse files
Tom Barnesrjeberhard
authored andcommitted
Update config overrides doc to recommend avoiding domain name stanzas in config.xml override files.
1 parent a3e38b2 commit c6a5397

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

site/config-overrides.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -190,10 +190,12 @@ The secret macro `SECRETNAME` field must reference the name of a Kubernetes secr
190190
* See the `max-message-size` stanza in [Override template samples](#override-template-samples) below for an example.
191191
* If you are changing the value of an existing attribute within a domain home `config.xml`, the attribute needs a `replace` verb.
192192
* See the `public-address` stanza in [Override template samples](#override-template-samples) below for an example.
193-
* When overriding `config.xml`, XML namespace `xmlns` abbreviations must be exactly as specified.
194-
* When overriding `config.xml`, the XML namespace (`xmlns:` in the XML) must be exactly as specified in [Override template schemas](#override-template-schemas).
195-
* For example, use `d:` to reference `config.xml` beans and attributes, `f:` for `add` and `replace` `domain-fragment` verbs, and `s:` to reference the situational config schema.
196-
* It is a best practice to use XML namespace abbreviations `jms:`, `jdbc:`, and `wldf:` respectively for JMS, JDBC, and WLDF module override files.
193+
* When overriding `config.xml`:
194+
* The XML namespace (`xmlns:` in the XML) must be exactly as specified in [Override template schemas](#override-template-schemas).
195+
* For example, use `d:` to reference `config.xml` beans and attributes, `f:` for `add` and `replace` `domain-fragment` verbs, and `s:` to reference the situational config schema.
196+
* Avoid specifying the domain name stanza, as this may cause some overrides to be ignored (for example, server template scoped overrides).
197+
* When overriding modules:
198+
* It is a best practice to use XML namespace abbreviations `jms:`, `jdbc:`, and `wldf:` respectively for JMS, JDBC, and WLDF (diagnostics) module override files.
197199

198200
## Override template samples
199201

@@ -212,7 +214,6 @@ The following `config.xml` override file demonstrates:
212214
<d:domain xmlns:d="http://xmlns.oracle.com/weblogic/domain"
213215
xmlns:f="http://xmlns.oracle.com/weblogic/domain-fragment"
214216
xmlns:s="http://xmlns.oracle.com/weblogic/situational-config" >
215-
<d:name>${env:DOMAIN_NAME}</d:name>
216217
<d:server>
217218
<d:name>admin-server</d:name>
218219
<d:max-message-size f:combine-mode="add">78787878</d:max-message-size>

0 commit comments

Comments
 (0)