Technical data

Using WebLogic Server Commands
Administration Guide B-3
Using WebLogic Server Commands
This section presents the syntax and required arguments for using WebLogic Server
commands. WebLogic Server commands are not case-sensitive.
Syntax
java weblogic.Admin [–url URL]
[ { -username username [-password password] } |
{ [-userconfigfile config-file] [-userkeyfile admin-key] }
]
COMMAND arguments
Connection and User Credentials Arguments
Note: When you invoke most weblogic.Admin commands, you specify the
arguments in Table 21-1 to connect to a WebLogic Server instance and to
specify the user credentials of a WebLogic Server user who has permission to
invoke the command.
Table 21-1 Conection and User Credentials Arguments
Argument Definition
-url URL
Specifies one of the following:
n The listen address of the domain’s Administration Server. In most cases,
we recommend that you use this URL because it runs the command with-
in the security context of the Administration Server.
n The listen address of the WebLogic Server that is the target of the com-
mand. Use this URL if you cannot access the Administration Server and
you want to target a Managed Server.
The format is hostname:port. The default is localhost:7001.
-username username
Username that has permission to invoke the command you specify.
If you do not specify this argument,
weblogic.Admin uses a user-config-
uration file and key file.