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

本文介绍了WebLogic Server在启动时遇到Authentication denied错误的详细情况,该错误通常是由于boot.properties文件中的用户名或密码不正确导致。解决方法包括更新boot.properties文件,设置正确的明文用户名和密码,删除domain/SERVER_NAME/ldap下的认证信息,然后重启WebLogic Server,以使服务器使用新的加密凭据。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

报错信息:

<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中重设的用户名和密码。

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值