5-16 Forms Services Deployment Guide
application, make sure that KeepAliveTimeout is set to a low number for example, 15 seconds, which is the default. The KeepAlive setting is used to maintain a persistent
connection between the client Browser and the OHS server. It does not have anything to do with the OHS to Oracle WebLogic Server connection.
5.3.2 Set the MaxClients Directive to a High value
You can let the HTTP Listener determine when to create more HTTPD processes. Therefore, set the MaxClients directive to a high value in the configuration file
httpd.conf. However, you need to consider the memory available on the system when setting this parameter.
MaxClients=256 indicates that the listener can create up to 256 HTTPD processes to handle concurrent requests.
If your HTTP requests come in bursts, and you want to reduce the time to start the necessary HTTPD processes, you can set MinSpareServers and MaxSpareServers
in httpd.conf to have an appropriate number of processes ready. However, the default values of 5 and 10 respectively are sufficient for most sites.
5.4 Load Balancing Oracle WebLogic Server
The Forms Listener servlet architecture allows you to load balance the system using any of the standard HTTP load balancing techniques available.
The Oracle HTTP Server Listener provides a load balancing mechanism that allows you to run multiple WebLogic instances on the same host as the HTTP process, on
multiple, different hosts, or on any combination of hosts. The HTTP Listener then routes HTTP requests to Oracle WebLogic Managed Server instances.
The following scenarios are just a few of the possible combinations available and are intended to show you some of the possibilities. The best choice for your site will
depend on many factors.
For a complete description of this feature, refer to the Oracle Fusion Middleware Performance Guide available on OTN at
http:www.oracle.comtechnologydocumentationindex.html .
The following images illustrate four possible deployment scenarios:
■
Figure 5–2 shows the Oracle HTTP Server balancing incoming requests between
multiple Oracle WebLogic Managed Servers on the same host as the Oracle HTTP Listener.
■
Figure 5–3 shows the Oracle HTTP Server balancing incoming requests between
multiple Oracle WebLogic Managed Servers on a different host to the Oracle HTTP Listener.
■
Figure 5–4 : shows the Oracle HTTP Server balancing incoming requests between
multiple Oracle WebLogic Managed Servers on multiple different hosts and multiple different hosts each running an Oracle HTTP Listener.
■
Figure 5–5 : shows the Oracle HTTP Server balancing incoming requests between
multiple Oracle WebLogic Managed Servers on a single host but with multiple different hosts each running an Oracle HTTP Listener.
Using Oracle Forms Services with the HTTP Listener and Oracle WebLogic Server 5-17
Figure 5–2 Multiple Oracle WebLogic Servers on the same host as the Oracle HTTP
Listener
Figure 5–3 Multiple Oracle WebLogic Servers on a different host to the Oracle HTTP
Listener
Host 1
Oracle HTTP Listener
Forms Server Runtime
Forms Server Runtime
Oracle WebLogic Managed Server
Oracle WebLogic Managed Server
Host 2 Host 1
Oracle HTTP Listener
Forms Server Runtime
Forms Server Runtime
Oracle WebLogic Managed Server
Oracle WebLogic Managed Server
5-18 Forms Services Deployment Guide
Figure 5–4 Multiple Oracle WebLogic Servers and multiple Oracle HTTP Listeners on
different hosts
Host 4 Host 3
Oracle HTTP Listener
Forms Server Runtime
Forms Server Runtime
Host 2 Host 1
Oracle HTTP Listener
Forms Server Runtime
Forms Server Runtime
Oracle WebLogic Managed Server
Oracle WebLogic Managed Server
Oracle WebLogic Managed Server
Oracle WebLogic Managed Server
Using Oracle Forms Services with the HTTP Listener and Oracle WebLogic Server 5-19
Figure 5–5 Multiple Oracle HTTP Listeners on different hosts with multiple Oracle
WebLogic Servers on one host
For more information about tuning and optimizing Forms Services with the HTTP Listener and Oracle WebLogic Server, see Oracle Fusion Middleware Performance Guide,
available on Oracle Technology Network OTN at http:www.oracle.comtechnologydocumentationindex.html
.
5.5 Using HTTPS with the Forms Listener Servlet