weblogic启动不起来的解决方法(10月27日工作日志)

2008年10月27日
    因为工作的需要,老板叫把所有涉及到我们公司的密码都改掉!
    然后我改了,但是因为经验的不足,直接导致weblogic启动不起来,数据库也启动不起来,爬虫也

启动不起来!
汗!从下午3点多钟检查问题一直到凌晨快1点才总算把那个问题给解决了
下面是异常日志
<Critical> <Security> <BEA-090402> <Authenticatio
n denied: Boot identity not valid; The user name and/or password from the boot i
dentity file (boot.properties) is not valid. The boot identity may have been cha
nged since the boot identity file was created. Please edit and update the boot i
dentity 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 en
crypted.>
 <Critical> <WebLogicServer> <BEA-000386> <Server
subsystem failed. Reason: weblogic.security.SecurityInitializationException: Aut
hentication 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 hav
e 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 firs
t time the updated boot identity file is used to start the server, these new val
ues are encrypted.

    网上找了些资料,什么都有,居然还有人吧weblogic的密码加密方式给破解了,真是N人,我本
来想直接那几个文件发给他的,但是因为明天就要用了,在加上他也不在线,所以时间来不及,只能
自己研究了,搞到最好还研究了startWebLogic.cmd里面的命令,一点点研究下来,然后再次在网上
找资料,偶然发现了一个解决的方法,当然这个方法必须是你知道weblogic的用户名和密码的,那些
不知道用户名忘记密码的老兄只能找那位破译了weblogic密码的的牛人帮忙了!下面就是我解决问题
的具体步骤

    我打开boot.properties这个文件,发现用户名和密码的密文是一样的,很显然我改了weblogic
密码的时候,boot.properties这个文件的用户名密码并没有修改过来。

    首先找到这个这个文件,就是boot.properties,把里面的用户名和密码的密文清空,然后再次
启动weblogic。

    Ok!然后你发现weblgoci的控制台出来了Enter username to boot WebLogic server:
Enter password to boot WebLogic server:这两个输入提示呵呵!出现这个说明你的weblogic还是
有救的,不必重新布置你的域了,你只要输入用户名还有密码就Ok了,当然必须正确的,只要正确,
weblogic肯定能启动起来!

    第三步,也是最重要的一步,不知道是不是不细心,我发现把weblogic关闭之后,打开
boot.properties之后发现里面的用户名和密码还是空的,想了想,按照上面的步骤在执行了一遍,
但是我没有马上关闭,而是进入weblogic的控制台,在把密码修改了,然后在点击启动更新,这个时
候还不可以关闭服务器,保险点在点击释放配置,好了,现在你可以关闭服务器了,你在去看看那个
boot.properties文件,有密文了吧,现在你再次启动weblogic了就可以不必输入用户名和密码了。

    困扰了我将近12个小时的问题终于解决了!

    总结下这次改动文件的教训:以后改了密码一点要一步一步来,一定要有顺序,特别是关于数据
库密码的,一定要把有要连接数据库的程序先一个个关闭然后在改数据库密码,然后在一个个改,不
要改了数据库密码其他的又忘记了,同时一定要按照程序步骤来,不然就会出现像我这次一样!害的
我搞了那么久!
    哦!对了!还有一点,那就是改密码的时候必须保障当前账户是你一个人在用,就像这次,我在改
weblogic的密码但是我同事还在用原来的密码上传我们新的项目,这就导致了不同步,然后就报了错

  • 1
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值