Forum Stats

  • 3,853,838 Users
  • 2,264,283 Discussions


Forgot weblogic admin server password and not able to run to reset it.

Vachow Member Posts: 1
edited Aug 23, 2014 2:01AM in WebLogic Portal

Hi Folks,

I forgot my Weblogic 11g server admin account details and now I'm unable to reset the password as well. I tried following the steps mentioned in ORACLE-BASE - Reset the AdminServer Password in WebLogic 11g and 12c but I couldn't execute the below mentioned java command as the required class file is not identifible. could you please assist.

java newAdmin newPassword .


[email protected]


  • User10656774-Oracle
    User10656774-Oracle Member Posts: 52 Employee


    run (or cmd) before to set the classpath.


  • Sreedhar-Oracle
    Sreedhar-Oracle Member Posts: 476 Employee


    To reset the password,please do the following:

    1.- Make sure Weblogic Server instance is stopped.

    2.- Make a backup of the LDAP folder of the admin server as well as managed servers (you may rename those folders).

    3. Set your environment variables by running (UNIX) or setDomainEnv.cmd (Windows). For UNIX only environments do as follows:

    . ./ (Notice the space between the dots)

    4. cd to security directory in your instance.

    (eg: $WL_HOME/user_projects/domains/base_domain/security)

    5. Run:

    java admin_user admin_pass .

    Remember to change “admin_user” and “admin_pass” to your need.

    Also, don’t forget the period “.” at the end of the above command, it is required.

    6. After running the command, the file “DefaultAuthenticatorInit.ldift” will get updated.

    7. Delete the following file from “ldap” folder:

    cd WL_HOME/user_projects/domains/base_domain/servers/AdminServer/data/ldap

    rm DefaultAuthenticatormyrealmInit.initialized

    8. Go to folder DOMAIN_HOME/servers/AdminServer/security

    9. Edit the file and change the password to the value already used on step 5. Do this for all the servers in the domain.

    10. Start Weblogic Server (Weblogic Server will encrypt the password for you).

This discussion has been closed.