通过阅读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)中查看是否跟之前版本有所变动,其内容如下:
1 2 3 4 5 |
# 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文件内容如下:
1 2 3 4 5 |
# 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还需后面进行验证。
Weblogic 管理入口地址为:http://ip:端口/console
eg:http://127.0.0.1:7101/console
websphere
https://ip:9043/admin
密码修改问题:
一:weblogic 8 密码修改步骤