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.

->$MW_HOME/user_projects/domains/base_domain/bin/ stopWebLogic.sh

->Rename the data folder.

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

  • 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> .
  • 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/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

Happy Weblogic Learning with Vinay Kumar

JDeveloper 11g default weblogic user’s password

JDeveloper 11g default weblogic user’s password
When JDeveloper 11g is installed, once you test your application in default server engine in JDev, JDeveloper will create a new domain “Default Domian” and use the default weblogic server to test the applications developed.

The defaut administrator (weblogic) password for Weblogic Server is “weblogic1”.

BTW, the default user and password is located in the boot.properties file under this folder: ../Application Data/JDeveloper/system11.1.1.1.33.53.92/DefaultDomain/servers/DefaultServer/security.