WebLogic Admin Server Fails to Start After Extending the WLS Domain to Include JRF as Custom Security Realm Gets Disappeared (Doc ID 2025046.1)

Last updated on JANUARY 11, 2017

Applies to:

Oracle Fusion Middleware - Version 12.1.3.0.0 and later
Information in this document applies to any platform.

Symptoms

While extending weblogic 12.1.3 domain which has custom security realm, extend domain completes successfully but restarting Admin Server fails as below line gets deleted from config.xml file

ERROR

=========

6. From console --->domain name --->security make the new TestRealm as default realm

7. Restart services and confirm everything is fine.

8. Run rcu from ORACLE_HOME/oracle_common/common/bin and load schemas.

9. Run config.sh again from ORACLE_HOME/oracle_common/bin

10. extend domain to include Enterprise Manager, jrf and coherence extensions.

11. extend domain completes successfully.

12. Now try restarting Admin Server and it fails.

13. When checked found config.xml file does not contain
<default-realm>myrealm</default-realm>

14. Add the line and everything works fine.

So it looks like when we have multiple realms default realm line gets removed from config.xml.

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms