壹佰网|ERP100 - 企业信息化知识门户

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2294|回复: 0

biee Application Server Control重置密码

[复制链接]
发表于 2010/1/2 15:35:25 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。如果您注册时有任何问题请联系客服QQ: 83569622  。

您需要 登录 才可以下载或查看,没有帐号?注册

x
Resetting the Administrator (oc4jadmin) Password
To manage an instance of Oracle Application Server, you must log in to the Application Server Control Console using the current Administrator (oc4jadmin) password.

Problem


If you forget or do not know the oc4jadmin password, then you cannot monitor or administer the application server or its components with the Application Server Control Console.

Solution


Reset the oc4jadmin password using the following procedure while you are logged in as the user who installed the Oracle Application Server instance:

  • Stop OC4J and the Application Server Control.
    Enter the following command in the Oracle home of the application server instanceUNIX) ORACLE_HOME/opmn/bin/opmnctl stopproc ias-component=OC4J
    (Windows) ORACLE_HOME\opmn\bin\opmnctl stopproc ias-component=OC4J

  • Locate and open the following file in a text editor:(UNIX)ORACLE_HOME/j2ee/home/config/system-jazn-data.xml
    (Windows)ORACLE_HOME\j2ee\home\config\system-jazn-data.xml

  • Locate the line that defines the credentials property for the oc4jadmin user.
    The following example shows the section of system-jazn-data.xml with the encrypted credentials entry in boldface type:<jazn-realm>
       <realm>
          <name>jazn.com</name>
          <users>
           .
           .
           .
             <user>
                <name>oc4jadmin</name>
                <display-name>OC4J Administrator</display-name>
                <description>OC4J Administrator</description>
                <credentials>{903}4L50lHJWIFGwLgHXTub7eYK9e0AnWLUH</credentials>
             </user>

  • Replace the existing encrypted password with the new password.
    Be sure to prefix the password with an exclamation point (!). For example:<credentials>!mynewpassword123</credentials>
    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.

    See Also:

    "The oc4jadmin User and Restrictions on its Password" in the Oracle Application Server Installation Guide


    Delete cached password data by deleting the contents of the following directory:(UNIX)
    ORACLE_HOME/j2ee/oc4jinstance/persistence/ascontrol/ascontrol/securestore/
    (Windows)
    ORACLE_HOME\j2ee\oc4jinstance\persistence\ascontrol\ascontrol\securestore/
    Start OC4J and the Application Server Control.
    After the restart, the Application Server Control will use your new Administrator (oc4jadmin) password, which will be stored in encrypted format within the system-jazn-data.xml file.由于密码重置,stop oc4j验证错误,修改java -jar C:\OracleBI\oc4j_bi\j2ee\home\admin.jar ormi://localhost:23791 oc4jadmin oc4jpass -shutdown force,oc4jpass为重置的密码。
  • 转载的哦!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|手机版|壹佰网 ERP100 ( 京ICP备19053597号-2 )

Copyright © 2005-2012 北京海之大网络技术有限责任公司 服务器托管由互联互通
手机:13911575376
网站技术点击发送消息给对方83569622   广告&合作 点击发送消息给对方27675401   点击发送消息给对方634043306   咨询及人才点击发送消息给对方138011526

GMT+8, 2025/11/29 03:07 , Processed in 0.013303 second(s), 14 queries , File On.

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表