Friday, July 5, 2013

Change forms Mode Socket to Servlet in R12

Run the following command to enable Forms Socket Mode on Forms/web nodes (Place correct context file name and Forms port value)
-bash-3.2$ $FND_TOP/bin/txkrun.pl -script=ChangeFormsMode -contextfile=$CONTEXT_FILE -mode=servlet -runautoconfig=yes
*** ALL THE FOLLOWING FILES ARE REQUIRED FOR RESOLVING RUNTIME ERRORS
*** Log File = /u02/oraapps/inst/apps/TEST1_<hostname>/logs/appl/rgf/TXK/txkChangeFormsMode_Wed_May_29_13_38_03_2013.log
Program : /u02/oraapps/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkChangeFormsMode.pl started @ Wed May 29 13:38:03 2013
*** Log File = /u02/oraapps/inst/apps/TEST1_<hostname>/logs/appl/rgf/TXK/txkChangeFormsMode_Wed_May_29_13_38_03_2013.log
Arguments passed: -contextfile=/u02/oraapps/inst/apps/TEST1_<hostname>/appl/admin/TEST1_<hostname>.xml -mode=servlet -runautoconfig=yes -port=NA
Enter the apps schema password:?
-----------
Values used
-----------
Context File : /u02/oraapps/inst/apps/TEST1_<hostname>/appl/admin/TEST1_<hostname>.xml
Mode : servlet
Port : NA
Run AutoConfig : yes
********************************
Backing up context file....
********************************
Context file backed up at: /u02/oraapps/inst/apps/TEST1_<hostname>/logs/appl/rgf/TXK/Wed_May_29_13_38_03_2013/TEST1_<hostname>.xml
********************************
Changing to Servlet Mode.......
********************************
Updating context Variable s_forms_servlet_serverurl....
Updated context Variable s_forms_servlet_serverurl to /forms/lservlet
Updating context Variable s_frmConnectMode....
Updated context Variable s_frmConnectMode to servlet
Updating context Variable s_formsstatus....
Updated context Variable s_formsstatus to enabled
Updating context Variable s_formsserver_status....
Updated context Variable s_formsserver_status to disabled
Updating context Variable s_formslauncher_path....
Updated context Variable s_formslauncher_path to forms/frmservlet
******************************************************
Running AutoConfig to finish the change of Forms Mode.
******************************************************
################# BEGIN AUTOCONFIG RUN #################
Execute SYSTEM command : /u02/oraapps/apps/tech_st/10.1.3/perl/bin/perl /u02/oraapps/apps/apps_st/appl/ad/12.0.0/bin/adconfig.pl -contextfile=/u02/oraapps/inst/apps/TEST1_<hostname>/appl/admin/TEST1_<hostname>.xml ****************** -log=/u02/oraapps/inst/apps/TEST1_<hostname>/logs/appl/rgf/TXK/acfg_log_Wed_May_29_13_38_03_2013.log
The log file for this session is located at: /u02/oraapps/inst/apps/TEST1_<hostname>/logs/appl/rgf/TXK/acfg_log_Wed_May_29_13_38_03_2013.log
AutoConfig is configuring the Applications environment...
AutoConfig will consider the custom templates if present.
Using CONFIG_HOME location : /u02/oraapps/inst/apps/TEST1_<hostname>
Classpath : /u02/oraapps/apps/apps_st/comn/java/lib/appsborg2.zip:/u02/oraapps/apps/apps_st/comn/java/classes
Using Context file : /u02/oraapps/inst/apps/TEST1_<hostname>/appl/admin/TEST1_<hostname>.xml
Context Value Management will now update the Context file
Updating Context file...COMPLETED
Attempting upload of Context file and templates to database...COMPLETED
Configuring templates from the entire product tops...
Configuring AD_TOP........COMPLETED
Configuring FND_TOP.......COMPLETED
Configuring ICX_TOP.......COMPLETED
Configuring MSC_TOP.......COMPLETED
Configuring IEO_TOP.......COMPLETED
Configuring BIS_TOP.......COMPLETED
Configuring AMS_TOP.......COMPLETED
Configuring CCT_TOP.......COMPLETED
Configuring WSH_TOP.......COMPLETED
Configuring CLN_TOP.......COMPLETED
Configuring OKE_TOP.......COMPLETED
Configuring OKL_TOP.......COMPLETED
Configuring OKS_TOP.......COMPLETED
Configuring CSF_TOP.......COMPLETED
Configuring IGS_TOP.......COMPLETED
Configuring IBY_TOP.......COMPLETED
Configuring JTF_TOP.......COMPLETED
Configuring MWA_TOP.......COMPLETED
Configuring CN_TOP........COMPLETED
Configuring CSI_TOP....... COMPLETED
Configuring WIP_TOP.......COMPLETED
Configuring CSE_TOP.......COMPLETED
Configuring EAM_TOP.......COMPLETED
Configuring FTE_TOP....... COMPLETED
Configuring ONT_TOP.......COMPLETED
Configuring AR_TOP........COMPLETED
Configuring AHL_TOP.......COMPLETED
Configuring OZF_TOP.......COMPLETED
Configuring IES_TOP.......COMPLETED
Configuring CSD_TOP.......COMPLETED
Configuring IGC_TOP.......COMPLETED
AutoConfig completed successfully.
################## END AUTOCONFIG RUN ##################
Log file to change the Forms Mode:
/u02/oraapps/inst/apps/TEST1_<hostname>/logs/appl/rgf/TXK/txkChangeFormsMode_Wed_May_29_13_38_03_2013.log
Program: /u02/oraapps/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkChangeFormsMode.pl completed @ Wed May 29 13:42:52 2013
End of /u02/oraapps/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkChangeFormsMode.pl : No Errors encountered
After Change socket to servlet mode we can see the status like below
-bash-3.2$ sh adformsrvctl.sh status
couldn't set locale correctly
You are running adformsrvctl.sh version 120.15.12010000.2
Forms Connect Mode is set to Servlet. Please Change Forms Mode to socket and then run this script.
adformsrvctl.sh: exiting with status 1
-bash-3.2$ sh adformsctl.sh status
couldn't set locale correctly
You are running adformsctl.sh version 120.16
Checking status of OPMN managed FORMS OC4J instance...
Processes in Instance: TEST1_<hostname>.<hostname>.<domain>
---------------------------------+--------------------+---------+-----------------------------
ias-component | process-type | pid | status
---------------------------------+--------------------+---------+-------------------------------
OC4JGroup:default_group | OC4J:oafm | 2713 | Alive
OC4JGroup:default_group | OC4J:forms | 2682 | Alive
OC4JGroup:default_group | OC4J:oacore | 2650 | Alive
HTTP_Server | HTTP_Server | 2597 | Alive


No comments:

Post a Comment