Technical data

B WebLogic Server Command-Line Interface Reference
B-20 Administration Guide
Configuring the Default Path Name
If you do not specify the location in which to create and use a user-configuration file
and key file, the
weblogic.Admin and weblogic.Deployer utilities supply the
following default values:
n user-home-directory\username-WebLogicConfig.properties
n user-home-directory\username-WebLogicKey.properties
Where user-home-directory is the home directory of the operating-system user
account as determined by the JVM, and
username is your operating-system username.
The value of the home directory varies depending on the SDK and type of operating
system. For example, on UNIX, the home directory is usually "~
username." On
Windows, the home directory is usually "
C:\Documents and
Settings\username
".
You can use the following Java options to specify values for
user-home-directory
and
username:
n -Duser.home=pathname specifies the value of user-home-directory
n -Duser.name=usernanme specifies the value of username.
For example, the following command configures the user-home directory to be
c:\myHome and the user name to be wlAdmin. The command will search for the
following user-configuration file and user key file:
c:\myHome\wlAdmin-WebLogicConfig.properties
c:\myHome\wlAdmin-WebLogicKey.properties
java -Duser.home=c:\myHome -Duser.name=wlAdmin
weblogic.Admin COMMAND
-username
username
[-password
password
]
Specifies the username and password to encrypt. The STOREUSER-
CONFIG
command does not verify that the username and password are
valid WebLogic Server user credentials.
If you omit the
-password password argument, STOREUSERCON-
FIG
prompts you to enter a password.
Argument Definition (Continued)