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

Starting the Administration Server


Administration Server is a WebLogic Server instance specific to administering a WebLogic domain through the Administration Console application at the /console URI.

It's a common task to deploy runtime applications to the Administration Server in development environments, but you should avoid doing it in production. Leave the Administration Server only to the administrative tasks of the console.

Getting ready

Since there is only one Administration Server per WebLogic domain, you have to start the Administration Server only in prod01.

How to do it...

To start the Administration Server, follow the ensuing steps:

  1. Log in as the wls user on the first machine prod01 and navigate to the folder:

    [wls@prod01]$ cd $DOMAIN_HOME/bin
    
  2. Start the Administration Server:

    [wls@prod01]$ ./startWebLogic.sh
    
  3. The server will initiate the startup process and ask for the WebLogic Administrator username and password:

    Enter username to boot WebLogic server: wlsadmin
    Enter password to boot WebLogic server:
    
  4. Type wlsadmin as the username and the <password> value you previously specified during domain creation.

  5. WebLogic Administration Server will start.

How it works...

The Administration Server is now running and waiting for connections in the host and port that are specified during domain creation at http://prod01.domain.local:7001/console.

<Started the WebLogic Server Administration Server "PROD_AdminServer" for domain "PROD_DOMAIN" running in production mode.>

There's more...

The system administrator should also create a boot.properties file to avoid entering the boot username and password in every WebLogic Server startup.

Creating the boot.properties file

Specify a boot.properties file so the Administration Server doesn't ask for the username and password at startup.

  1. Go to the Administration Server root folder:

    [wls@prod01]$ cd $DOMAIN_HOME/servers/PROD_AdminServer
    
  2. Create and enter a new directory:

    [wls@prod01]$ mkdir security
    [wls@prod01]$ cd security
    
  3. Create a new file called boot.properties with wlsadmin as the username and the <password> value you specified:

    [wls@prod01]$ echo -ne "username=wlsadmin\npassword=<password>" > boot.properties
    
    [wls@prod01]$ cat boot.properties
    username=wlsadmin
    password=<password>
    
  4. The next time you start WebLogic Administration Server, it will use the credentials from the boot.properties file. The file will also be encrypted:

    [wls@prod01]$ cat boot.properties
    password={AES}If68A2GSiO6Fa8w4j0giDJGR0FATHnfPsoZvpmF/Ipc\=
    username={AES}UYyIQYkN6z5o8PsS/IccG3VgZv6LP1zj+Ro1JBDb2ZE\=
    

Starting the Administration Server in the background

You usually start the Administration Server as a background process in Linux.

  1. Go to the WebLogic domain's bin directory:

    [wls@prod01]$ cd $DOMAIN_HOME/bin
    
  2. Start the Administration Server in the background:

    [wls@prod01]$ nohup ./startWebLogic.sh &
    [1] <PID>
    

The <PID> value is the process ID of the Administration Server.

The standard output (stdout) and standard error (stderr) of the process will be appended to a file called $DOMAIN_HOME/bin/nohup.out.

Accessing the Administration Console

The Administration Console application is running in the Administration Server. To access it, follow the ensuing steps:

  1. Open your web browser and navigate to http://prod01.domain.local:7001/console:

  2. Type the wlsadmin username and the password that was specified earlier.

See also

  • Starting the Node Manager

  • Starting/Stopping the WebLogic Managed Server

You have been reading a chapter from
Oracle WebLogic Server 12c Advanced Administration Cookbook
Published in: Jun 2013
Publisher:
ISBN-13: 9781849686846
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