This tutorial shows you how to use the WebLogic Scripting Tool (WLST) to administer Oracle WebLogic Server 12c (12.1.3) from the command line.
Time to Complete
Approximately 15 minutes
With WLST, you can monitor, control, and configure servers and other domain resources from the command line. You can also save groups of commands in files so that you can reliably perform the same tasks many times.
This tutorial introduces you to WLST. It gives you a chance to practice basic commands and to change server attributes from the command line.
Hardware and Software Requirements
- Oracle Linux 5.6+
- Oracle WebLogic Server 12c (12.1.3)
Before starting this tutorial, you should have completed the Oracle by Example tutorial titled Oracle WebLogic Server 12c: Installing WebLogic Server and Creating a Domain.
Running WLST in Interactive Mode
The administration server does not have to be running to access WLST. However, in this tutorial, because WLST connects to the administration server, it must be running.
To run WLST in interactive mode, perform the following steps:
Changing a Server Property
To change a server property by using WLST in interactive mode, perform the following steps:
Shutting Down the Administration Server
To shut down the administration server of the domain by using WLST in interactive mode, perform the following steps:
In this tutorial, you learned how to:
- Start WLST in interactive mode
- Change a server property
- Shut down the administration server
- Exit WLST
- For documentation on Oracle WebLogic Server 12c (12.1.3), visit the Oracle WebLogic Server Documentation Library.
- For more information on the WebLogic Scripting Tool, see the WLST Command Reference for WebLogic Server document.
- To learn more about Oracle WebLogic Server, refer to additional OBEs in the Oracle Learning Library.
- Lead Curriculum Developer: Bill Bell
- Original Oracle by Example tutorial for version 11g created by: TJ Palazzolo
- Other Contributors: Susan Moxley
To navigate this Oracle by Example tutorial, note the following:
- Hide Header Buttons:
- Click the title to hide the buttons in the header. To show the buttons again, click the title again.
- Topic List:
- Click a topic to navigate to that section.
- Expand All Topics:
- Click the button to show or hide the details for the sections. By default, all topics are collapsed.
- Hide All Images:
- Click the button to show or hide the screenshots. By default, all images are displayed.
- Click the button to print the content. The content that is currently displayed or hidden is printed.
To navigate to a particular section in this tutorial, select the topic from the list.