Forgot your password?    
+ Reply to Thread
Results 1 to 1 of 1

Thread: Oracle Applications R12 Changing Forms from Servlet to Socket and vice versa

  1. #1
    Expert Oracle Administrator
    Join Date
    Oct 2011
    Location
    New Delhi, India
    Posts
    427

    Oracle Applications R12 Changing Forms from Servlet to Socket and vice versa

    For 11i Refer to : 11i-Forms-from-Socket-to-Servlet-or-vice-versa


    A Enabling Forms Socket Mode
    ================================================== ==
    Execute the following steps to switch from Forms Servlet mode to Forms Socket mode:

    - Source the environment on the application tier.
    - Stop all the application tier services:

    On UNIX:
    $INST_TOP/admin/scripts/adstpall.sh

    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>

    Parameter Description
    -contextfile Full path to application tier context file, using the syntax:

    On UNIX:

    $INST_TOP/appl/admin/<CONTEXT_NAME>.xml

    -mode

    servlet - to enable Forms Servlet mode. This is the default value.
    socket - to enable Forms Socket mode

    -port

    Port number used to run Forms in socket mode. The default port number is 9095.

    A port number is not needed if servlet mode is used.

    -runautoconfig

    Specify whether AutoConfig should be run after changing the forms mode. Possible values are:

    No - Do not run AutoConfig after enabling Forms servlet/socket mode. This is the recommended value.

    Yes - Run AutoConfig after enabling Forms servlet/socket mode.
    -appspass

    Password for the applications user. Required only if -runautoconfig=Yes.

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

    The script prompts for the parameters if they are not passed as command line arguments.
    If Autoconfig was not automatically executed as part of the preceding step, then run AutoConfig on the application tier:

    On UNIX:
    $INST_TOP/admin/scripts/adautocfg.sh
    Start all the application tier services:

    On UNIX:
    $INST_TOP/admin/scripts/adstrtal.sh
    Check whether Forms Server is running:

    On UNIX:
    $INST_TOP/admin/scripts/adformsrvctl.sh status
    Log in to Oracle Applications and launch a Forms-based application.
    Open the Sun Java Console (from Tools Menu in Internet Explorer).
    Check whether the "mode" directive displayed in Sun Java Console when launching forms-based applications is set to socket.
    The direct launch URL for Forms Socket Mode is:
    <web_protocol>://<web_host>.<web_domain>:<web_port>/OA_HTML/frmservlet

    B Enabling Forms Servlet Mode
    ================================================== =====
    Carry out these steps to reenable Forms Servlet mode if Socket Mode is no longer required:

    Source the environment on the application tier.
    Stop all the application tier services:

    On UNIX:
    $INST_TOP/admin/scripts/adstpall.sh
    Run the following script to disable Forms Socket Mode and re-enable Forms Servlet Mode:
    $FND_TOP/bin/txkrun.pl -script=ChangeFormsMode \
    [-contextfile=<CONTEXT_FILE>] \
    [-mode=servlet] \
    -runautoconfig=<No or Yes> \
    -appspass=<APPS password>
    Parameter Description
    -contextfile Full path to application tier context file, using the syntax:

    On UNIX:

    $INST_TOP/appl/admin/<CONTEXT_NAME>.xml
    -mode

    servlet - to enable Forms Servlet mode. This is the default value.
    socket - to enable Forms Socket mode
    -port

    Port number used to run Forms in socket mode. The default port number is 9095.

    A port number is not needed if servlet mode is used.
    -runautoconfig

    Specify whether AutoConfig should be run after changing the forms mode. Possible values are:

    No - Do not run AutoConfig after enabling Forms servlet/socket mode. This is the recommended value.

    Yes - Run AutoConfig after enabling Forms servlet/socket mode.
    -appspass

    Password for the applications user. Required only if -runautoconfig=Yes.

    For example, on UNIX:
    $FND_TOP/bin/txkrun.pl -script=ChangeFormsMode \
    -contextfile=$INST_TOP/appl/admin/mycontext.xml \
    -mode=servlet \
    -runautoconfig=No

    The script prompts for the parameters if they are not passed as command line arguments.
    If Autoconfig was not automatically executed as part of the preceding step, then run AutoConfig on the application tier:

    On UNIX:
    $INST_TOP/admin/scripts/adautocfg.sh
    Start all the application tier services:

    On UNIX:
    $INST_TOP/admin/scripts/adstrtal.sh
    Log in to Oracle Applications and launch a Forms-based application.
    Open the Sun Java Console (from Tools Menu in Internet Explorer).
    Check whether the "mode" directive displayed in Sun Java Console when launching forms-based applications, is set to http,native
    Direct Forms Servlet Launch is:
    web_protocol>://<web_host>.<web_domain>:<web_port>/forms/frmservlet



    Oracle Applications Release 12 : : Checking Socket or Servlet Mode

    Note Oracle Application Release 12 is, by default, configured to run in servlet mode.

    Use the following command:

    $ grep connectMode FORMS_WEB_CONFIG_FILE
    The current connection mode is reported:

    connectMode=servlet
    Alternatively, use the following command:

    $ grep_frmConnectMode CONTEXT_FILE
    The current connection mode is reported:

    <forms_connect oa_var="s_frmConnectMode">servlet</forms_co....

+ Reply to Thread

Similar Threads

  1. Generate an FRD (Forms Runtime Diagnostics) Trace for any Form in Oracle Applications
    By Amit in forum Concepts,Service Management,Apache,OC4J,OPMN,JServ,Forms, Issues,Troubleshooting,
    Replies: 12
    Last Post: 05-10-2012, 04:00 PM
  2. Forms Servlet or Socket Mode? Which is Better ?
    By pkumar in forum Concepts,Service Management,Apache,OC4J,OPMN,JServ,Forms, Issues,Troubleshooting,
    Replies: 0
    Last Post: 02-21-2012, 07:42 AM
  3. Changing Oracle Database from Noarchivelog to Archivelog mode
    By Pradeep in forum Core Database Administration and Monitoring
    Replies: 0
    Last Post: 12-14-2011, 05:10 AM
  4. Changing Look and feel of Oracle Application
    By harsh in forum Concepts,Service Management,Apache,OC4J,OPMN,JServ,Forms, Issues,Troubleshooting,
    Replies: 0
    Last Post: 12-08-2011, 04:28 PM
  5. Oracle Applications 11i Forms from Socket to Servlet or vice versa without autoconfig
    By Hemant in forum Concepts,Service Management,Apache,OC4J,OPMN,JServ,Forms, Issues,Troubleshooting,
    Replies: 0
    Last Post: 10-30-2011, 01:20 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

DBA Lounge (P) Ltd. deals in Oracle Technologies on Consulting, Resourcing, Corporate Training


Online and corporate training available on Oracle Database 11g, Oracle 11g Real Application Cluster (RAC), Oracle Applications 11i/R12, Oracle Fusion Middleware 11g, Oracle Identity Management-OIM, Oracle Internet Directory 11g-OID, Oracle Business Intelligence Enterprise Edition-OBIEE, Oracle Golden Gate, Oracle Access Management-OAM, Oracle Internet Directory-ODS, Oracle Identity Analytics Architecture-OIA Statistics