修改OC4J的密码

1,找到system-jazn-data.xml文件:

(UNIX)ORACLE_HOME/j2ee/home/config/system-jazn-data.xml
(Windows)ORACLE_HOME\j2ee\home\config\system-jazn-data.xml

 

2,定位到如下配置部分

 

<user>
  <name>oc4jadmin</name>
  <display-name>OC4J Administrator</display-name> 
  <description>OC4J Administrator</description> 
  <credentials>{903}4L50lHJWIFGwLgHXTub7eYK9e0AnWLUH</credentials> 
</user> 
 


 

3,修改<credentials>!mynewpassword123</credentials>

   补充:务必在新的明文密码前加上感叹号哦

 

4,在修改密码前要将缓存的密码删除掉,否则改完后,仍然会发现密码被还原了。

删除一下文件夹下的文件。

(UNIX) :

ORACLE_HOME/j2ee/oc4jinstance/persistence/ascontrol/ascontrol/securestore/
(Windows):

ORACLE_HOME\j2ee\oc4jinstance\persistence\ascontrol\ascontrol\securestore/

 

5,密码有如下限制:

The password for the oc4jadmin user should conform to following guidelines:

  • Must contain at least five characters, but not more than 30 characters.
  • Must begin with an alphabetic character. It cannot begin with a number, the underscore (_), the dollar sign ($), or the number sign (#).
  • At least one of the characters must be a number.
  • Can contain only the following characters; numbers, letters, and the following special characters: US dollar sign ($), number sign (#), or underscore (_).
  • Cannot contain any Oracle reserved words, such as VARCHAR.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值