Installation guide
5. SERVLETEXEC APPLICATION SERVER (UNIX)
ServletExec 4.1 Installation Guide 83
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 on the ServletExec Admin UI.
6.6.2.1 StopServletExec
The StopServletExec script is provided for your convenience in stopping the
ServletExec/AS instance. StopServletExec invokes the StopServletExec Java
program to stop the ServletExec/AS instance.
StopServletExec includes defaults for the java and StopServletExec command
line arguments; you can edit StopServletExec 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.
6.6.2.2 Using the java Command
We recommend that you use the StopServletExec script 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 command line. The
information in this section can also help you edit the StopServletExec script 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”
The following table lists and explains the available Stop ServletExec/AS 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
s
p
ecified
,
then the Sto
p
ServletExec