1
ORACLE 9iAS FORMS DEPLOYMENT : MULTIPLE OC4J INSTANCES
Inderpal S. Johal
Session id: 36636
2
AGENDA
�� Java 2 Enterprise Edition (J2EE) BasicsJava 2 Enterprise Edition (J2EE) Basics
�� Oracle 9iAS Containers for J2EE (OC4J) Oracle 9iAS Containers for J2EE (OC4J) BasicsBasics
�� Oracle 9iAS ArchitectureOracle 9iAS Architecture
�� Oracle 9iAS Forms Services ComponentsOracle 9iAS Forms Services Components
�� Forms Services Configuration FilesForms Services Configuration Files
�� Forms Services ManagementForms Services Management
�� Demo for Configuration and Load balancingDemo for Configuration and Load balancing
�� Questions & AnswersQuestions & Answers
�� DonDon’’t Forget the Online Surveyt Forget the Online Survey
3
Oracle 9iAS Terms
OHS Instance
Cluster
9iASInstance
Farm
OC4J Instance
0..n for each farm
0..n for each cluster or 1..n for each farm as stand alone
1 per application server instance
1..n per application server instance
Infrastructure
1 for each farm
4
Forms Runtime Engine
� It is a process created on the Application Server
as ifweb90 on Windows, f90webm on UNIX
� Provides communication between the client
and database through Oracle 9i Net services.
� Executes all Application logic and processing
� Load forms executables into memory like .fmx,
.plx that contain the application code
5
Forms Services Configuration Files
�� Oracle HTTP Listener Oracle HTTP Listener ConfigConfig FilesFiles
�Httpd.conf
�Oracle_apache.conf
�Mod_oc4j.conf
�Forms90.conf
�� Forms Services Forms Services ConfigConfig filesfiles
�Formsweb.cfg
�Default.env
�Base*.htm
�Forms90app.ear
�Registry.dat
��OC4J OC4J ConfigConfig FilesFiles
�Web.xml
$OH/Apache/Apache/conf$OH/Apache/Apache/conf
$OH/forms90/server $OH/forms90/server
$OH/forms90/server$OH/forms90/server
$OH/forms90/j2ee $OH/forms90/j2ee
$OH/forms90$OH/forms90\\javajava\\oracleoracle\\formsforms\\registryregistry
6
Distributed Configuration Management (DCM)
� DCM manages configuration by propagating the cluster-wide configuration for the application server instances and its components.
� The files are located under the directory: $ORACLE_HOME/dcm
� Instance configuration is persisted into the Configuration Repository in the database.
� Command line utility dcmctl
7
DCMCTL utility
� Stop and respectively restart all configured OC4J instances from the command line:
� Stop and respectively restart the OHS instance
home from the command line:
$> dcmctl stop –co OC4J_BI_Forms$> dcmctl restart –co OC4J_BI_Forms
$> dcmctl stop –ct ohs$> dcmctl restart –ct ohs
$> dcmctl help$> dcmctl getState -v$> dcmctl getError ADM-906007
� Other useful DCM Help and Error commands:
8
Oracle Process Manager Notification [OPMN]
� OPMN consists of the following two components:
�Oracle Process Manager �Oracle Notification System
� Oracle Process Manager uses the configuration files opmn.xml and ons.conf.
� The files are located under the directory: $ORACLE_HOME/opmn/conf/
9
10
11
12
13
14
15
16
17
18
19
20
Additional StepsAdditional Steps
$ cd $ORACLE_HOME/forms90
$ mkdir TEST
$ cp $OH/forms90/test.fmx $OH/forms90/TEST
$ cd $ORACLE_HOME/forms90/server
$ cp formsweb.cfg formsTest90.cfg
<<<formsTest90.cfg>><<<formsTest90.cfg>>
working directory=/oracle/9iAS/forms90/TEST
form=test.fmx
ServerURL=/TEST/l90servlet
Serverhost=devindy.prnewswire.com
21
WEB.XML$OH/j2ee/OC4J_TEST90/applications/TEST90/forms90web/WEB-INF
<init-param>
<param-name>configFileName</param-name>
<param-value>
/oracle/9iAS/forms90/server/formsTest90.cfg/oracle/9iAS/forms90/server/formsTest90.cfg
</param-value>
</init-param>
<context-param>
<param-name>configFileName</param-name>
<param-value>
/oracle/9iAS/forms90/server/formsTest90.cfg/oracle/9iAS/forms90/server/formsTest90.cfg
</param-value>
</context-param>
22
FORMS90.CONFFORMS90.CONF
Added the Following entries in forms90.conf file located in
$ORACLE_HOME/forms90/server
Oc4jMount /TEST OC4J_TEST90
Oc4jMount /TEST/f90servlet OC4J_TEST90
Oc4jMount /TEST/f90servlet/* OC4J_TEST90
Oc4jMount /TEST/l90servlet OC4J_TEST90
Oc4jMount /TEST/l90servlet/* OC4J_TEST90
Restart the OHS [ Oracle HTTP Server ]
23
Restart OHS and OC4J
This can be done by using the “dcmctl” or OEM
DCMCTL Commands
$ dcmctl stop –co OC4J_TEST90
$ dcmctl stop –ct ohs
$ dcmctl getstate –v
$ dcmctl start –ct ohs
$ dcmctl start –co OC4J_TEST90
$ dcmctl getstate -v
24
25
FORMSFORMS
DEPLOYMENTDEPLOYMENT
OneOne--Machine SolutionMachine Solution
Simplest ConfigurationSimplest Configuration
26
Application Tier Db tierClient Tier
Forms Deployment ���� 1 Machine Configuration
HTTPHTTP
ServerServer
OC4JOC4J
Servlet EngineServlet Engine
FormsForms
ServletServletMM
OO
DD
OO
CC
44
JJ
FormsForms
ListenerListener
ServletServlet
FormsForms
RuntimeRuntime
0..n0..n
27
Application Tier Db tierClient Tier
Forms Deployment ���� 1 Machine Configuration
HTTPHTTP
ServerServerOC4JOC4J
Servlet EngineServlet Engine
FormsForms
ServletServlet
MM
OO
DD
OO
CC
44
JJ
FormsForms
ListenerListener
ServletServlet
FormsForms
RuntimeRuntime
0..n0..n
28
Application Tier Db tierClient Tier
Forms Deployment ���� 1 Machine Configuration
HTTPHTTP
ServerServer
OC4JOC4J
Servlet EngineServlet Engine
FormsForms
ServletServletMM
OO
DD
OO
CC
44
JJ
FormsForms
ListenerListener
ServletServlet
FormsForms
RuntimeRuntime
0..n0..n
29
Application Tier Db tierClient Tier
Forms Deployment ���� 1 Machine Configuration
HTTPHTTP
ServerServer
OC4JOC4J
Servlet EngineServlet Engine
FormsForms
ServletServletMM
OO
DD
OO
CC
44
JJ
FormsForms
ListenerListener
ServletServlet
FormsForms
RuntimeRuntime
0..n0..n
30
Application Tier Db tierClient Tier
Forms Deployment ���� 1 Machine Configuration
HTTPHTTP
ServerServer
OC4JOC4J
Servlet EngineServlet Engine
FormsForms
ServletServletMM
OO
DD
OO
CC
44
JJ
FormsForms
ListenerListener
ServletServlet
FormsForms
RuntimeRuntime
0..n0..n
31
Application Tier Db tierClient Tier
Forms Deployment ���� 1 Machine Configuration
HTTPHTTP
ServerServer
OC4JOC4J
Servlet EngineServlet Engine
FormsForms
ServletServletMM
OO
DD
OO
CC
44
JJ
FormsForms
ListenerListener
ServletServlet
FormsForms
RuntimeRuntime
0..n0..n
32
FORMSFORMS
DEPLOYMENTDEPLOYMENT
TwoTwo--Machine SolutionMachine Solution
33
Application Tier Db tierClient Tier
Forms Deployment ���� 2- Machine configuration
HTTPHTTP
ServerServer
MM
OO
DD
OO
CC
44
JJ
OC4JOC4J
Servlet EngineServlet Engine
FormsForms
ServletServlet
FormsForms
ListenerListener
ServletServlet
FormsForms
RuntimeRuntime
0..n0..n
34
Application Tier Db tierClient Tier
Forms Deployment ���� 2- Machine configuration
HTTPHTTP
ServerServer
MM
OO
DD
OO
CC
44
JJ
OC4JOC4J
Servlet EngineServlet Engine
FormsForms
ServletServlet
FormsForms
ListenerListener
ServletServlet
FormsForms
RuntimeRuntime
0..n0..n
35
Application Tier Db tierClient Tier
Forms Deployment ���� 2- Machine configuration
HTTPHTTP
ServerServer
MM
OO
DD
OO
CC
44
JJ
OC4JOC4J
Servlet EngineServlet Engine
FormsForms
ServletServlet
FormsForms
ListenerListener
ServletServlet
FormsForms
RuntimeRuntime
0..n0..n
36
Application Tier Db tierClient Tier
Forms Deployment ���� 2- Machine configuration
HTTPHTTP
ServerServer
MM
OO
DD
OO
CC
44
JJ
OC4JOC4J
Servlet EngineServlet Engine
FormsForms
ServletServlet
FormsForms
ListenerListener
ServletServlet
FormsForms
RuntimeRuntime
0..n0..n
37
2 Machine Configuration on OHS
Configure MOD_OC4J in OHS server to point to Configure MOD_OC4J in OHS server to point to servletservletengine on other machineengine on other machine
� Put the Following entry in $OH/Apache/Apache/conf/httpd.conf under the mod_alias.c
AliasMatch ^/forms90/java/(..*) "/oracle/oranotinf/forms90/java/$1"
AliasMatch ^/forms90/jinitiator/(..*) "/oracle/oranotinf/jinit/$1"
AliasMatch ^/forms90/html/(..*) "/oracle/oranotinf/tools/web90/html/$1“
� by placing the Following entry in $OH/Apache/Apache/conf/mod_oc4j.conf under the mod_oc4j.cOc4jMount /forms90 instance://my1.com:OC4J_BI_Forms
Oc4jMount /forms90/f90servlet instance://my1.com:OC4J_BI_Forms
Oc4jMount /forms90/f90servlet/* instance://my1.com:OC4J_BI_Forms
Oc4jMount /forms90/l90servlet instance://my1.com:OC4J_BI_Forms
Oc4jMount /forms90/l90servlet/* instance://my1.com:OC4J_BI_Forms
� Restart the OHS
38
2 Machine Configuration changes
� Good alternative in the absence of powerfull single machine
� OHS can be used to support other application without affecting the CPU or memory resources for Forms services
� This is not a High availability or Load balancing solution
39
FORMSFORMS
DEPLOYMENTDEPLOYMENT
Load Balancing SolutionLoad Balancing Solution
#1#1
40
Load Balancing Approach
�� There are two ways to make the Mod_oc4j Load There are two ways to make the Mod_oc4j Load
balancingbalancing
�Increasing OC4J process
�Adding more OC4J instances
In addition,
� You can use External Load balancer [ h/w or s/w based] which can balance the Load among HTTP server
� Use combination of External Load balancer and Mod_OC4J load balancing
41
Multiple OC4J Processes
This can be done by using OEM
� OEM Website [ http://My.com:1810http://My.com:1810 ]
� Select the Mid tier InstanceMid tier Instance
� Select the OC4J instance like OC4J_BI_FormsOC4J_BI_Forms
� Select Server PropertiesServer Properties
� Under Multiple VM Configuration, Increase the number of processes
This will create the following
� Add the Entries for Island in $OH/$OH/opmn/conf/opmn.xmlopmn/conf/opmn.xml
� Create additional folder(s) in$OH/j2ee/OC4J_BI_Forms/application$OH/j2ee/OC4J_BI_Forms/application--deployments/forms90appdeployments/forms90app
42
OC4J Processes Vs Instances
� Good Starting point is to Add 1 OC4J processes for every 2-3 CPUs.
� A single OC4J processes is found to use 70% of the Resources on four processor system
� Adding high number of OC4J processes can degrade the performance and so be added in increment
� Multiple OC4J instances can result in higher throughput and shorter response time , even on single-processor system
� If running multiple Application on a system, then a combination of Multiple OC4J instances with multiple OC4J processes can be used
43
Application Tier Db tierClient Tier
Forms Deployment Forms Deployment �������� Load Balance ConfigurationLoad Balance Configuration
HTTPHTTP
ServerServer
MM
OO
DD
OO
CC
44
JJ
OC4JOC4JFormsFormsServletServlet
Forms ListenerForms Listener
ServletServlet
Forms RuntimeForms Runtime
OC4JOC4JFormsForms
ServletServlet
Forms ListenerForms ListenerServletServlet
Forms RuntimeForms Runtime
44
Application Tier Db tierClient Tier
Forms Deployment Forms Deployment �������� Load Balance ConfigurationLoad Balance Configuration
HTTPHTTP
ServerServer
MM
OO
DD
OO
CC
44
JJ
OC4JOC4JFormsFormsServletServlet
Forms ListenerForms Listener
ServletServlet
Forms RuntimeForms Runtime
OC4JOC4JFormsForms
ServletServlet
Forms ListenerForms ListenerServletServlet
Forms RuntimeForms Runtime
45
Application Tier Db tierClient Tier
Forms Deployment Forms Deployment �������� Load Balance Configuration Load Balance Configuration
HTTPHTTP
ServerServer
MM
OO
DD
OO
CC
44
JJ
OC4JOC4JFormsFormsServletServlet
Forms ListenerForms Listener
ServletServlet
Forms RuntimeForms Runtime
OC4JOC4JFormsForms
ServletServlet
Forms ListenerForms ListenerServletServlet
Forms RuntimeForms Runtime
46
Application Tier Db tierClient Tier
Forms Deployment Forms Deployment �������� Load Balance Configuration Load Balance Configuration
HTTPHTTP
ServerServer
MM
OO
DD
OO
CC
44
JJ
OC4JOC4JFormsFormsServletServlet
Forms ListenerForms Listener
ServletServlet
Forms RuntimeForms Runtime
OC4JOC4JFormsForms
ServletServlet
Forms ListenerForms ListenerServletServlet
Forms RuntimeForms Runtime
47
Application Tier Db tierClient Tier
Forms Deployment Forms Deployment �������� Load Balance Configuration Load Balance Configuration
HTTPHTTP
ServerServer
MM
OO
DD
OO
CC
44
JJ
OC4JOC4JFormsFormsServletServlet
Forms ListenerForms Listener
ServletServlet
Forms RuntimeForms Runtime
OC4JOC4JFormsForms
ServletServlet
Forms ListenerForms ListenerServletServlet
Forms RuntimeForms Runtime
48
Application Tier Db tierClient Tier
Forms Deployment Forms Deployment �������� Load Balance Configuration Load Balance Configuration
HTTPHTTP
ServerServer
MM
OO
DD
OO
CC
44
JJ
OC4JOC4JFormsFormsServletServlet
Forms ListenerForms Listener
ServletServlet
Forms RuntimeForms Runtime
OC4JOC4JFormsForms
ServletServlet
Forms ListenerForms ListenerServletServlet
Forms RuntimeForms Runtime
49
Configure MOD_OC4J in OHS server to point to Configure MOD_OC4J in OHS server to point to servletservletengine on other machineengine on other machine
� Put the Following entry in $OH/Apache/Apache/conf/httpd.conf under the mod_alias.c
AliasMatch ^/forms90/java/(..*) "/oracle/oranotinf/forms90/java/$1"
AliasMatch ^/forms90/jinitiator/(..*) "/oracle/oranotinf/jinit/$1"
AliasMatch ^/forms90/html/(..*) "/oracle/oranotinf/tools/web90/html/$1“
� by placing the Following entry in $OH/Apache/Apache/conf/mod_oc4j.conf under the mod_oc4j.c
Oc4jMount /forms90 instance://my1.com:OC4J_BOc4jMount /forms90 instance://my1.com:OC4J_BI_Forms,my2.com:OC4J_BI_FormsI_Forms,my2.com:OC4J_BI_Forms
Oc4jMount /forms90/f90servlet instance://my1.com:OC4J_BI_FormsOc4jMount /forms90/f90servlet instance://my1.com:OC4J_BI_Forms,my2.com:OC4J_BI_Forms,my2.com:OC4J_BI_Forms
Oc4jMount /forms90/f90servlet/* instance://my1.com:OC4J_BI_FormsOc4jMount /forms90/f90servlet/* instance://my1.com:OC4J_BI_Forms,my2.com:OC4J_BI_Forms,my2.com:OC4J_BI_Forms
Oc4jMount /forms90/l90servlet instance://my1.com:OC4J_BI_FormsOc4jMount /forms90/l90servlet instance://my1.com:OC4J_BI_Forms,my2.com:OC4J_BI_Forms,my2.com:OC4J_BI_Forms
Oc4jMount /forms90/l90servlet/* instance://my1.com:OC4J_BI_FormsOc4jMount /forms90/l90servlet/* instance://my1.com:OC4J_BI_Forms,my2.com:OC4J_BI_Forms,my2.com:OC4J_BI_Forms
� Restart the OHS
Forms Deployment Forms Deployment �������� Load Balance Configuration Load Balance Configuration
50
� Load balancing only occurs for the first request as if the OC4 instance is down, session state is not preserved.
� Forms Services OC4J instance failure can be bypassed but the HTTP server Failure result in loss of production
� May overload remaining machine but can be avoided by adding more forms services
� Note that in 9iAS Release 2 , OPMN restart OC4J servlet engines if stopped due to OS reason
� This is not a High availability or Load balancing solution
Forms Deployment Forms Deployment �������� Load Balance Configuration Load Balance Configuration
51
FORMSFORMS
DEPLOYMENTDEPLOYMENT
Load Balancing SolutionLoad Balancing Solution
#2#2
52
Application Tier Db tierClient Tier
Forms Deployment Forms Deployment �������� Load Balance Configuration Load Balance Configuration
OC4JOC4JFormsFormsServletServlet
Forms ListenerForms Listener
ServletServlet
Forms RuntimeForms Runtime
OC4JOC4JFormsFormsServletServlet
Forms ListenerForms Listener
ServletServlet
Forms RuntimeForms Runtime
HTTP ServerHTTP Server
MOD_OC4JMOD_OC4J
53
Application Tier Db tierClient Tier
Forms Deployment Forms Deployment �������� Load Balance Configuration Load Balance Configuration
OC4JOC4JFormsFormsServletServlet
Forms ListenerForms Listener
ServletServlet
Forms RuntimeForms Runtime
OC4JOC4JFormsFormsServletServlet
Forms ListenerForms Listener
ServletServlet
Forms RuntimeForms Runtime
HTTP ServerHTTP Server
MOD_OC4JMOD_OC4J
54
Application Tier Db tierClient Tier
Forms Deployment Forms Deployment �������� Load Balance Configuration Load Balance Configuration
OC4JOC4JFormsFormsServletServlet
Forms ListenerForms Listener
ServletServlet
Forms RuntimeForms Runtime
OC4JOC4JFormsFormsServletServlet
Forms ListenerForms Listener
ServletServlet
Forms RuntimeForms Runtime
HTTP ServerHTTP Server
MOD_OC4JMOD_OC4J
55
Application Tier Db tierClient Tier
Forms Deployment Forms Deployment �������� Load Balance Configuration Load Balance Configuration
OC4JOC4JFormsFormsServletServlet
Forms ListenerForms Listener
ServletServlet
Forms RuntimeForms Runtime
OC4JOC4JFormsFormsServletServlet
Forms ListenerForms Listener
ServletServlet
Forms RuntimeForms Runtime
HTTP ServerHTTP Server
MOD_OC4JMOD_OC4J
56
Configure MOD_OC4J in OHS server to point to Configure MOD_OC4J in OHS server to point to servletservletengine on other machineengine on other machine
� Put the Following entry in $OH/Apache/Apache/conf/httpd.conf under the mod_alias.c
AliasMatch ^/forms90/java/(..*) "/oracle/oranotinf/forms90/java/$1"
AliasMatch ^/forms90/jinitiator/(..*) "/oracle/oranotinf/jinit/$1"
AliasMatch ^/forms90/html/(..*) "/oracle/oranotinf/tools/web90/html/$1“
� by placing the Following entry in $OH/Apache/Apache/conf/mod_oc4j.conf under the mod_oc4j.c
Oc4jMount /forms90 instance://my1.com:OC4J_BOc4jMount /forms90 instance://my1.com:OC4J_BI_Forms,my2.com:OC4J_BI_FormsI_Forms,my2.com:OC4J_BI_Forms
Oc4jMount /forms90/f90servlet instance://my1.com:OC4J_BI_FormsOc4jMount /forms90/f90servlet instance://my1.com:OC4J_BI_Forms,my2.com:OC4J_BI_Forms,my2.com:OC4J_BI_Forms
Oc4jMount /forms90/f90servlet/* instance://my1.com:OC4J_BI_FormsOc4jMount /forms90/f90servlet/* instance://my1.com:OC4J_BI_Forms,my2.com:OC4J_BI_Forms,my2.com:OC4J_BI_Forms
Oc4jMount /forms90/l90servlet instance://my1.com:OC4J_BI_FormsOc4jMount /forms90/l90servlet instance://my1.com:OC4J_BI_Forms,my2.com:OC4J_BI_Forms,my2.com:OC4J_BI_Forms
Oc4jMount /forms90/l90servlet/* instance://my1.com:OC4J_BI_FormsOc4jMount /forms90/l90servlet/* instance://my1.com:OC4J_BI_Forms,my2.com:OC4J_BI_Forms,my2.com:OC4J_BI_Forms
� Restart the OHS
Forms Deployment Forms Deployment �������� Load Balance Configuration Load Balance Configuration
57
FORMSFORMS
DEPLOYMENTDEPLOYMENT
Load Balancing SolutionLoad Balancing Solution
Using Load BalancerUsing Load Balancer
#1#1
58
Application Tier Db tierClient Tier
Forms Deployment Forms Deployment ��������External Load Balancer External Load Balancer
OC4JOC4JFormsForms
ServletServlet
Forms ListenerForms ListenerServletServlet
Forms RuntimeForms Runtime
HTTP ServerHTTP Server
MOD_OC4JMOD_OC4J
OC4JOC4JFormsFormsServletServlet
Forms ListenerForms Listener
ServletServlet
Forms RuntimeForms Runtime
HTTP ServerHTTP Server
MOD_OC4JMOD_OC4J
L
B
59
Application Tier Db tierClient Tier
OC4JOC4JFormsForms
ServletServlet
Forms ListenerForms ListenerServletServlet
Forms RuntimeForms Runtime
HTTP ServerHTTP Server
MOD_OC4JMOD_OC4J
OC4JOC4JFormsFormsServletServlet
Forms ListenerForms Listener
ServletServlet
Forms RuntimeForms Runtime
HTTP ServerHTTP Server
MOD_OC4JMOD_OC4J
L
B
Forms Deployment Forms Deployment ��������External Load Balancer External Load Balancer
60
Application Tier Db tierClient Tier
OC4JOC4JFormsForms
ServletServlet
Forms ListenerForms ListenerServletServlet
Forms RuntimeForms Runtime
HTTP ServerHTTP Server
MOD_OC4JMOD_OC4J
OC4JOC4JFormsFormsServletServlet
Forms ListenerForms Listener
ServletServlet
Forms RuntimeForms Runtime
HTTP ServerHTTP Server
MOD_OC4JMOD_OC4J
L
B
Forms Deployment Forms Deployment ��������External Load Balancer External Load Balancer
61
Application Tier Db tierClient Tier
OC4JOC4JFormsForms
ServletServlet
Forms ListenerForms ListenerServletServlet
Forms RuntimeForms Runtime
HTTP ServerHTTP Server
MOD_OC4JMOD_OC4J
OC4JOC4JFormsFormsServletServlet
Forms ListenerForms Listener
ServletServlet
Forms RuntimeForms Runtime
HTTP ServerHTTP Server
MOD_OC4JMOD_OC4J
L
B
Forms Deployment Forms Deployment ��������External Load Balancer External Load Balancer
62
Application Tier Db tierClient Tier
OC4JOC4JFormsForms
ServletServlet
Forms ListenerForms ListenerServletServlet
Forms RuntimeForms Runtime
HTTP ServerHTTP Server
MOD_OC4JMOD_OC4J
OC4JOC4JFormsFormsServletServlet
Forms ListenerForms Listener
ServletServlet
Forms RuntimeForms Runtime
HTTP ServerHTTP Server
MOD_OC4JMOD_OC4J
L
B
Forms Deployment Forms Deployment ��������External Load Balancer External Load Balancer
63
Application Tier Db tierClient Tier
OC4JOC4JFormsForms
ServletServlet
Forms ListenerForms ListenerServletServlet
Forms RuntimeForms Runtime
HTTP ServerHTTP Server
MOD_OC4JMOD_OC4J
OC4JOC4JFormsFormsServletServlet
Forms ListenerForms Listener
ServletServlet
Forms RuntimeForms Runtime
HTTP ServerHTTP Server
MOD_OC4JMOD_OC4J
L
B
Forms Deployment Forms Deployment ��������External Load Balancer External Load Balancer
64
FORMSFORMS
DEPLOYMENTDEPLOYMENT
Load Balancing SolutionLoad Balancing Solution
Using Load BalancerUsing Load Balancer
#2#2
65
Application Tier Db tierClient Tier
OC4JOC4JFormsForms
ServletServlet
Forms ListenerForms ListenerServletServlet
Forms RuntimeForms Runtime
HTTP ServerHTTP Server
MOD_OC4JMOD_OC4J
OC4JOC4JFormsFormsServletServlet
Forms ListenerForms Listener
ServletServlet
Forms RuntimeForms Runtime
HTTP ServerHTTP Server
MOD_OC4JMOD_OC4J
L
B
Forms Deployment Forms Deployment ��������External Load Balancer External Load Balancer
66
Application Tier Db tierClient Tier
OC4JOC4JFormsForms
ServletServlet
Forms ListenerForms ListenerServletServlet
Forms RuntimeForms Runtime
HTTP ServerHTTP Server
MOD_OC4JMOD_OC4J
OC4JOC4JFormsFormsServletServlet
Forms ListenerForms Listener
ServletServlet
Forms RuntimeForms Runtime
HTTP ServerHTTP Server
MOD_OC4JMOD_OC4J
L
B
Forms Deployment Forms Deployment ��������External Load Balancer External Load Balancer
67
Application Tier Db tierClient Tier
OC4JOC4JFormsForms
ServletServlet
Forms ListenerForms ListenerServletServlet
Forms RuntimeForms Runtime
HTTP ServerHTTP Server
MOD_OC4JMOD_OC4J
OC4JOC4JFormsFormsServletServlet
Forms ListenerForms Listener
ServletServlet
Forms RuntimeForms Runtime
HTTP ServerHTTP Server
MOD_OC4JMOD_OC4J
L
B
Forms Deployment Forms Deployment ��������External Load Balancer External Load Balancer
68
Application Tier Db tierClient Tier
OC4JOC4JFormsForms
ServletServlet
Forms ListenerForms ListenerServletServlet
Forms RuntimeForms Runtime
HTTP ServerHTTP Server
MOD_OC4JMOD_OC4J
OC4JOC4JFormsFormsServletServlet
Forms ListenerForms Listener
ServletServlet
Forms RuntimeForms Runtime
HTTP ServerHTTP Server
MOD_OC4JMOD_OC4J
L
B
Forms Deployment Forms Deployment ��������External Load Balancer External Load Balancer
69
Application Tier Db tierClient Tier
OC4JOC4JFormsForms
ServletServlet
Forms ListenerForms ListenerServletServlet
Forms RuntimeForms Runtime
HTTP ServerHTTP Server
MOD_OC4JMOD_OC4J
OC4JOC4JFormsFormsServletServlet
Forms ListenerForms Listener
ServletServlet
Forms RuntimeForms Runtime
HTTP ServerHTTP Server
MOD_OC4JMOD_OC4J
L
B
Forms Deployment Forms Deployment ��������External Load Balancer External Load Balancer
70
Application Tier Db tierClient Tier
OC4JOC4JFormsForms
ServletServlet
Forms ListenerForms ListenerServletServlet
Forms RuntimeForms Runtime
HTTP ServerHTTP Server
MOD_OC4JMOD_OC4J
OC4JOC4JFormsFormsServletServlet
Forms ListenerForms Listener
ServletServlet
Forms RuntimeForms Runtime
HTTP ServerHTTP Server
MOD_OC4JMOD_OC4J
L
B
Forms Deployment Forms Deployment ��������External Load Balancer External Load Balancer
71
Q U E S T I O N SQ U E S T I O N S
A N S W E R SA N S W E R S