Installation guide

5. SERVLETEXEC APPLICATION SERVER (WINDOWS)
ServletExec 4.1 Installation Guide 64
5.6.2.1 StopServletExec.bat
The batch file StopServletExec.bat is provided for your convenience in stopping the
ServletExec/AS instance. It is also used by the Services control panel to stop the
ServletExec/AS instance. StopServletExec.bat invokes the StopServletExec
Java program to stop the ServletExec/AS instance.
StopServletExec.bat includes defaults for the java and StopServletExec
command line arguments. You can edit StopServletExec.bat to modify these
command line arguments, which you must do when setting or changing the ServletExec
Admin UI username and password. A complete list of StopServletExec command
line arguments is provided below.
5.6.2.2 Using the java Command
We recommend that you use the StopServletExec.bat command file or Services to
stop a ServletExec/AS instance. However, it is possible to stop a ServletExec/AS instance
by invoking the StopServletExec program using the java command from a DOS
command prompt. The information in this section can also help you edit the
StopServletExec.bat file to modify the parameters to the StopServletExec
program, which you must do when setting or changing the ServletExec Admin UI
username and password.
To invoke the StopServletExec program using the java command
From the command line, type the following:
java [java arguments] StopServletExec [StopServletExec arguments]
Stop ServletExec/AS arguments
If an option value contains spaces then the entire value must be placed inside double
quotes, as in the following example:
-name “Local Instance”
See the following table for a complete list of available arguments.
Argument Explanation
-help
Displays all available arguments and
explanations.
-host
<hostname:port> or
<ip addr:port>
Specifies the address of a web server that has
a ServletExec/AS web server adapter installed
that is configured to communicate with the
ServletExec/AS instance.
-direct
<hostname:port> or
<ip addr:port>
Specifies the address of the ServletExec/AS
instance.
Either the
–host or –direct parameter may
be specified, but not both. If neither is
specified, then the StopServletExec
program assumes –host using the local IP
address and port 80. If
-host is specified
without a
p
ort
,
then the Sto
p
ServletExec