[分享]重置weblogic密码_Tomcat, WebLogic及J2EE讨论区_Weblogic技术|Tuxedo技术|中间件技术|Oracle论坛|JAVA论坛|Linux/Unix技术|hadoop论坛_联动北方技术论坛  
网站首页 | 关于我们 | 服务中心 | 经验交流 | 公司荣誉 | 成功案例 | 合作伙伴 | 联系我们 |
联动北方-国内领先的云技术服务提供商
»  游客             当前位置:  论坛首页 »  自由讨论区 »  Tomcat, WebLogic及J2EE讨论区 »
总帖数
1
每页帖数
101/1页1
返回列表
0
发起投票  发起投票 发新帖子
查看: 1985 | 回复: 0   主题: [分享]重置weblogic密码        下一篇 
huan.xiong
注册用户
等级:上尉
经验:508
发帖:18
精华:0
注册:1970-1-1
状态:离线
发送短消息息给huan.xiong 加好友    发送短消息息给huan.xiong 发消息
发表于: IP:您无权察看 2015-7-7 15:37:21 | [全部帖] [楼主帖] 楼主

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

重启服务,密码重置成功




赞(0)    操作        顶端 
总帖数
1
每页帖数
101/1页1
返回列表
发新帖子
请输入验证码: 点击刷新验证码
您需要登录后才可以回帖 登录 | 注册
技术讨论