The WebLogic command line is accessible through the WebLogic 8 Common Task page. For more information about the WebLogic 8 command-line interface, see the WebLogic Server Command Reference on BEA's web site.
You can run WebLogic commands on any Administration Server or Managed Server.
In the Common Tasks section in the browser interface, click WebLogic 8.
Select whether you plan to run the command on an Administration Server or a Managed Server.
If you plan to run commands on an Administration Server, click Domain Management: Start.
If you plan to run commands on a Managed Server, click Application Server Management: Start.
The component Details page displays
Select the Run-cli component procedure and click Run.
The plan's Run page displays.
Select the AdminServer virtual host or Managed Server virtual host on which to run the CLI and click Run Selected Installations.
Type the needed information in the plan variable fields.
Many of the plan variables do not require information and can be left blank. The following list describes the optional variables.
This variable can be safely ignored if you do not connect to the server using SSL.
This is the user name variable. The user name and password variables are mutually exclusive with the user-configuration file and key file variables. Supply either the user name and password or the user-configuration file and key file locations.
This is the password variable. The user name and password variables are mutually exclusive with the user-configuration file and key file variables. Supply either the user name and password or the user-configuration file and key file locations.
This is the user-configuration file variable. The user name and password variables are mutually exclusive with the user-configuration file and key file variables. Supply either the user name and password or the user-configuration file and key file locations.
This is the key file variable. The user name and password variables are mutually exclusive with the user-configuration file and key file variables. Supply either the user name and password or the user-configuration file and key file locations.
Click Run Plan (Includes Preflight).
This example uses the WebLogic FORCESHUTDOWN command to illustrate input for each Run-cli plan variable.
Weblogic CLI to run (weblogic.Admin or weblogic.Deployer): |
weblogic.Admin |
The SSL arguments for the command: | |
The listen address of the server instance that runs the command: |
sun03 This is the name of the AdminServer. |
The listen port of the server instance that runs the command: |
7001 |
The name of the user who must have appropriate permission to view or modify the target of the command: |
admin |
The password that is associated with the username: |
xxxxx |
The name and location of a user-configuration file, which contains an encrypted username and password: | |
the name and location of the key file: | |
The name of the command to run: |
FORCESHUTDOWN |
Arguments of the command: |
Server-one |