Using Apache 2 "mod_proxy_balancer" in Load Balancing Forms (Doc ID 563817.1)

Last updated on FEBRUARY 21, 2014

Applies to:

Oracle Forms - Version 10.1.2.0.2 to 10.1.2.3.0 [Release Oracle10g to 10.1.2.3]
Information in this document applies to any platform.
***Checked for relevance on 29-Jul-2013*** (Forms 10g)

Symptoms

 Disclaimer
========

This configuration is NOT a certified nor supported setup. Neither Oracle Support nor Development will support this configuration.  This is done at customers own risk.   Also, the Appplication Server stack this note refers to is no longer in Premier Support.  See Oracle Lifetime Support Policy.

 

 

Apache 2.1 and later introduces the new "mod_proxy_balancer" module which provides load balancing services for "mod_proxy". This module requires the service of "mod_proxy". It provides load balancing support for HTTP, FTP and AJP13 protocols.

http://httpd.apache.org/docs/2.2/mod/mod_proxy_balancer.html

This technique may provide Load Balancing between different Application Servers (e.g. Tomcat, Oracle Application Server, JBOSS, etc.).

 

 

Using "mod_proxy_balancer" of Apache 2.2 as a Software Load Balancer for Forms, the following error occurs:
FRM-92101 Forms session aborted: unable to communicate with runtime process.

Issue occurs when both servers in the cluster are active. When only one server is active there is no issue.
Below is the configuration of the Apache Load Balancer causing the error:

[host]: Server where Apache 2.2 Load Balancer is configured, port 83 is the Listen directive.
[host1] is first IAS with 10.1.2.0.2, and where Apache 2.2.8 is installed , port 7778 is the Listen directive.
[host2] is second iAS with 10.1.2.0.2 , port 7778 is the Listen directive.

1. Enable the "mod_proxy", "mod_proxy_balancer" as per: http://httpd.apache.org/docs/2.2/programs/configure.html

configure --enable-proxy


2. Configure Load balancer in "œhttpd.conf" of Apache 2.2 as follows:

NameVirtualHost *
<VirtualHost *>
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /balancer-manager !
ProxyPass / balancer://mycluster/ stickysession=JSESSIONID|jsessionid nofailover=On
ProxyPassReverse / http://[host1]:7778/
ProxyPassReverse / http://[host2]:7778/
<Proxy balancer://mycluster>
BalancerMember http://[host1]:7778
BalancerMember http://[host2]:7778
ProxySet lbmethod=byrequests
</Proxy>
<Location /balancer-manager>
SetHandler balancer-manager
Order deny,allow
Allow from all
</Location>
</VirtualHost>

3. Modify "œformsweb.cfg" on both servers, modified "codebase" as follows: 
First Server:

codebase=http://[host1]:7778

Second Server:

codebase=http://[host2]:7778


When accessing the HTTP Server Welcome page as follows:
http://[host]:83
The Oracle Applcation Server HTTP Server welcome page opens and load balancing works fine between the two servers configured.

When Running the Form:

http://[host]:83/forms/frmservlet?

The Forms error now occurs:
FRM-92101 There was a failure in the Forms Server during startup.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms