Skip to content

Commit fbc43f1

Browse files
committed
minor update to debugging section
1 parent c6ac94d commit fbc43f1

File tree

1 file changed

+6
-5
lines changed
  • docs-source/content/userguide/managing-domains/configoverrides

1 file changed

+6
-5
lines changed

docs-source/content/userguide/managing-domains/configoverrides/_index.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ spec:
336336
---
337337
### Debugging
338338
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.
340340
341341
On WebLogic Servers that support the `weblogic.SituationalConfig.failBootOnError` system property ( Note: It is not supported in WebLogic Server 12.2.1.3.0 ),
342342
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
367367
at weblogic.management.configuration.DomainMBeanImpl.setJDBCSystemResources(DomainMBeanImpl.java:11444)
368368
...
369369
```
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.
373370
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:
375372
* 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`
376373
* This suggests that the Administration Server failure to start may have been caused by errors found in a configuration override file.
377374
* Lines containing the String `situational` may be found in the Administration Server pod log to provide more hints.
378375
* For example:
379376
* `<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>".`
380377
* The warning message suggests a syntax error is found in the provided configuration override file for the testDS JDBC datasource.
381378
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+
382383
* 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.
383384
* The `domain config` value should reflect the original value in your domain home configuration.
384385
* The `server config` value should reflect the overridden value.

0 commit comments

Comments
 (0)