weblogic修改密码

近日JDeveloper 11g 新版本刚刚发布,通过阅读Oracle相关文档发现ADF应用的部署和发布方式在新版本中做了一些更改,于是今天想进行下研究和测试,启动 JDeveloper自带的WebLogic,并打开控制台页面后,输入用户名密码weblogic/weblogic进行登录,却发现无法正常登录,提示用户名/密码错误。试验了几次不成功后,求助于Oracle官方提供的文档,在e13852.pdf中有段关于用户名和密码的描述:
Default Administrator Password Has Changed.
The default administrator password for WebLogic Server has been changed from weblogic to welcome1. Use weblogic/welcome1 for logging in to the Administration Console when accessing the Examples Server (wl_server) domain and Medical Records Server .

原来是在WebLogic 11g(即WebLogic 10.3.1)版本中默认的管理员密码做了修改,这里给出的是welcome1,但是在控制台登录页面进行测试后发现仍不能正常登录,于是转到 boot.properties文件(…\system11.1.1.1.33.54.07\DefaultDomain\servers \DefaultServer\security)中查看是否跟之前版本有所变动,其内容如下:
    # Generated by Configuration Wizard on Thu Jul 02 13:51:14 CST 2009
  username={AES}76gb7CqPRo1uFjvuSkQr0qskV30c0Ja+3kr9nVHeeRU=
  password={AES}UWx2LrocCYVgw9dCXpPldE3DQRrlnRaI3Qa2n/PK+5s=

看到这里就发现了与之前版本的不同点,之前版本的用户名密码采用的是3DES加密方式,而在新版本中,采用的是AES加密,旧版本的boot.properties文件内容如下:
   # Generated by Configuration Wizard on Tue Apr 07 09:19:03 CST 2009
  username={3DES}jBJV4vqbFUNqGk1gEL5hag==
  password={3DES}jBJV4vqbFUNqGk1gEL5hag==

最后,经过查证,在新版本的WebLogic中,用户的密码必须包含数字,因此Oracle将WebLogic的默认管理员密码设置成了 weblogic1,而非其文档中描述的welcome1,即用户名和密码为weblogic/weblogic1。不过,以上内容都是在 JDeveloper 11g新版本自带的WebLogic中进行测试,独立版WebLogic还需后面进行验证。

初次配置完domain,启动domain的时候会提示输入密码,我遇到的情况是,输入任何东西都没有反映,因此建议在启动脚本/usr /local/bea/user_projects/domains/mydomain/所在目录建立 boot.properties文件,输入如下内容:
password=weblogic
username=weblogic
weblogic在启动的时候会自动加密password与username.

猜你喜欢

转载自yanghongxia9.iteye.com/blog/1141065
今日推荐