weblogic9.2忘记管理密码,无法启动服务,重置密码
2012-04-21 14:57
453 查看
weblogic忘记管理密码,如何重置?
============================重置weblogic密码================================================
weblogic9.2,由于前一天在通过console管理控制台修改了weblogic的管理密码,后来发现自己启动weblogic服务有如下的问题
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(CommonSecurityServiceManagerDelegateImpl.java:941)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1029)
at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:849)
at weblogic.security.SecurityService.start(SecurityService.java:141)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
通过错误的提示,发现原来是修改了用户名,密码,导致启动失败,可先进入boot.properties的文件,修改D:\Program Files\BEA\user_projects\domains\BEAdomains\servers\AdminServer\security\boot.properties
文件,修改password=weblogic username=weblogic,重新启动,发现重启服务之后boot.properties的username和password并没有自动转换为加密字符,然后而且启动服务仍然失败,而又想到weblogic集成了ldap协议,故尝试删除当前domains下面的ldap目录(D:\Program Files\BEA\user_projects\domains\BEAdomains\servers\AdminServer\data\ldap),
重新启动,发现启动正常,console通过weblogic/weblogic也可正常,至此,重置密码功能成功
总结下来,weblogic重置密码分为以下两步:
1:修改当前domain下面的boot.properties文件中的username和password
位置: 安装路径\domains\自定义domain名称\servers\AdminServer\security\boot.properties
2:删除当前domain目录下面ldap目录
位置:安装路径\domains\自定义domain名称\servers\AdminServer\data\ldap
重启服务,密码重置成功
============================修改weblogic密码================================================
上述的只是针对忘记管理密码,可这么做,如果是记得密码,但是想修改当前密码,可直接通过控制台
http://localhost:7001/console
登陆成功后,点击左边树:Security
Realms -->myrealm
-->选择user and group tab页 --->点击weblogic进入--->选择Passwords选项页-》输入新的密码-->save
---->最后Release Configuration即可,login out后可通过新的密码登陆成功
============================重置weblogic密码================================================
weblogic9.2,由于前一天在通过console管理控制台修改了weblogic的管理密码,后来发现自己启动weblogic服务有如下的问题
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(CommonSecurityServiceManagerDelegateImpl.java:941)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1029)
at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:849)
at weblogic.security.SecurityService.start(SecurityService.java:141)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
通过错误的提示,发现原来是修改了用户名,密码,导致启动失败,可先进入boot.properties的文件,修改D:\Program Files\BEA\user_projects\domains\BEAdomains\servers\AdminServer\security\boot.properties
文件,修改password=weblogic username=weblogic,重新启动,发现重启服务之后boot.properties的username和password并没有自动转换为加密字符,然后而且启动服务仍然失败,而又想到weblogic集成了ldap协议,故尝试删除当前domains下面的ldap目录(D:\Program Files\BEA\user_projects\domains\BEAdomains\servers\AdminServer\data\ldap),
重新启动,发现启动正常,console通过weblogic/weblogic也可正常,至此,重置密码功能成功
总结下来,weblogic重置密码分为以下两步:
1:修改当前domain下面的boot.properties文件中的username和password
位置: 安装路径\domains\自定义domain名称\servers\AdminServer\security\boot.properties
2:删除当前domain目录下面ldap目录
位置:安装路径\domains\自定义domain名称\servers\AdminServer\data\ldap
重启服务,密码重置成功
============================修改weblogic密码================================================
上述的只是针对忘记管理密码,可这么做,如果是记得密码,但是想修改当前密码,可直接通过控制台
http://localhost:7001/console
登陆成功后,点击左边树:Security
Realms -->myrealm
-->选择user and group tab页 --->点击weblogic进入--->选择Passwords选项页-》输入新的密码-->save
---->最后Release Configuration即可,login out后可通过新的密码登陆成功
相关文章推荐
- weblogic忘记管理密码,无法启动服务,重置密码
- weblogic 无法启动被管理的服务 <BEA-000386>
- Zend Server CE忘记密码无法启动,如何重置
- 忘记mysqlroot密码/我的电脑 管理服务里面没有mysql启动项/mysql启动不了net start mysql
- mysql 服务无法启动 重置默认root密码
- 无法从命令行或调试器启动服务,必须首先安装Windows服务(使用installutil.exe),然后用ServerExplorer、Windows服务器管理工具或NET START命令启动它
- nm启动weblogic服务的异常,配置用户及密码
- 更改Oracle数据库密码导致vcenter服务无法启动
- 密码引起的群集服务无法启动的问题
- 解决启动WebLogic输入用户名密码问题 & 密码重置
- 无法从命令行或调试器启动服务,必须首先安装Windows服务(使用installutil.exe),然后用ServerExplorer、Windows服务器管理工具或NET START命令启动它的解决
- McAfee EPO3.61更改系统管理员密码后EPO服务启动失败,控制台无法登陆
- 解决MySQL服务无法启动及MySQL5.4.10更改root密码
- 管理weblogic服务的启动和停止
- 解决启动WebLogic输入用户名密码问题 & 密码重置
- 忘记 Weblogic domain密码的重置方法
- WebLogic启用管理端口后使用stopWebLogic无法正常停止服务的问题
- 修改windows Server2008登录密码后MSSQLServer服务无法启动的问题
- weblogic不用密码启动服务