Forum Stats

  • 3,733,311 Users
  • 2,246,743 Discussions
  • 7,856,658 Comments

Discussions

Weblogic 12c Fails to start after changing the default realm

kchemweno
kchemweno Member Posts: 92 Blue Ribbon
edited December 2020 in WebLogic Portal

I changed the default realm on Weblogic 12c from myrealm to a new realm iek_realm_third I created.

When I start the administration server, it won't start, see the log below from the moment I issue ./startWebLogic.sh command;

What do I need to do to make the server to start with the new default realm?


[[email protected] DefaultDomain]# ./startWebLogic.sh

.

.

JAVA Memory arguments: -Xms256m -Xmx1024m

.

CLASSPATH=/home/kchemweno/Oracle/Middleware/Oracle_Home/oracle_common/modules/features/com.oracle.db.jdbc7-dms.jar:/usr/java/jdk1.8.0_181-amd64/lib/tools.jar:/home/kchemweno/Oracle/Middleware/Oracle_Home/wlserver/server/lib/weblogic.jar:/home/kchemweno/Oracle/Middleware/Oracle_Home/wlserver/../oracle_common/modules/thirdparty/ant-contrib-1.0b3.jar:/home/kchemweno/Oracle/Middleware/Oracle_Home/wlserver/modules/features/oracle.wls.common.nodemanager.jar:/home/kchemweno/Oracle/Middleware/Oracle_Home/oracle_common/modules/internal/features/jrf_wlsFmw_oracle.jrf.wls.classpath.jar::/home/kchemweno/Oracle/Middleware/Oracle_Home/wlserver/common/derby/lib/derbynet.jar:/home/kchemweno/Oracle/Middleware/Oracle_Home/wlserver/common/derby/lib/derbyclient.jar:/home/kchemweno/Oracle/Middleware/Oracle_Home/wlserver/common/derby/lib/derby.jar

.

PATH=/home/kchemweno/.jdeveloper/system12.2.1.3.42.170820.0914/DefaultDomain/bin:/home/kchemweno/Oracle/Middleware/Oracle_Home/wlserver/server/bin:/home/kchemweno/Oracle/Middleware/Oracle_Home/wlserver/../oracle_common/modules/thirdparty/org.apache.ant/1.9.8.0.0/apache-ant-1.9.8/bin:/usr/java/jdk1.8.0_181-amd64/jre/bin:/usr/java/jdk1.8.0_181-amd64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin

.

***************************************************

* To start WebLogic Server, use a username and  *

* password assigned to an admin-level user. For *

* server administration, use the WebLogic Server *

*  console at http://hostname:port/console        *

***************************************************

Starting WLS with line:

/usr/java/jdk1.8.0_181-amd64/bin/java -server  -Xms256m -Xmx1024m -cp /home/kchemweno/Oracle/Middleware/Oracle_Home/wlserver/server/lib/weblogic-launcher.jar -Dlaunch.use.env.classpath=true -Dweblogic.Name=DefaultServer -Djava.security.policy=/home/kchemweno/Oracle/Middleware/Oracle_Home/wlserver/server/lib/weblogic.policy -Djava.system.class.loader=com.oracle.classloader.weblogic.LaunchClassLoader -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dopss.version=12.2.1.3 -Digf.arisidbeans.carmlloc=/home/kchemweno/.jdeveloper/system12.2.1.3.42.170820.0914/DefaultDomain/config/fmwconfig/carml -Digf.arisidstack.home=/home/kchemweno/.jdeveloper/system12.2.1.3.42.170820.0914/DefaultDomain/config/fmwconfig/arisidprovider -Doracle.security.jps.config=/home/kchemweno/.jdeveloper/system12.2.1.3.42.170820.0914/DefaultDomain/config/fmwconfig/jps-config.xml -Doracle.deployed.app.dir=/home/kchemweno/.jdeveloper/system12.2.1.3.42.170820.0914/DefaultDomain/servers/DefaultServer/tmp/_WL_user -Doracle.deployed.app.ext=/- -Dweblogic.alternateTypesDirectory=/home/kchemweno/Oracle/Middleware/Oracle_Home/oracle_common/modules/oracle.ossoiap,/home/kchemweno/Oracle/Middleware/Oracle_Home/oracle_common/modules/oracle.oamprovider,/home/kchemweno/Oracle/Middleware/Oracle_Home/oracle_common/modules/oracle.jps -Doracle.mds.filestore.preferred=true -Dadf.version=12.2.1.3.0 -Dweblogic.jdbc.remoteEnabled=true -Dcommon.components.home=/home/kchemweno/Oracle/Middleware/Oracle_Home/oracle_common -Djrf.version=12.2.2 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=/home/kchemweno/.jdeveloper/system12.2.1.3.42.170820.0914/DefaultDomain -Doracle.server.config.dir=/home/kchemweno/.jdeveloper/system12.2.1.3.42.170820.0914/DefaultDomain/config/fmwconfig/servers/DefaultServer -Doracle.domain.config.dir=/home/kchemweno/.jdeveloper/system12.2.1.3.42.170820.0914/DefaultDomain/config/fmwconfig -javaagent:/home/kchemweno/Oracle/Middleware/Oracle_Home/wlserver/server/lib/debugpatch-agent.jar -da -Dwls.home=/home/kchemweno/Oracle/Middleware/Oracle_Home/wlserver/server -Dweblogic.home=/home/kchemweno/Oracle/Middleware/Oracle_Home/wlserver/server -Djps.app.credential.overwrite.allowed=true -Djavax.management.builder.initial=weblogic.management.jmx.mbeanserver.WLSMBeanServerBuilder  -Djava.util.logging.manager=oracle.core.ojdl.logging.ODLLogManager weblogic.Server

<Dec 1, 2020 7:48:40 AM EAT> <Info> <Security> <BEA-090905> <Disabling the CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true.>

<Dec 1, 2020 7:48:40 AM EAT> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG128 to HMACDRBG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true.>

<Dec 1, 2020 7:48:44 AM EAT> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 25.181-b13 from Oracle Corporation.>

Dec 01, 2020 7:48:44 AM oracle.security.jps.wls.JpsBootStrapService start

INFO: JPS bootstrap service started.

<Dec 1, 2020 7:48:45 AM EAT> <Info> <RCM> <BEA-2165021> <"ResourceManagement" is not enabled in this JVM. Enable "ResourceManagement" to use the WebLogic Server "Resource Consumption Management" feature. To enable "ResourceManagement", you must specify the following JVM options in the WebLogic Server instance in which the JVM runs: -XX:+UnlockCommercialFeatures -XX:+ResourceManagement.>

<Dec 1, 2020 7:48:46 AM EAT> <Info> <Management> <BEA-141107> <Version: WebLogic Server 12.2.1.3.0 Thu Aug 17 13:39:49 PDT 2017 1882952>

<Dec 1, 2020 7:48:59 AM EAT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING.>

<Dec 1, 2020 7:48:59 AM EAT> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool.>

<Dec 1, 2020 7:48:59 AM EAT> <Info> <WorkManager> <BEA-002942> <CMM memory level becomes 0. Setting standby thread pool size to 256.>

<Dec 1, 2020 7:49:04,137 AM EAT> <Notice> <Log Management> <BEA-170019> <The server log file weblogic.logging.FileStreamHandler instance=1233144618

Current log file=/home/kchemweno/.jdeveloper/system12.2.1.3.42.170820.0914/DefaultDomain/servers/DefaultServer/logs/DefaultServer.log

Rotation dir=/home/kchemweno/.jdeveloper/system12.2.1.3.42.170820.0914/DefaultDomain/servers/DefaultServer/logs

 is opened. All server side log events will be written to this file.>

Dec 01, 2020 7:49:03 AM oracle.security.jps.wls.JpsDefaultService start

INFO: JPS default service started.

Dec 01, 2020 7:49:04 AM oracle.security.jps.JpsStartup startWithRetry

INFO: Jps initializing.

Dec 01, 2020 7:49:08 AM oracle.security.jps.internal.idstore.util.LibOvdUtil pushLdapNamesToLibOvd

INFO: Pushed ldap name and types info to libOvd. Ldaps : DefaultAuthenticator:idstore.ldap.provideridstore.ldap.

Dec 01, 2020 7:49:14 AM oracle.security.jps.internal.common.util.JpsCommonUtil initPolicyProvider

INFO: Initializing OPSS Java Policy Provider.

Dec 01, 2020 7:49:14 AM oracle.security.jps.internal.common.util.JpsCommonUtil initPolicyProvider

INFO: OPSS Java Policy Provider initialized.

Dec 01, 2020 7:49:14 AM oracle.security.jps.internal.common.util.JpsCommonUtil initPolicyProvider

INFO: OPSS Java Policy Provider is set as the system-wide Policy object.

Dec 01, 2020 7:49:15 AM oracle.security.jps.JpsStartup startWithRetry

INFO: Jps started.

<Dec 1, 2020 7:49:15,068 AM EAT> <Notice> <Security> <BEA-090946> <Security pre-initializing using security realm: iek_realm_third>

<Dec 1, 2020 7:49:20,367 AM EAT> <Notice> <Security> <BEA-090946> <Security pre-initializing using security realm: myrealm>

<Dec 1, 2020 7:49:20,369 AM EAT> <Notice> <Security> <BEA-090946> <Security pre-initializing using security realm: iek_realm>

<Dec 1, 2020 7:49:20,371 AM EAT> <Notice> <Security> <BEA-090947> <Security post-initializing using security realm: iek_realm_third>

<Dec 1, 2020 7:49:25,287 AM EAT> <Notice> <Security> <BEA-090082> <Security initialized using administrative security realm: iek_realm_third>

<Dec 1, 2020 7:49:25,565 AM EAT> <Critical> <Security> <BEA-090402> <Authentication denied: Boot identity not valid. The user name or password or both from the boot identity file (boot.properties) is not valid. The boot identity may have been changed since the boot identity file was created. Please edit and update the boot identity file with the proper values of username and password. The first time the updated boot identity file is used to start the server, these new values are encrypted.>

<Dec 1, 2020 7:49:25,804 AM EAT> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: A MultiException has 6 exceptions. They are:

1. weblogic.security.SecurityInitializationException: Authentication denied: Boot identity not valid. The user name or password or both from the boot identity file (boot.properties) is not valid. The boot identity may have been changed since the boot identity file was created. Please edit and update the boot identity file with the proper values of username and password. The first time the updated boot identity file is used to start the server, these new values are encrypted.

2. java.lang.IllegalStateException: Unable to perform operation: post construct on weblogic.security.SecurityService

3. java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.jndi.internal.RemoteNamingService errors were found

4. java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.jndi.internal.RemoteNamingService

5. java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.rmi.cluster.RemoteBinderFactoryService errors were found

6. java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.rmi.cluster.RemoteBinderFactoryService


A MultiException has 6 exceptions. They are:

1. weblogic.security.SecurityInitializationException: Authentication denied: Boot identity not valid. The user name or password or both from the boot identity file (boot.properties) is not valid. The boot identity may have been changed since the boot identity file was created. Please edit and update the boot identity file with the proper values of username and password. The first time the updated boot identity file is used to start the server, these new values are encrypted.

2. java.lang.IllegalStateException: Unable to perform operation: post construct on weblogic.security.SecurityService

3. java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.jndi.internal.RemoteNamingService errors were found

4. java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.jndi.internal.RemoteNamingService

5. java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.rmi.cluster.RemoteBinderFactoryService errors were found

6. java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.rmi.cluster.RemoteBinderFactoryService


    at org.jvnet.hk2.internal.Collector.throwIfErrors(Collector.java:89)

    at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:250)

    at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:358)

    at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:487)

    at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:305)

    Truncated. see log file for complete stacktrace

Caused By: weblogic.security.SecurityInitializationException: Authentication denied: Boot identity not valid. The user name or password or both from the boot identity file (boot.properties) is not valid. The boot identity may have been changed since the boot identity file was created. Please edit and update the boot identity file with the proper values of username and password. The first time the updated boot identity file is used to start the server, these new values are encrypted.

    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.doBootAuthorization(CommonSecurityServiceManagerDelegateImpl.java:1152)

    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.postInitialize(CommonSecurityServiceManagerDelegateImpl.java:1272)

    at weblogic.security.service.SecurityServiceManager.postInitialize(SecurityServiceManager.java:586)

    at weblogic.security.SecurityService.start(SecurityService.java:130)

    at weblogic.server.AbstractServerService.postConstruct(AbstractServerService.java:76)

    Truncated. see log file for complete stacktrace

Caused By: javax.security.auth.login.FailedLoginException: [Security:090938]Authentication failure: The specified user failed to log in. javax.security.auth.login.FailedLoginException: [Security:090302]Authentication Failed: User specified user denied

    at com.bea.common.security.utils.ExceptionHandler.throwFailedLoginException(ExceptionHandler.java:62)

    at weblogic.security.providers.authentication.LDAPAtnLoginModuleImpl.login(LDAPAtnLoginModuleImpl.java:380)

    at com.bea.common.security.internal.service.LoginModuleWrapper$1.run(LoginModuleWrapper.java:117)

    at java.security.AccessController.doPrivileged(Native Method)

    at com.bea.common.security.internal.service.LoginModuleWrapper.login(LoginModuleWrapper.java:114)

    Truncated. see log file for complete stacktrace

>

<Dec 1, 2020 7:49:25,915 AM EAT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED.>

<Dec 1, 2020 7:49:25,916 AM EAT> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down.>

<Dec 1, 2020 7:49:25,931 AM EAT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN.>

Stopping Derby server...

Derby server stopped.

Tagged:
Sign In or Register to comment.