Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Oracle WebLogic Server 12c Advanced Administration Cookbook

You're reading from   Oracle WebLogic Server 12c Advanced Administration Cookbook If you want to extend your capabilities in administering Oracle WebLogic Server, this is the helping hand you've been looking for. With 70 recipes covering both basic and advanced topics, it will provide a new level of expertise.

Arrow left icon
Product type Paperback
Published in Jun 2013
Publisher
ISBN-13 9781849686846
Length 284 pages
Edition Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Dalton Iwazaki Dalton Iwazaki
Author Profile Icon Dalton Iwazaki
Dalton Iwazaki
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

Oracle WebLogic Server 12c Advanced Administration Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. Install, Configure, and Run FREE CHAPTER 2. High Availability with WebLogic Clusters 3. Configuring JDBC Resources for High Availability 4. Configuring JMS Resources for Clustering and High Availability 5. Monitoring WebLogic Server 12c 6. Troubleshooting WebLogic Server 12c 7. Stability and Performance 8. Security Index

Recovering the WebLogic admin password


The WebLogic Administrator username and password are used to start up the WebLogic Server instances. They are stored encrypted in the boot.properties file.

This recipe will provide the steps to recover the username and password from the boot.properties file of the PROD_DOMAIN domain.

Getting ready

The recovery will use WLST to decrypt the boot.properties file.

How to do it...

Carry out the following steps to recover the WebLogic Admin password:

  1. Log in as the wls user to shell and set the domain environment variables for the domain you want to recover:

    [wls@prod01]$ cd $DOMAIN_HOME/bin
    [wls@prod01]$ . ./setDomainEnv.sh
  2. Start WLST:

    [wls@prod01]$ $WL_HOME/common/bin/wlst.sh
  3. Run the following WLST commands to display the username and password:

    from weblogic.security.internal import BootProperties
    BootProperties.load("/oracle/Middleware/user_projects/domains/PROD_DOMAIN/servers/PROD_AdminServer/security/boot.properties", false)
    prop = BootProperties.getBootProperties...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime