You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: site/config-overrides.md
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -190,10 +190,12 @@ The secret macro `SECRETNAME` field must reference the name of a Kubernetes secr
190
190
* See the `max-message-size` stanza in [Override template samples](#override-template-samples) below for an example.
191
191
* If you are changing the value of an existing attribute within a domain home `config.xml`, the attribute needs a `replace` verb.
192
192
* 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 (diagnostics) 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 configuration 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.
197
199
198
200
## Override template samples
199
201
@@ -212,7 +214,6 @@ The following `config.xml` override file demonstrates:
@@ -290,7 +291,7 @@ The following `jdbc-testDS.xml` override template demonstrates setting the URL,
290
291
* Any override changes require stopping all WebLogic pods, applying your domain resource (if it changed), and restarting the WebLogic pods before they can take effect.
291
292
* Custom override changes on an existing running domain, such as updating an override configuration map, a secret, or a domain resource, will not take effect until all running WebLogic Server pods in your domain are shutdown (so no servers are left running), and the domain is subsequently restarted with your new domain resource (if it changed), or with your existing domain resource (if you haven't changed it).
292
293
* To stop all running WebLogic Server pods in your domain, apply a changed resource, and then start/restart the domain:
293
-
* Set your domain resource `serverRestartPolicy` to `NEVER`, wait, and apply your latest domain resource with the `serverRestartPolicy` restored back to `ALWAYS` or `IF_NEEDED` (see [Server Lifecycle](server-lifecycle.md) and [Restarting WebLogic servers](restart.md).)
294
+
* Set your domain resource `serverStartPolicy` to `NEVER`, wait, and apply your latest domain resource with the `serverStartPolicy` restored back to `ALWAYS` or `IF_NEEDED` (see [Server Lifecycle](server-lifecycle.md) and [Restarting WebLogic servers](restart.md).)
294
295
* Or delete your domain resource, wait, and apply your (potentially changed) domain resource.
295
296
* See [Debugging](#debugging) for ways to check if the situational configuration is taking effect or if there are errors.
0 commit comments