Oracle Technologies Blog

By ASKM

R12 – servelet to socket mode conversion

Posted by Srikrishna Murthy Annam on September 20, 2009

R12 – servelet to socket mode conversion

Action Steps
============

1) Source the Env file
2) Stop all the application services.
3) Run the following command to enable Forms Socket Mode:

$FND_TOP/bin/txkrun.pl -script=ChangeFormsMode \
[-contextfile=<CONTEXT_FILE>] \
-mode=socket \
[-port=<Forms port number>] \
-runautoconfig=<No or Yes> \
-appspass=<APPS password>

Ex :

 $FND_TOP/bin/txkrun.pl -script=ChangeFormsMode \
 -contextfile=$INST_TOP/appl/admin/mycontext.xml \
 -mode=socket \
 -port=9095 \
 -runautoconfig=No

4) Run autoconfig in check mode and resolve the differences

5) Run autoconfig in actual mode

5) Start all the application services

Confirmation Checks
===================

1) Access the URL

<web_protocol>://<web_host>.<web_domain>:<web_port>/OA_HTML/frmservlet
http://ocvmrh2025.us.oracle.com:8000/OA_HTML/frmservlet

2) $INST_TOP/admin/scripts/adformsrvctl.sh status

3) Open the Java Console and check the “connectMode”

Observations
=============

Following values are modified in context file ….

s_forms_servlet_serverurl to <empty>
s_frmConnectMode to socket
s_formsstatus to disabled
s_formsserver_status to enabled
s_other_service_group_status to enabled
s_formsport to 9095
s_formslauncher_path to OA_HTML/frmservlet

adopmnctl.sh status in servlet mode :

Processes in Instance: VIS_ocvmrh2025.ocvmrh2025.us.oracle.com
——————-+——————–+———+———
ias-component      | process-type       |     pid | status
——————-+——————–+———+———
OC4J               | oafm               |   26006 | Alive
OC4J               | forms              |   25913 | Alive
OC4J               | oacore             |   25778 | Alive
HTTP_Server        | HTTP_Server        |   25727 | Alive

adopmnctl.sh status in socket mode :

Processes in Instance: VIS_ocvmrh2025.ocvmrh2025.us.oracle.com
——————-+——————–+———+———
ias-component      | process-type       |     pid | status
——————-+——————–+———+———
OC4J               | oafm               |   25365 | Alive
OC4J               | oacore             |   25279 | Alive
HTTP_Server        | HTTP_Server        |   25226 | Alive

Configuration files effected by this conversion :

serv_to_socket_r12

Java Console Output :

Java_console_output_socket_r12

Advertisements

One Response to “R12 – servelet to socket mode conversion”

  1. […] Servlet mode to Socket mode conversion […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: