This tutorial covers the
basic use of the Oracle WebLogic Server Administration Console.
Approximately 15 minutes
This tutorial covers the following topics:
| Overview | |
| Scenario | |
| Prerequisites | |
| Starting Oracle WebLogic Administration Server | |
| Shutting Down the Server via the Console | |
| Viewing Server Logging in the Console | |
| Summary | |
| Related Information |
Place the cursor over this icon to load and view all the screenshots for this tutorial.
(Caution: This action loads all screenshots simultaneously, so response
time may be slow depending on your Internet connection.)
Note: Alternatively, you can place the cursor over an individual icon in the following steps to load and view only the screenshot associated with that step. You can hide an individual screenshot by clicking it.
This tutorial introduces you to the layout of the
Oracle WebLogic Server Administration Console. It gives you a
chance to practice changing properties and applying the changes. It also shows you how to run commands against the server and how to
configure and view log file entries.
Oracle WebLogic Server is administered using
a Web-based administration console that allows you to configure and
monitor Oracle WebLogic Servers. Log messages enable you to detect
problems and track the source of a fault and system performance.
Before starting this tutorial, you should have first completed the following prerequisite tutorials:
| 1. |
To start the administration server, perform the following steps:
|
1. |
Open a command shell, and navigate to your root domain directory.
Note: The location of your domain depends on what directory you chose when creating the domain. The default location is in the user_projects/domains directory of your Oracle WebLogic Server installation. The sample domain used in this tutorial is called dizzyworld.
|
|
2. |
Use the startWebLogic.sh
command to start the administration
server.
|
|
3. |
If prompted, supply the credentials that you defined when you set up the domain, or
another valid administrator login.
|
| 4. |
Ensure that your server has started properly by looking for
the line <Server started in
RUNNING mode>.
|
| 1. |
Open a Web browser and navigate to http://localhost:7001/console.
|
| 2. |
Log in using the credentials that you defined when you set up the domain, or another valid administrator login.
|
| 3. |
Click Lock & Edit in the Change Center on the left.
|
| 4. |
In the Domain Structure panel on the left, navigate to <domain name> > Environment >
Servers. Then click the name of the administration server ("AdminServer", by default).
|
| 5. |
Click the Logging tab.
|
| 6. |
Scroll to the bottom of the page and click Advanced.
|
| 7. |
In the Message destination(s)
section, set the following property: Redirect stdout logging enabled: Selected
|
| 8. |
Scroll down and set the following property:
|
| 9. |
Save your changes. |
| 10. |
In the Change Center on the left, click the Activate Changes button. |
In this
section, you use the Administration
Console to shut down the
administration server.
| 1. |
Repeat the steps in the previous section to select your administration server. Click the Control tab, and then click the Start/Stop tab on the second level.
|
| 2. |
Select the check box for your administration server in the
Server Status table and click Shutdown.
|
| 3. |
Select Force Shutdown Now and
click Yes when prompted.
|
| 4. |
Start the administration server again by
following the instructions from prior sections . Notice how much more
information is output to the standard out I/O stream as the server boots..
|
| 1. |
Return to the administration console once again.
|
| 2. |
In the Domain Structure panel, navigate to <domain name> > Diagnostics > Log
Files.
|
| 3. |
In the Log Files table, select the ServerLog entry for your administration server. Then click View to see the
log file entries via the console.
Tip: Use the Customize link to control how many log entries are displayed, as well as the message attributes. |
In this lesson, you should have learned how to:
| Start an
administration server |
||
| Log in to
the Administration Console |
||
![]() |
Change
properties of resources in the Administration Console |
|
![]() |
Shut down
a server instance via the Administration Console |
|
![]() |
View
server logging via the Administration Console |
|
|
To learn more about WebLogic Server, refer to additional OBEs on the OTN Web site. |