Oracle Technologies Blog

By ASKM

R12 – socket to servlet mode conversion

Posted by Srikrishna Murthy Annam on September 20, 2009

R12 – socket to servlet 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=servlet] \
-runautoconfig=<No or Yes> \
-appspass=<APPS password>

 Ex :
 $FND_TOP/bin/txkrun.pl -script=ChangeFormsMode \
 -contextfile=$INST_TOP/appl/admin/mycontext.xml \
 -mode=servlet \
 -runautoconfig=No

4) Run autoconfig in check mode and resolve the differences

5) Run autoconfig in actual mode

4) Start all the application services

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

1) Access the URL

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

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

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

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

Following values are modified in context file ….

Updated context Variable s_forms_servlet_serverurl to /forms/lservlet
Updated context Variable s_frmConnectMode to servlet
Updated context Variable s_formsstatus to enabled
Updated context Variable s_formsserver_status to disabled
Updated context Variable s_formslauncher_path to forms/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 :

socket_servlet_R12

Java Console Output :

Java_console_output_servlet_r12


Advertisements

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

  1. […] Socket to Servlet 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: