Using Apache 2 "mod_proxy_balancer" in Load Balancing Forms
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)
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.
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:
[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
2. Configure Load balancer in "httpd.conf" of Apache 2.2 as follows:
Allow from all
ProxyPass /balancer-manager !
ProxyPass / balancer://mycluster/ stickysession=JSESSIONID|jsessionid nofailover=On
ProxyPassReverse / http://[host1]:7778/
ProxyPassReverse / http://[host2]:7778/
Allow from all
3. Modify "formsweb.cfg" on both servers, modified "codebase" as follows:
When accessing the HTTP Server Welcome page as follows:
The Oracle Applcation Server HTTP Server welcome page opens and load balancing works fine between the two servers configured.
When Running the Form:
The Forms error now occurs:
FRM-92101 There was a failure in the Forms Server during startup.
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