Académique Documents
Professionnel Documents
Culture Documents
In servlet mode a java servlet called the Forms Listener Servlet manages the communication between
the Forms Java Client and the OracleAS Forms Services. The Forms Listener Servlet communicates
through the HTTP server port and does not need extra ports to handle the communication between
the client and the Oracle Applicaiton Server Forms Services.
Although this is the preferred method for accessing the forms, in R12 one can also use socket mode
connectivity for accessing the forms. In case of socket mode a separate port is configured for client to
connect to the server. The connection is not made through Apache port. It means that in case the
Apache services are down the forms services will be still up.
Customers network topology is multinode and the forms Services are configured on a node
different from the node on which Web services(Web Entry Point and Web Applications) are
configured.
Customers constrained by network bandwidth, or machine resources may consider socket mode
as an alternative to improve performance.
To reduce network traffic. The servlet mode uses h p protocol on each transaction between a
client and the Forms Server requiring the exchange of cookies and h p headers which increases
network traffic.
To reduce consumption of resources use by the JVMS needed in servlet mode architecture.
For difference between socket mode of Forms 6i and Forms 10g check metalink node ID 384241.1.
Enabling Forms Socket Mode
Changing forms servlet mode to forms socket mode is very easy. This needs running of just 1 script
and bouncing the services.
Follow the below steps for changing from forms servlet mode to forms socket mode. Also note that
both these modes cannot co-exits.
Note that while stopping this will call adformsctl.sh script for stopping forms services. This is
because the current mode is servlet mode.
$FND_TOP/bin/txkrun.pl -script=ChangeFormsMode \
[-contextfile=<CONTEXT_FILE>] \
-mode=socket \
[-port=<Forms port number>] \
-runautoconfig=<No or Yes> \
-appspass=<APPS password>
Example :
$FND_TOP/bin/txkrun.pl -script=ChangeFormsMode \
-contextfile=$INST_TOP/appl/admin/mycontext.xml \
-mode=socket \
-port=9095 \
-runautoconfig=Yes
In this case you can get the forms port number from context file.
Make sure that autoconfig has run successfully and that it has updated the forms launcher in
database.
Note that this time it will use adformsrvctl.sh script to start the forms. This is the script for
starting forms in socket mode.
After converting to forms socket mode the ICX_FORMS_LAUNCHER will take below form.
<web_protocol>://<web_host>.<web_domain>:<web_port>/OA_HTML/frmservlet
References:
REPORT THIS AD
REPORT THIS AD
CATEGORIES ORACLE APPLICATION R12
REPLY
Blog at WordPress.com.