Installation guide
5. SERVLETEXEC APPLICATION SERVER (WINDOWS)
ServletExec 4.1 Installation Guide 66
5.6.4 Multiple ServletExec/AS Instances (Multiple Java VMs)
It’s possible to install and run multiple ServletExec/AS instances on a single server
machine. Each ServletExec/AS instance will run independently of the others, each within
its own Java Virtual Machine (VM).
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.
It’s possible to configure a web server adapter to forward HTTP requests to more than one
ServletExec/AS instance.
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 either the Virtual Servers chapter or the Servlet Alias section in the ServletExec
User Guide for detailed instructions.
You can use the ServletExec/AS installer to automatically update a web server
configuration file to force 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 the ServletExec User Guide for additional information about configuring web
applications.
5.7 Uninstalling ServletExec/AS
To uninstall ServletExec/AS or a web server adapter
1. Open Control Panel and click Add/Remove Programs.
2. In the list, click ServletExec 4.1 AS, and then click Add/Remove or
Change/Remove, depending on your operating system. This launches the
ServletExec installer/uninstaller.