It is a frequently question that I receive from time to time: „I“™ve lost my password, how can I change the AdminServer Password in WebLogic Server?“  In addition, normally administrators want to change the WLS password regularly, because of the security policy. I try to make it easy, but please try it first in a test environment! Make a Backup from your domain and do the following steps for WebLogic Server 11g and/or 12c:

1-       Check your Middleware-Home“™s ($MW_HOME) and WLS-Domain-Home“™s ($DOMAIN_HOME) paths. You can set up the environments under Linux with export command, e.g.:

$>export MW_HOME=/u01/app/oracle/middleware

$>export DOMAIN_HOME=$MW_HOME/user_projects/domains/MyDomain

2-      shut down the WebLogic domain, e.g. $DOMAIN_HOME/bin/

3-      Rename the data folder in $DOMAIN_HOME/servers/AdminServer/data

4-      set the environment variables with using, e.g.: $DOMAIN_HOME/bin/

### Now is the main command that you can change AdminServer“™s password:

$> cd $DOMAIN_HOME/security

$> java .

# Create and/or update „“ in „$DOMAIN_HOME/servers/AdminServer/security/ directory with your username and NEWpassword:



# Start the WebLogic domain.



Alle Beiträge von Mohammad Esad-Djou


3 Kommentare

  1. Hi,
    thanks for the steps. But it has given following error in our environmnet:
    ash-3.2$ java **** ****

    Error: Could not find or load main class

  2. java weblogic *****
    Error: Could not find or load main class

Schreibe einen Kommentar