Thursday, May 19, 2011

Steps to Reset the password for Weblogic Admin Console

Forgot the password for the Weblogic Admin account and the boot.properties is not available in the domain to recover the password? You might wonder and ask a question to yourself "How do i get the password reset for the Weblogic Admin account?". This post is available to you to help Reset the password for Weblogic Admin Console. Just follow through the blog which provides the steps for the same.

Steps to Reset the password for Weblogic Admin Console

Step 1. Run setDomainEnv.cmd/setDomainEnv.sh from your %DOMAIN_HOME%/bin directory to set necessary domain environment variables in command prompt for windows and shell prompt for Unix as above tool requires weblogic.jar to run.

Note: Any information below should be updated to match your directory structures and information
       %DOMAIN_HOME% -  C:\oracle\Middleware\user_projects\domains\base_domain


Step 2. Backup or rename the DefaultAuthenticatorInit.ldift file located under your %DOMAIN_HOME%/security directory as Step 3 creates a new DefaultAuthenticatorInit.ldift file with modification specified.

Step 3. From %DOMAIN_HOME%/security directory run the below command.
"java weblogic.security.utils.AdminAccount weblogic <new_passwd> ." 

Note: There is a . (DOT) at the end of the above command which represents the Current Directory. A new “DefaultAuthenticatorInit.ldift” file will be created after the command is executed in the current directory.


Step 4. Rename the data directory to data.bkp located under your %DOMAIN_HOME%/servers/AdminServer.
 

Step 5. Rename all the instances of boot.properties to boot.properties.bkp located under your %DOMAIN_HOME% [if any] and %DOMAIN_HOME%/servers/AdminServer/security directory.


Step 6. Create a new boot.properties with new password as below under %DOMAIN_HOME% [if any there was earlier] and %DOMAIN_HOME%/servers/AdminServer/security directory. As recommended to avoid prompting for Username and Password while starting the Weblogic instance this step is mandatory.

boot.properties
username=weblogic
password=<new_passwd>

Note: Make sure the boot.properties is not having any extra special characters (UTF or Invisible characters) or spaces except the above two lines. Also there should be no Heading or Trailing SPACE character in these two Lines.

Step 7. Issue a Startup command to Weblogic instance and monitor the logs. If you are using Windows service for startup of Weblogic then you might also need to delete the existing windows service and install the windows service with new credentials. Please refer WebLogic Server instance as Windows Service .

You would see something like below in your Server logs when you startup Weblogic Instance with new boot.properties.

####<May 19, 2011 3:27:01 PM MDT> <Notice> <Security> <NANDAR-W7> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1305840421604> <BEA-090083> <Storing boot identity in the file: C:\oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\security\boot.properties>

Step 8. Your managed nodes also needs to be started with new boot.properties. You can follow step4 to step7 or just replace all the instances of boot.properties on your managed node with the one on AdminServer and rename the servers directory located under %DOMAIN_HOME% on managed node.

Note: Please leave your valuable comments once you visit this post.

81 comments:

  1. I couldn't make it trough step 3.
    I'm getting NoClassDefFounError: weblogic.security.utils.AdminAccount

    Hope you can give us a little push here

    ReplyDelete
  2. Did you run the setDomainEnv.sh or setDomainEnv.cmd as specified in step1?

    ReplyDelete
  3. Thank you for the post Sunil, this is really helpful.

    ReplyDelete
  4. Excellent post. Did not face any problem. Just followed the steps and reset the pwd. Thanks a lot.

    ReplyDelete
  5. After following the steps outlined here... i tried to start weblogic server and it says authentication failed and was looking for old boot.properties... Did i miss anything?

    ReplyDelete
  6. Thank you for your post sunil.its really helpful

    ReplyDelete
  7. Thanks a lot, it worked.

    ReplyDelete
  8. it works like a charm

    ReplyDelete
  9. thanks for the post. It did the trick for me!

    ReplyDelete
  10. Extremely useful article. Works like magic. Thanks

    ReplyDelete
  11. I run the env file but again after I got this error

    NoClassDefFounError: weblogic.security.utils.AdminAccount

    ReplyDelete
  12. NoClassDefFounError: weblogic.security.utils.AdminAccount

    ReplyDelete
  13. NoClassDefFounError: weblogic.security.utils.AdminAccount

    ReplyDelete
  14. Hi Raman,

    Did you run the setDomainEnv.sh as mentioned in the step 1?

    Thanks,
    Sunil

    ReplyDelete
  15. generic xanax xanax xr half life - lexapro vs xanax for anxiety

    ReplyDelete
  16. buy tramadol online is tramadol hcl a narcotic drug - tramadol hcl user reviews

    ReplyDelete
  17. generic xanax xanax overdose antidote - pills related to xanax

    ReplyDelete
  18. cheap xanax no prescription xanax 0.5 side effects - xanax drug with alcohol

    ReplyDelete
  19. buy tramadol online tramadol purchase usa - where to buy tramadol cod

    ReplyDelete
  20. buy tramadol online tramadol buy australia - tramadol pill high

    ReplyDelete
  21. buy carisoprodol buy carisoprodol online us - what is soma carisoprodol tablets 350mg

    ReplyDelete
  22. buy tramadol online buy tramadol online without prescriptions usa - tramadol shipped with no prescription

    ReplyDelete
  23. buy tramadol online cheap tramadol online usa - tramadol dosage 50 mg

    ReplyDelete
  24. buy cheap tramadol buy tramadol online 100mg - order tramadol online no prescription overnight

    ReplyDelete
  25. buy cialis online cialis online discreet - cialis free printable coupon

    ReplyDelete
  26. buy real cialis online tadalafil cialis cheap - generic cialis daily

    ReplyDelete
  27. cialis online buy cialis online new zealand - buy cialis online using paypal

    ReplyDelete
  28. buy tramadol online generic brand for tramadol - tramadol overdose canine

    ReplyDelete
  29. buy tramadol tramadol hcl 50 mg for migraines - tramadol hcl 50 mg tablet

    ReplyDelete
  30. http://landvoicelearning.com/#44827 tramadol 50mg dosage adults - order tramadol next day

    ReplyDelete
  31. buy tramadol tramadol for dogs constipation - what dosage of tramadol should i take

    ReplyDelete
  32. http://buytramadolonlinecool.com/#51726 tramadol information - can you buy tramadol in usa

    ReplyDelete
  33. buy tramadol tramadol online in europe - tramadol no prescription cod

    ReplyDelete
  34. http://buytramadolonlinecool.com/#56411 tramadol dosage uses - tramadol online rx

    ReplyDelete
  35. order tramadol overnight tramadol 50mg (generic ultram) - taking 3 50mg tramadol

    ReplyDelete
  36. buy tramadol online tramadol hcl 50mg street value - tramadol dosage route

    ReplyDelete
  37. buy generic tramadol online tramadol 50mg used dogs - tramadol sale no prescription

    ReplyDelete
  38. [url=http://spymobilemu48bn.carbonmade.com/projects/4708561][img]http://emeds.biz/pics/spymobile.png[/img][/url]
    monitoring cell growth http://archive.org/details/riebubbresmau easy spy cell phone tracker [url=http://archive.org/details/formocharcomp] spy kids 3 game over trailer[/url] iphone data usage verizon app tracking a mobile phone for free small hidden video cameras wireless
    mamoleptino321 http://surveys.questionpro.com/a/TakeSurvey?id=3440718 http://surveys.questionpro.com/a/TakeSurvey?id=3440875 http://archive.org/details/icprottanrea
    himym season 7 episode 1 download free http://archive.org/details/diswaterve spy iphone sms free [url=http://spymobilecy37.carbonmade.com/projects/4708470] free mobile text monitoring[/url] new w9 spy mobile watch phone monitor text messages free iphone spy text messages android free
    http://surveys.questionpro.com/a/TakeSurvey?id=3440761 http://spymobile88nv.carbonmade.com/projects/4708461 http://archive.org/details/gituneli
    [url=http://blogs.estadao.com.br/jt-esportes/cbf-diz-que-fifa-ainda-avaliara-estadio-corintiano/comment-page-10/#comment-240271]spy cell phone text messages free trial[/url]
    http://ekmk.mythem.es/ http://www.ihanuman.com/features/prahaladan-mandelkorn-discusses-the-bhagavad-gita/#comment-748347 http://nuest-th.com/board/index.php?/topic/5896-text-message-saying-sorry/ http://www.blogger.com/comment.g?blogID=22204939&postID=116136559879429999&page=1&token=1364459176860 http://www.blogger.com/comment.g?blogID=31092036&postID=115282839953067209&page=1&token=1364435131437
    spy phone software iphone 4s http://archive.org/details/unleanmenddurch phone trace software [url=http://surveys.questionpro.com/a/TakeSurvey?id=3440803] free iphone sms spy[/url] gsm spy phone india spy phone gps software disney cars siddeley spy jet

    ReplyDelete
  39. Fantanstic...Thanks Sunil. It worked like a charm.

    ReplyDelete
  40. I've been surfing online greater than 3 hours as of late, yet I by no means discovered any interesting article like yours. It's pretty worth enough for me.

    In my view, if all website owners and bloggers made good content material as you probably did, the web will be a lot more useful than ever before.


    Also visit my blog - Seahorses.Net

    ReplyDelete
  41. Hi there to all, it's genuinely a pleasant for me to pay a visit this web site, it consists of priceless Information.

    My web blog :: forgot twitter password

    ReplyDelete
  42. Hey very nice blog!

    Here is my weblog tao of badass members

    ReplyDelete
  43. Quality content is the key to invite the users to pay a quick visit
    the web page, that's what this web site is providing.

    Also visit my page - Earn Money With

    ReplyDelete
  44. What's up everybody, here every one is sharing such experience, so it's
    good to read this blog, and I used to pay a quick visit this web site every day.


    Here is my weblog Primitive And Easy To Crack Passwords Common In The Uae

    ReplyDelete
  45. So, the steps to take are as follows:

    1. Install Weblogic 12c
    2. Observe that no username or password were asked at the configuration stage.
    3. Puzzle over how to start it.
    4. Good. Now, try starting the admin console. Observe that it is by NO MEANS the only administrative tool you will be using. There are some 4 of them at the last count.
    5. Puzzle over the username and the password requested by the screen.
    6. Try the name of the domain. No, it doesn't work.
    7. Try simply 'weblogic' No, it doesn't work.
    8. Return to Google, and look in the documentation. No, there is no help there either.
    9. Return to Google and look for hints from other victims.
    10. You would land on a website like this one. Read the instructions.
    11. Unbelievable! In a presumably 'highly secure' application, a passerby can change the username and password of its Administration Console... What do you know?
    12. Follow the steps given in this very instructive and clear blog.
    13. Observe that Weblogic is designed to leave duplicate files of sensitive information in TWO places, and repeat with expected awe: What do you know! Scattering files like these is usually a reason for reprimanding the developers for a serious unprofessional conduct.
    14. Start the server and then the console. Remember that you spent a couple of hours wondering how to do so. It is in an undisclosed location - may be for security purposes?
    15. Enter you new username and password... and it works. Repeat solemnly: "What do you know!"
    16. Restrain yourself. No need for excessive celebrations. This is only the start. There are myriads of other things to do to produce a running application. Keep your browsers ready and send a thank you remark to Google in the hope that you may find answers to the much more complex questions which will follow.
    17. You may need to learn about the 100 or so applications that you will require. Yes. Most relate to the same purpose, like the group you need for administering the server - but are different and at times hidden, and will need to find them.


    This blog is clear, concise and very helpful. But it certainly made it easier for those making a decision about the choice of Application Servers. Spending 4 days to merely get started with the evaluation is an important factor in that effort, I should think.

    And thanks to the hundreds who reported the myriads of problems which faced users, apparently from Version 8 of the server to the current version.



    ReplyDelete
  46. I was looking at some of your posts on this site
    and I believe this web site is very instructive!

    Retain putting up.

    Visit my website :: PSN Code Generator

    ReplyDelete
  47. Right here is the perfect site for everyone who wishes to find out about this topic.
    You realize a whole lot its almost hard to argue with you (not that I actually would want to…HaHa).
    You certainly put a new spin on a subject that has been written
    about for ages. Excellent stuff, just wonderful!


    Look into my web page ... miscrits volcano

    ReplyDelete
  48. Υouг oωn repοгt has еstаblіsheԁ neсessaгy to
    me ρеrsonally. Іt’s ѵeгy
    infoгmаtіѵe and you're simply naturally very knowledgeable in this area. You possess opened my personal eye to be able to different views on this specific topic using intriguing and solid articles.

    Take a look at my blog; Buy CIALIS Online

    ReplyDelete
  49. Nice blog here! Also your web site loads up fast! What host are you using?
    Can I get your affiliate link to your host? I wish
    my site loaded up as quickly as yours lol

    My web site ps3 free

    ReplyDelete
  50. Aw, this was an extremely good post. Finding the time and actual
    effort to create a very good article… but what can I say… I hesitate a lot
    and don't manage to get anything done.

    Visit my page psn

    ReplyDelete
  51. I savor, cause I discovered just what I used to be having a
    look for. You have ended my four day lengthy hunt! God Bless you man.
    Have a great day. Bye

    Here is my website :: Aimbot - Wikipedia

    ReplyDelete
  52. Saved as a favorite, I really like your web site!

    Here is my web page password for

    ReplyDelete
  53. It's very easy to find out any matter on web as compared to books, as I found this post at this website.

    Here is my page virtapay exchange

    ReplyDelete
  54. Hmm it seems like your site ate my first comment (it was extremely long) so I guess I'll just sum it up what I wrote and say, I'm thoroughly enjoying your blog.
    I as well am an aspiring blog writer but I'm still new to the whole thing. Do you have any points for newbie blog writers? I'd definitely appreciate it.



    Feel free to surf to my web-site :: free virtapay exchange

    ReplyDelete
  55. I always spent my half an hour to read this webpage's posts every day along with a mug of coffee.

    Here is my webpage ... aim bot

    ReplyDelete
  56. What's up, I would like to subscribe for this blog to get latest updates, thus where can i do it please help.

    Here is my weblog ... onhiddencam.info

    ReplyDelete
  57. Hello just wanted to give you a quick heads up and let you know a few
    of the pictures aren't loading correctly. I'm not sure
    why but I think its a linking issue. I've tried it in two different web browsers and both show the same outcome.

    Here is my website xerox 8560 yellow

    ReplyDelete
  58. If you want to take a good deal from this article then you have to apply such strategies to your
    won website.

    Here is my web blog all in one seo

    ReplyDelete
  59. I am regular visitor, how are you everybody? This piece of
    writing posted at this website is really good.


    Feel free to surf to my page - miscrits rare

    ReplyDelete
  60. Very energetic article, I loved that a lot.
    Will there be a part 2?

    Also visit my web page: sexy games

    ReplyDelete
  61. What's up it's me, I am also visiting this
    site daily, this website is truly nice and the people are
    really sharing good thoughts.

    my page :: forgot twitter password

    ReplyDelete
  62. Actually Interesting. Many thanks for the Info. I enjoy your website.



    Feel free to surf to my homepage - Xerox Phaser 8560 Ram Error

    ReplyDelete
  63. Yes! It operates additionally with a Lexmark E210
    with this treatment ... Thank you significantly!
    I'm extremely satisfied to continuously utilize my printer!

    Also visit my webpage :: http://freedomhmin.org/

    ReplyDelete
  64. Sweet blog! I found it while browsing on Yahoo News. Do you have any tips on
    how to get listed in Yahoo News? I've been trying for a while but I never seem to get there! Many thanks

    Visit my homepage - adfocus bot

    ReplyDelete
  65. Hi my family member! I wish to say that this article is
    amazing, great written and include almost all important infos.
    I would like to peer extra posts like this .

    Take a look at my page - www.cuteteenporn.net

    ReplyDelete
  66. Thank you for the good writeup. It in fact was a amusement account it.
    Look advanced to more added agreeable from you! By
    the way, how could we communicate?

    My web page - breed a gold dragon

    ReplyDelete
  67. It's in point of fact a great and useful piece of information. I'm happy that you simply
    shared this helpful information with us. Please stay us informed like
    this. Thanks for sharing.

    My site; minecraft free

    ReplyDelete
  68. thanks a lot ... It assist me lot now planning to purchase HP LaserJet Pro P1106 Printer .
    .. when agin thanks.

    Look at my blog post ... kapal-pesiar.blogspot.com

    ReplyDelete
  69. I'm really enjoying the theme/design of your weblog. Do you ever run into any web browser compatibility issues? A handful of my blog readers have complained about my blog not operating correctly in Explorer but looks great in Safari. Do you have any tips to help fix this issue?

    Visit my blog post sharecash auto

    ReplyDelete
  70. Free Windows Password Reset Software - http://www.windowspasswordrecovery.
    tk - For Windows8, Windows 7, Vista, XP, Windows 2000, Windows Server 2003
    and 2008 and NT passwords - Easy Free Password Recovery Software -
    Crack Windows Passwords

    It's genuinely very complex in this busy life to listen news on TV, therefore I just use web for that purpose, and obtain the newest information.

    ReplyDelete
  71. If you would like to obtain a good deal from this article then you have to apply
    such methods to your won website.

    Review my blog post password recovery

    ReplyDelete
  72. hp laserjet p1505 printer vehicle drivers download.


    My web page :: xerox phaser 8560 - http://mocho-varios.blogspot.fr/2011/02/doom-1-y-2-tnt-plutonia-wad-zdoom.html?m=1 -

    ReplyDelete
  73. Very useful information in great detail... just I followed the steps provided and it worked on first go! hats up to the writer.

    ReplyDelete
  74. Weblogic Adminstration online training| Weblogic ...
    www.21cssindia.com/.../weblogic-adminstration-online-training-205.htm...
    Weblogic Adminstration Online Training, Weblogic Adminstration training, Weblogic Adminstration course contents, Weblogic Adminstration , call us: ...+919000444287

    ReplyDelete
  75. Weblogic Adminstration Online Training, ONLINE TRAINING – IT SUPPORT – CORPORATE TRAINING http://www.21cssindia.com/courses/weblogic-adminstration-online-training-205.html The 21st Century Software Solutions of India offers one of the Largest conglomerations of Software Training, IT Support, Corporate Training institute in India - +919000444287 - +917386622889 - Visakhapatnam,Hyderabad Weblogic Adminstration Online Training, Weblogic Adminstration Training, Weblogic Adminstration, Weblogic Adminstration Online Training| Weblogic Adminstration Training| Weblogic Adminstration| "Courses at 21st Century Software Solutions
    Talend Online Training -Hyperion Online Training - IBM Unica Online Training - Siteminder Online Training - SharePoint Online Training - Informatica Online Training - SalesForce Online Training - Many more… | Call Us +917386622889 - +919000444287 - contact@21cssindia.com
    Visit: http://www.21cssindia.com/courses.html"

    ReplyDelete
  76. whenever i rename data directory to data.bak it gives me ACESS DENIED
    pls help me out

    ReplyDelete
  77. It worked perfectly for me. Thank you!

    ReplyDelete
  78. I followed the your steps but when i start the service and keyed in the new password i get a message a SHUT DOWN ERROR. What did i do wrong?

    ReplyDelete
  79. Still work properly in 2021. Thanks you!! Saving IT Admin lives since 2011 :D

    ReplyDelete