Weblogic启动报错信息如下:Server subsystem failed. Reason: weblogic.security.SecurityInitializationException:

报错信息:

<Oct 23, 2015 9:35:26 AM CST> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: weblogic.security.SecurityInitializationException: Authentication denied: Boot identity not valid; The user name and/or password 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.
weblogic.security.SecurityInitializationException: Authentication denied: Boot identity not valid; The user name and/or password 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(Unknown Source)
        at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(Unknown Source)
        at weblogic.security.service.SecurityServiceManager.initialize(Unknown Source)
        at weblogic.security.SecurityService.start(SecurityService.java:141)
        at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
        Truncated. see log file for complete stacktrace

<Oct 23, 2015 9:35:26 AM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED> 
<Oct 23, 2015 9:35:26 AM CST> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down> 
<Oct 23, 2015 9:35:26 AM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>

解决方式:

weblogic.security.SecurityInitializationException: Authentication denied: Boot.properties

weblogic启动过程中,如果出现以下类似的错误的话,很有可能是boot.properties的用户名,密码错误的问题,。

weblogic.security.SecurityInitializationException: Authentication denied: Boot.properties 

重新设定weblogic的用户名和密码参照我的博客:

https://blog.csdn.net/u013310119/article/details/80770878

原理:
在domain下,有个配置文件boot.properties,在第一次启动时,用户名和密码为明文,启动weblogic成功后,就自动将用户名和密码加密了。
boot.properties示例:
明文:
password=weblogic
username=weblogic
密文:
password={3DES}TEhJGBWLgld4CJFYrA82iw\=\=
username={3DES}TEhJGBWLgld4CJFYrA82iw\=\=

在domain/SERVER_NAME/ldap下的文件中,保存了weblogic的用户认证信息,将其删除,weblogic在启动时就会以明文的方式使用boot.properties中重设的用户名和密码。

猜你喜欢

转载自blog.csdn.net/u013310119/article/details/81001842
今日推荐