Reseting Weblogic Admin Password

March 29, 2010

As usual i forgot the password that i used in the weblogic install .. or something else happened. So after a bit of googling and trial and error these are the steps that did the trick for me for Weblogic 11g:

  1. Shutdown weblogic server
  2. rm $MW_HOME/user_projects/domains/$DOMAIN/servers/AdminServer/security/
  3. create new at that place and add the username=NEWUSERNAME  and password=NEWPASS lines
  4. cd $MW_HOME/user_projects/$DOMAIN/security
  5. java -cp $MW_HOME/wlserver_10.3/server/lib/weblogic.jar:$CLASSPATH NEWUSERNAME NEWPASS .
    (be extra carefule to the last dot)
  6. mv $MW_HOME/user_projects/domains/$DOMAIN/servers/AdminServer/data/ldap $MW_HOME/user_projects/domains/$DOMAIN/servers/AdminServer/data/ldap.old
  7. restart Weblogic

Hope i don’t need it again.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: