• weblogic11g重置控制密码


    Reset the AdminServer Password in WebLogic 11g and 12c

    If you forget the AdminServer password for your WebLogic 11g domain, you can reset it from the command line using the following process.

    • Set up the following environment variables. They are not necessary for the process itself, but will help you navigate. In this case my domain is called "ClassicDomain". Remember to change the value to match your domain.

      export MW_HOME=/u01/app/oracle/middleware
      export DOMAIN_HOME=$MW_HOME/user_projects/domains/ClassicDomain
    • Shut down the WebLogic domain.

      $ $DOMAIN_HOME/bin/stopWebLogic.sh
    • Rename the data folder.

      $ mv $DOMAIN_HOME/servers/AdminServer/data $DOMAIN_HOME/servers/AdminServer/data-old
    • Set the environment variables.

      $ . $DOMAIN_HOME/bin/setDomainEnv.sh
    • Reset the password using the following command. Remember to substitute the appropriate username and password.

      $ cd $DOMAIN_HOME/security
      $ java weblogic.security.utils.AdminAccount <username> <password> .
    • Update the "$DOMAIN_HOME/servers/AdminServer/security/boot.properties" file with the new username and password. The file format is shown below.

      username=<username>
      password=<password>
    • Start the WebLogic domain.

      $ $DOMAIN_HOME/bin/startWebLogic.sh
  • 相关阅读:
    结构型设计模式(上)
    创建型设计模式(下)
    创建型设计模式(上)
    HTTP 简述
    MVC、MVP与MVVM架构模式
    PHP 部分语法(二)
    PHP 部分语法(一)
    TypeScript 学习笔记(四)
    WORD 和Uint16的区别
    extern的用法
  • 原文地址:https://www.cnblogs.com/zydev/p/4873793.html
Copyright © 2020-2023  润新知