Installation guide

Table Of Contents
5. SERVLETEXEC APPLICATION SERVER (WINDOWS)
5.7.2 Stopping ServletExec/AS
You must stop a ServletExec/AS instance using the StopServletExec.bat file. If a
ServletExec/AS instance is not shut down properly, servlet
destroy() methods are not
invoked, sessions are not saved, and buffered log messages are lost.
See the ServletExec User Guide for more information about the ServletExec Admin UI.
5.7.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. A complete list of
StopServletExec command line
arguments is provided below.
5.7.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.
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.
-port
Specifies the port number used by the ServletExec/AS
instance
Table 7. Stop ServletExec/AS Command Line Arguments
5.7.3 Remote Operation
By default, a ServletExec/AS web server adapter is installed on the same machine as the
ServletExec/AS instance, and the ServletExec/AS instance only accepts requests from
ServletExec 5.0 Installation Guide 65