Installation guide
Table Of Contents
- Introduction
- ServletExec/ISAPI: Microsoft IIS Plugin (Windows)
- ServletExec/NSAPI:NES/iWS/Sun ONE Plugin (Windows)
- ServletExec/NSAPI: NES/iWS/Sun ONE Plugin(SPARC Solaris)
- ServletExec/AS:Application Server (Windows)
- ServletExec/AS: Application Server (UNIX/Linux)

5. SERVLETEXEC APPLICATION SERVER (WINDOWS)
5.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.bat file. The following sections describe both methods.
5.7.1.1 StartServletExec.bat
The batch file StartServletExec.bat is provided for your convenience in starting
the ServletExec/AS instance. It is also used by Services to start the ServletExec/AS
instance.
StartServletExec.bat includes defaults for all java and ServletExec/AS command
line arguments. You can edit
StartServletExec.bat to modify them. The next
section features a complete list of ServletExec/AS command line arguments.
5.7.1.2 Using the java Command
We recommend you use the StartServletExec.bat file or Services to start a
ServletExec/AS instance. However, it is possible to start a ServletExec/AS instance from
a DOS command prompt using the
java command. The information in this section can
also help you edit the
StartServletExec.bat file 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”
See the following table for a complete list of available 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
ServletExec 5.0 Installation Guide 62