step 1)
---------
export MW_HOME=/u01/Middleware
export DOMAIN_HOME=$MW_HOME/user_projects/domains/base_domain
step 2)
---------
Shut down the WebLogic domain.
$ $DOMAIN_HOME/bin/stopWebLogic.sh
step 3)
-----------
Rename the data folder.
[fusion@wlsadmin security]$ pwd
/u01/Middleware/user_projects/domains/base_domain/servers/AdminServer/security
[fusion@wlsadmin security]$ ls -ld $DOMAIN_HOME/servers/AdminServer/data
drwxr----- 6 fusion dba 4096 Feb 22 20:29 /u01/Middleware/user_projects/domains/base_domain/servers/AdminServer/data
[fusion@wlsadmin security]$ mv $DOMAIN_HOME/servers/AdminServer/data $DOMAIN_HOME/servers/AdminServer/data-old
[fusion@wlsadmin security]$ ls -ld $DOMAIN_HOME/servers/AdminServer/data
ls: /u01/Middleware/user_projects/domains/base_domain/servers/AdminServer/data: No such file or directory
[fusion@wlsadmin security]$
step 4)
++++++++++
Set the environment variables.
$ . $DOMAIN_HOME/bin/setDomainEnv.sh
[fusion@wlsadmin security]$ . $DOMAIN_HOME/bin/setDomainEnv.sh
[fusion@wlsadmin base_domain]$
step 5)
---------
Reset the password using the following command. Remember to substitute the appropriate username and password.
$ cd $DOMAIN_HOME/security
$ java weblogic.security.utils.AdminAccount abdul weblogic123 .
[fusion@wlsadmin security]$ . $DOMAIN_HOME/bin/setDomainEnv.sh
[fusion@wlsadmin base_domain]$ cd $DOMAIN_HOME/security
[fusion@wlsadmin security]$ java weblogic.security.utils.AdminAccount abdul weblogic123 .
[fusion@wlsadmin security]$
step 6)
=========
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>
[fusion@wlsadmin security]$ vi $DOMAIN_HOME/servers/AdminServer/security/boot.properties
[fusion@wlsadmin security]$ head $DOMAIN_HOME/servers/AdminServer/security/boot.properties
# Generated by Configuration Wizard on Fri Feb 21 18:56:06 IST 2014
username=abdul
password=weblogic123
[fusion@wlsadmin security]$
-----------------------------
Start the WebLogic domain.
----------------------------------
$ $DOMAIN_HOME/bin/startWebLogic.sh
-----------
Metalink id
----------
How to Change the WebLogic Server Administrator Password [ID 1082299.1]
---------
export MW_HOME=/u01/Middleware
export DOMAIN_HOME=$MW_HOME/user_projects/domains/base_domain
step 2)
---------
Shut down the WebLogic domain.
$ $DOMAIN_HOME/bin/stopWebLogic.sh
step 3)
-----------
Rename the data folder.
[fusion@wlsadmin security]$ pwd
/u01/Middleware/user_projects/domains/base_domain/servers/AdminServer/security
[fusion@wlsadmin security]$ ls -ld $DOMAIN_HOME/servers/AdminServer/data
drwxr----- 6 fusion dba 4096 Feb 22 20:29 /u01/Middleware/user_projects/domains/base_domain/servers/AdminServer/data
[fusion@wlsadmin security]$ mv $DOMAIN_HOME/servers/AdminServer/data $DOMAIN_HOME/servers/AdminServer/data-old
[fusion@wlsadmin security]$ ls -ld $DOMAIN_HOME/servers/AdminServer/data
ls: /u01/Middleware/user_projects/domains/base_domain/servers/AdminServer/data: No such file or directory
[fusion@wlsadmin security]$
step 4)
++++++++++
Set the environment variables.
$ . $DOMAIN_HOME/bin/setDomainEnv.sh
[fusion@wlsadmin security]$ . $DOMAIN_HOME/bin/setDomainEnv.sh
[fusion@wlsadmin base_domain]$
step 5)
---------
Reset the password using the following command. Remember to substitute the appropriate username and password.
$ cd $DOMAIN_HOME/security
$ java weblogic.security.utils.AdminAccount abdul weblogic123 .
[fusion@wlsadmin security]$ . $DOMAIN_HOME/bin/setDomainEnv.sh
[fusion@wlsadmin base_domain]$ cd $DOMAIN_HOME/security
[fusion@wlsadmin security]$ java weblogic.security.utils.AdminAccount abdul weblogic123 .
[fusion@wlsadmin security]$
step 6)
=========
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>
[fusion@wlsadmin security]$ vi $DOMAIN_HOME/servers/AdminServer/security/boot.properties
[fusion@wlsadmin security]$ head $DOMAIN_HOME/servers/AdminServer/security/boot.properties
# Generated by Configuration Wizard on Fri Feb 21 18:56:06 IST 2014
username=abdul
password=weblogic123
[fusion@wlsadmin security]$
-----------------------------
Start the WebLogic domain.
----------------------------------
$ $DOMAIN_HOME/bin/startWebLogic.sh
-----------
Metalink id
----------
How to Change the WebLogic Server Administrator Password [ID 1082299.1]
No comments:
Post a Comment