Technical data
Configuring and Managing WebLogic Server 5-9
–remove
Remove the specified service.
–svcname: service_name
The user-specified name of the service to be installed or removed.
–javahome: java_directory
Root directory of the Java installation. The start command will be formed by
appending
\bin\java to java_directory.
–execdir: domain_name
Directory where this startup command will be executed.
–extrapath: additional_env_settings
Additional path settings that will be prepended to the path applicable to this
command execution.
–help
Prints out the usage for the beasvc.exe command.
-depend: service_names
Comma-separated list of services that this service depends on.
-delay: delay_milliseconds
Number of milliseconds to delay the JVM thread.
–cmdline: variable
The java command-line parameters to be used when starting a WebLogic
Server as a Windows service. For example:
-cmdline:"-ms64m -mx64m
-classpath C:\bea\wweblogic8.1\lib\weblogic.jar
-Dweblogic.Name=myserver weblogic.Server"
Win32 systems have a 2K limitation on the length of the command line. If the classpath
setting for the Windows service startup is very long, the 2K limitation could be
exceeded. To work around this limitation, you can do the following when using the
beasvc command:
1. Place the classpath values in a text file.
2. Place your
beasvc command in a script. In this script, assign the parameters for
the
beasvc command to a variable. For the classpath parameter, use the
following syntax:
-classpath @filename
3. Then, specify the variable as the value of the -cmdline parameter. For example: