Amazon books

Thursday, June 2, 2011

How to change WEBLOGIC Console admin password for 11g (10.3)

1-First set environment variables
export BEAHOME=/u01/app/oracle/product/middleware
export DOMAIN_HOME=$BEAHOME/user_projects/domains/base_domain
export CLASSPATH=$CLASSPATH:$BEAHOME/wlserver_10.3/server/lib/weblogic.jar
cd $DOMAIN_HOME/bin
. ./setDomainEnv.sh

2- Now execute the command below to create the new password
cd ../security
mv DefaultAuthenticatorInit.ldift oldDefaultAuthenticator
java weblogic.security.utils.AdminAccount weblogic new_password . --DON'T FORGET THE "."


3- If it exists remove boot.properties file

cd ../servers/AdminServer
mv data data_old
cd security/
mv boot.properties oldboot.properties

4- Restart Weblogic server

cd $DOMAIN_HOME./startWebLogic.sh

Best Regards,
Paulo Portugal

6 comments:

  1. awesome................

    ReplyDelete
  2. Thanks this was really helpfulll...

    ReplyDelete
  3. Awesome post, very usefull.

    ReplyDelete
  4. Thanks, Good works

    ReplyDelete
  5. You will loose all the existing users (except weblogic) in the domain if you follow the above steps.

    If you want to retain all users in the domain and change weblogic user password, please follow the Oracle Doc ID Doc ID 1350814.1.


    Regards
    Jayakrishnan

    ReplyDelete
  6. Thanks Paulo Ferreira! And Thank you too Jayakrishnan for the valid advice!

    ReplyDelete