Viewing the Status of Applications

Getting Started Managing Oracle Fusion Middleware 3-15 Alternatively, you can access the Administration Console from Fusion Middleware Control, from the home pages of targets such as the Administration Server or Managed Servers.

3.4.2 Locking the WebLogic Server Configuration

Before you make configuration changes, lock the domain configuration, so you can make changes to the configuration while preventing other accounts from making changes during your edit session. To lock the domain configuration: 1. Locate the Change Center in the upper left of the Administration Console screen. 2. Click Lock Edit to lock the configuration edit hierarchy for the domain. As you make configuration changes using the Administration Console, you click Save or in some cases Finish on the appropriate pages. This does not cause the changes to take effect immediately. The changes take effect when you click Activate Changes in the Change Center. At that point, the configuration changes are distributed to each of the servers in the domain. If the changes are acceptable to each of the servers, then they take effect. If any server cannot accept a change, then all of the changes are rolled back from all of the servers in the domain. The changes are left in a pending state; you can then either edit the pending changes to resolve the problem or revert to the previous configuration.

3.5 Getting Started Using Command-Line Tools

The following topics describe the primary command-line tools you can use to manage most Oracle Fusion Middleware components: ■ Getting Started Using the Oracle WebLogic Scripting Tool WLST 3-16 Oracle Fusion Middleware Administrators Guide ■ Getting Started Using Oracle Process Manager and Notification Server

3.5.1 Getting Started Using the Oracle WebLogic Scripting Tool WLST

The Oracle WebLogic Scripting Tool WLST is a command-line scripting environment that you can use to create, manage, and monitor Oracle WebLogic Server domains. It is based on the Java scripting interpreter, Jython. In addition to supporting standard Jython features such as local variables, conditional variables, and flow-control statements, WLST provides a set of scripting functions commands that are specific to WebLogic Server. You can extend the WebLogic scripting language to suit your needs by following the Jython language syntax. You can use WLST commands in the following ways: ■ Interactively, on the command line ■ In script mode, supplied in a file ■ Embedded in Java code For example, to invoke WLST interactively, and connect to the WebLogic Server, use the following commands: java weblogic.WLST connectusername, password, localhost:7001 To display information about WLST commands and variables, enter the help command. For example, to display a list of categories for online commands, enter the following: wls:base_domainserverConfig helponline helpactivate Activate the changes. helpaddListener Add a JMX listener to the specified MBean. helpadminHome Administration MBeanHome. helpcancelEdit Cancel an edit session. helpcd Navigate the hierarchy of beans. helpcmo Current Management Object. . . . To monitor the status, you use the WLST state command, using the following format: statename, type For example to get the status of the Managed Server soa_server1, use the following command: wls:SOA_domainserverConfig statesoa_server1, Server Current state of soa_server1 : RUNNING

3.5.1.1 Using Custom WLST Commands

Many components, such as Oracle SOA Suite, Oracle Platform Security Services OPSS, Oracle Fusion Middleware Audit Framework, and MDS, and services such as SSL and logging, provide custom WLST commands. See Also: Oracle Fusion Middleware WebLogic Scripting Tool Command Reference