You are on page 1of 3

8/5/12

5 Min way to recover weblogic administrator password

Real Time hands-on WebLogic Training

Welcome, Guest. Please login or register. Forever Login

Search News: Two of our students have got jobs in the last two weeks. Vijay & babu. C ongrats to both of them.

Login with username, password and session length

Home

Help

Search

C alendar

Login

Register

Real Time hands-on WebLogic Training Weblogic Administration Security Realm of weblogic 5 Min way to recover weblogic administrator password

previous next Pages: [1] Go Down


P RI N T

Author 2075 times) Anil K


Administrator Full Member

Topic: 5 Min way to recover weblogic administrator password (Read


5 Min way to recover weblogic administrator password
on: May 19, 2011, 12:10:44 PM

There is a different post in this same forum that talks about recovering the lost weblogic administration password. You can find that post at "HOW TO RECOVER WEBLOGIC ADMIN PASSWORD"
Posts: 221 Karma: +1/-4

the precess defined in the above thread is workable, but little bit complicated. There is another smart way to get past this problem of "lost weblogic admin password" , what it does is "INSTEAD OF TRYING TO RECOVER THE ORIGINAL PASSWORD, 1) ADD ANOTHER ADMIN USER 2) LOGIN TO CONSOLE 3) CHANGE THE PASSWORD OF ORIGINAL USER These three steps are much faster to execute and a smarter approach i would say. Also it involves less user mistakes. Here is the step by step guide Note : replace the $DOMAIN_HOME with the actual path in your environment,.

1) shutdown the domain ( All managed servers & then admin)

2) backup your $DOMAIN_HOME/security folder in case u need it


Code: [Se le ct] c $OANHM d DMI_OE trcfscrt.a scrt a v euiytr euiy

weblogic-training.com//5-min-way-to-recover-weblogic-administrator-password/

1/3

8/5/12

5 Min way to recover weblogic administrator password

3) set the environment


Code: [Se le ct] $d$OANHM/i c DMI_OEbn $..stoann.h /eDmiEvs Nt :dn fre tefrtdt. oe ot ogt h is o()

4) change to security folder & Add the new admin user using the below command after setting the environment
Code: [Se le ct] $c ./euiy d .scrt (ipratse,ohrieyuwl gtI ecpin motn tp tews o il e O xeto)

$aawboi.euiyuisAmncon amnsr wloe . jv elgcscrt.tl.diAcut diue1 ecm1 Nt :teei adt()a teedo tecmad oe hr s o . t h n f h omn ti wl adteue amnsr a teamnsrtr hs il d h sr diue1 s h diitao.

5) remove the below file from ldap directory


Code: [Se le ct]

r $OANHM/evr/amnsre-ae/aala/ealAtetctryelIi.ntaie m DMI_OEsres<di-evrnm>dt/dpDfutuhniaomramntiiilz

6) start the server using startWebLogic.sh Note : do not use the boot.properties file .. or a wrapper script at the first time

7) login to the console and change the password of the original admin user
Logged Online Weblogic Training starting Soon.

prasanna kumar
Newbie Posts: 8 Karma: +0/-0

Re: clarification for 4th question


Reply #1 on: May 20, 2011, 01:14:21 PM

Q.4) It is interesting to know that we can create admin using command prompt. In the same way could we create a server in a domain from the command prompt?

We know that we can install weblogic and create a domain from console ..
Logged

logicXpert
Newbie Posts: 22 Karma: +0/-0

Re: 5 Min way to recover weblogic administrator password


Reply #2 on: May 20, 2011, 01:17:47 PM

yes we can create a server from command prompt using WLST scripting.
Logged

prasanna kumar
Newbie Posts: 8 Karma: +0/-0

Re: 5 Min way to recover weblogic administrator password


Reply #3 on: May 20, 2011, 01:25:03 PM

Could you please give the syntax for that. It can be used for ref for future purpose
2/3

weblogic-training.com//5-min-way-to-recover-weblogic-administrator-password/

8/5/12

5 Min way to recover weblogic administrator password

Thanks in advance.[/purple]
Logged

Real Time hands-on WebLogic Training

Re: 5 Min way to recover weblogic administrator password


Reply #3 on: May 20, 2011, 01:25:03 PM

Pages: [1]

Go Up

P RI N T

previous next Real Time hands-on WebLogic Training Weblogic Administration Security Realm of weblogic 5 Min way to recover weblogic administrator password

Jum p to:

=> Security Realm of weblogic

go

Powe re d by SMF 2.0.2 | SMF 2006-2011, Sim ple Machine s LLC SMFAds for Fre e Forum s XHTML R SS W AP2

weblogic-training.com//5-min-way-to-recover-weblogic-administrator-password/

3/3