Reset your Weblogic Admin console password in Weblogic server

Requirement – Reset your weblogic admin console password

Solutions –

You can reset your pwd 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.

->Shut down the WebLogic admin server.


->Rename the data folder.

$ mv $DOMAIN_HOME/servers/AdminServer/data $DOMAIN_HOME/servers/AdminServer/data-bakup

  • Set the environment variables.
    $  $DOMAIN_HOME/bin/
  • Reset the password using the following command. Remember to substitute the appropriate username and password.
    $ cd $DOMAIN_HOME/security
    $ java <username> <password> .
  • you can also get java no class def found error.then weblogic.jar is not set in the classpath.Try to set weblogic.jar in classpath

  • Update the “$DOMAIN_HOME/servers/AdminServer/security/” file with the new username and password. The file format is shown below.
  • Start the WebLogic domain.
    $ $DOMAIN_HOME/bin/

Happy Weblogic Learning with Vinay Kumar


I am an Oracle ACE in Oracle ADF/Webcenter. Sr Java Consultant-working on Java/J2EE/Oracle ADF/Webcenter Portal/ content and Hibernate for several years. I'm an active member of the OTN JDeveloper/Webcenter forum. Passionate about learning new technologies. I am here to share my knowledge. Give your views and suggestion on [email protected] .

More Posts - Website

Follow Me:
TwitterLinkedInGoogle PlusYouTube