Installation guide

5. SERVLETEXEC APPLICATION SERVER (UNIX)
ServletExec 4.1 Installation Guide 80
#
# suffix alias for htdocs/subdir2/subdir3
#
<Location /*/*/*.jsp*>
SetHandler servlet-exec
</Location>
6.6 ServletExec/AS Operation
This section provides instructions for starting and stopping ServletExec/AS, for
configuring a ServletExec/AS instance to run on a remote machine from the web server,
and for configuring multiple ServletExec/AS instances for a web server.
6.6.1 Starting ServletExec/AS
A ServletExec/AS instance is a standalone Java application that communicates with the
web server (through the ServletExec/AS web server adapter) using network sockets. You
start a ServletExec/AS instance using the
java command on the command line. In
addition to java command arguments, ServletExec/AS accepts several required and
optional arguments. You can also start a ServletExec/AS instance using the
StartServletExec script. The following sections describe both methods.
6.6.1.1 StartServletExec
The StartServletExec script is provided for your convenience in starting the
ServletExec/AS instance. StartServletExec includes defaults for all of the java and
ServletExec/AS command line arguments. You can edit StartServletExec to modify
these command line arguments. The next section features a complete list of
ServletExec/AS command line arguments.
6.6.1.2 Using the java Command
We recommend that you use the StartServletExec script to start a ServletExec/AS
instance. However, it is possible to start a ServletExec/AS instance from the command
line using the java command. The information in this section can also help you edit the
StartServletExec script to modify the startup parameters for a ServletExec/AS
instance.
To start a ServletExec/AS instance using the java command
From the command line, type the following:
java [java arguments] ServletExec [ServletExec/AS arguments]
Important
The java command arguments must include the –classpath option specifying the
path to the
ServletExec41.jar, servlet.jar, crimson.jar, jaxp.jar, and
jndi.jar archives.