Installation guide
5. SERVLETEXEC APPLICATION SERVER (UNIX)
ServletExec 4.1 Installation Guide 85
6.6.4 Multiple ServletExec/AS Instances (Multiple Java VMs)
It is possible to configure a web server adapter to forward HTTP requests to more than
one ServletExec/AS instance.
To install multiple ServletExec/AS instances
• Run the ServletExec/AS installer again to install another instance. Remember to
give each instance a unique name and port number during the installation process.
To configure a web server adapter to forward HTTP requests to more than one instance
• Specify the incoming requests to forward using this criteria:
1. The virtual host to which the request is addressed (i.e., “www.abc.com” or
“www.xyz.com”)
2. The servlet alias (if any) specified by the request
3. The web application context URL (if any) specified by the request
To configure a web server adapter to forward HTTP requests to more than one instance
based on a virtual host or servlet alias
• Manually edit the web server configuration file.
See the Virtual Servers chapter and/or the Servlet Alias section in the ServletExec User
Guide for detailed instructions.
Note
You can use the ServletExec/AS installer to automatically update a web server
configuration file to cause requests that specify a web application URL context path to
be forwarded to a particular ServletExec/AS instance.
To have requests that specify a web application URL context path forwarded to a
particular instance
1. Run the ServletExec/AS installer and select Install or Update a web server
adapter.
2. Enter the name of a previously installed ServletExec/AS instance when prompted.
3. Specify the web application URL context path when prompted.
See Chapter 3 in the ServletExec User Guide for additional information on configuring
web applications.