在MyEclipse下配置了Weblogic 11后,每次启动从报错:
Critical> <Security> <BEA-090402> <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 的域的时候将密码改成了123456789,而第一次登陆http://localhost:7001/console却 用的是 weblogic/weblogic登录的,所以在MyEclipse中的用户名和密码都是用的默认值:weblogic/weblogic,找了下网上 的参考资料,最后将C:\bea\user_projects\domains\base_domain\servers\AdminServer \security目录下的boot.properties文件里的username/password的值改成对应的weblogic /123456789,不必担心写成明文会泄露用户名和密码,运行一次后会自动被Weblogic用3DES加密的。再将C:\bea \user_projects\domains\base_domain\servers\AdminServer\data\下的ldap文件夹删掉 (运行weblogic时会自动再次生成的).再将MyEclipse 中配置Weblogic 的用户明及密码进行对应的修改即可。然后从MyEclipse 启动Weblogic ,不会报错了。