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: docs-source/content/userguide/managing-domains/configoverrides/_index.md
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -336,7 +336,7 @@ spec:
336
336
---
337
337
### Debugging
338
338
339
-
Incorrectly formatted override files may be accepted without warnings or errors and will not prevent WebLogic pods from booting. So, it is important to make sure that the template files are correct in a QA environment, otherwise your WebLogic Servers may start even though critically required overrides are failing to take effect.
339
+
Incorrectly formatted override files may be accepted without warnings or errors and may not prevent WebLogic pods from booting. So, it is important to make sure that the template files are correct in a QA environment, otherwise your WebLogic Servers may start even though critically required overrides are failing to take effect.
340
340
341
341
On WebLogic Servers that support the `weblogic.SituationalConfig.failBootOnError` system property ( Note: It is not supported in WebLogic Server 12.2.1.3.0 ),
342
342
by default the WebLogic server will fail to boot if any situational configuration files are invalid,
@@ -367,18 +367,19 @@ By setting the `FAIL_BOOT_ON_SITUATIONAL_CONFIG_ERROR` environment variable in t
367
367
at weblogic.management.configuration.DomainMBeanImpl.setJDBCSystemResources(DomainMBeanImpl.java:11444)
368
368
...
369
369
```
370
-
* Look in your `DOMAIN_HOME/optconfig` directory.
371
-
* This directory, or a subdirectory within this directory, should contain each of your custom situational configuration files.
372
-
* If it doesn't, then this likely indicates your domain resource `configOverrides` was not set to match your custom override configuration map name, or that your custom override configuration map does not contain your override files.
373
370
374
-
* If the Administration Server pod does start but fails to reach ready state:
371
+
* If the Administration Server pod does start but fails to reach ready state or tries to restart:
375
372
* Check for this message ` WebLogic server failed to start due to missing or invalid situational configuration files` in the Administration Server pod's `kubectl log`
376
373
* This suggests that the Administration Server failure to start may have been caused by errors found in a configuration override file.
377
374
* Lines containing the String `situational` may be found in the Administration Server pod log to provide more hints.
378
375
* For example:
379
376
* `<Jun 20, 2019 3:48:45 AM GMT> <Warning> <Management> <BEA-141323> <The situational config file has an invalid format, it is being ignored: XMLSituationalConfigFile[/shared/domains/domain1/optconfig/jdbc/testDS-0527-jdbc-situational-config.xml] because org.xml.sax.SAXParseException; lineNumber: 8; columnNumber: 3; The element type "jdbc:jdbc-driver-params" must be terminated by the matching end-tag "</jdbc:jdbc-driver-params>".`
380
377
* The warning message suggests a syntax error is found in the provided configuration override file for the testDS JDBC datasource.
381
378
379
+
* Look in your `DOMAIN_HOME/optconfig` directory.
380
+
* This directory, or a subdirectory within this directory, should contain each of your custom situational configuration files.
381
+
* If it doesn't, then this likely indicates your domain resource `configOverrides` was not set to match your custom override configuration map name, or that your custom override configuration map does not contain your override files.
382
+
382
383
* If you'd like to verify that the situational configuration is taking effect in the WebLogic MBean tree, then one way to do this is to compare the `server config` and `domain config` MBean tree values.
383
384
* The `domain config` value should reflect the original value in your domain home configuration.
384
385
* The `server config` value should reflect the overridden value.
0 commit comments