修改oc4jadmin密码
时间:2010-05-25 来源:夏德虎
修改oc4jadmin密码
1. open $oc4jHOME\j2ee\home\config\system-jazn-data.xml
<jazn-realm>
<realm>
<name>jazn.com</name>
<users>
<user deactivated="true">
<name>anonymous</name>
<guid>603142E1DBA911DD9F027DAB4F6B9CBA</guid>
<description>The default guest/anonymous user</description>
</user>
<user>
<name>oc4jadmin</name>
<display-name>OC4J Administrator</display-name>
<guid>6035FDD0DBA911DD9F027DAB4F6B9CBA</guid>
<description>OC4J Administrator</description>
<credentials>{903}vKbL/kLxZ2MHFPxQJ2ouu6boucMIweot</credentials>
</user>
....
2. 将红色部分改为
<credentials>!mypassword123</credentials>
注意前面的符号: "!"
密码包括数字和字符
3. 重启 oc4j, 进入 admin console(URL: http://localhost:8888/em
输入新密码 mypassword123
1. open $oc4jHOME\j2ee\home\config\system-jazn-data.xml
<jazn-realm>
<realm>
<name>jazn.com</name>
<users>
<user deactivated="true">
<name>anonymous</name>
<guid>603142E1DBA911DD9F027DAB4F6B9CBA</guid>
<description>The default guest/anonymous user</description>
</user>
<user>
<name>oc4jadmin</name>
<display-name>OC4J Administrator</display-name>
<guid>6035FDD0DBA911DD9F027DAB4F6B9CBA</guid>
<description>OC4J Administrator</description>
<credentials>{903}vKbL/kLxZ2MHFPxQJ2ouu6boucMIweot</credentials>
</user>
....
2. 将红色部分改为
<credentials>!mypassword123</credentials>
注意前面的符号: "!"
密码包括数字和字符
3. 重启 oc4j, 进入 admin console(URL: http://localhost:8888/em
输入新密码 mypassword123
相关阅读 更多 +