Installation guide

Table Of Contents
6. SERVLETEXEC/AS: APPLICATION SERVER (UNIX/LINUX)
6.7.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.7.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.7.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 activation.jar, commons-el.jar, dom.jar, jaxp-
api.jar, jdbc2_0-stdext.jar, jstl.jar, mail.jar, sax.jar,
servlet.jar, ServletExec50.jar, ServletExecAdmin.jar,
standard.jar, xalan.jar, xercesImpl.jar and xsltc.jar
archives.
Start 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 all ServletExec/AS arguments.
Argument Explanation
-help
Displays all available arguments and
explanations.
-port <port number>
Optional. The default value is 8888. This
argument specifies the TCP/IP port on which
ServletExec 5.0 Installation Guide 80