<BEA-000386> <Server subsystem failed. Reason: weblogic.security.SecurityInitializationException: Au

来源:互联网 发布:linux 目录权限 最大 编辑:程序博客网 时间:2024/04/27 22:46

报错信息:

<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 

解决方法,结合网上内容:

1,先重新设置密码,如果
忘记 Weblogic domain密码的重置方法  


1、修改boot.properties,将usernmae和password重设为明文,如:
password=weblogic
username=weblogic
2、将domain下$SERVER_NAME/ldap下的文件和目录都删除。
3、重启weblogic即可。

这时候再看一下boot.properties,是不是已经自动加密了?

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

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

 

0 0
原创粉丝点击