Monday, June 13, 2011

Enabling Forms Servlet Mode

  1. Source the environment on the application tier.
  2. Stop all the application tier services:On UNIX:
    $INST_TOP/admin/scripts/adstpall.sh
  3. Run the following command to enable Forms Socket Mode:
    $FND_TOP/bin/txkrun.pl -script=ChangeFormsMode \
    [-contextfile=] \
    -mode=socket \
    [-port=] \
    -runautoconfig= \
    -appspass=
    Parameter Description
    -contextfile Full path to application tier context file, using the syntax:On UNIX:$INST_TOP/appl/admin/.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:
  1. On UNIX:
    $INST_TOP/admin/scripts/adautocfg.sh
  2. Start all the application tier services:On UNIX:
    $INST_TOP/admin/scripts/adstrtal.sh
  3. Check whether Forms Server is running:On UNIX:
    $INST_TOP/admin/scripts/adformsrvctl.sh status
  4. Log in to Oracle Applications and launch a Forms-based application.
  5. Open the Sun Java Console (from Tools Menu in Internet Explorer).
  6. Check whether the "mode" directive displayed in Sun Java Console when launching forms-based applications is set to socket.
  7. The direct launch URL for Forms Socket Mode is:
    http://webhost.domain:webport/OA_HTML/frmservlet
     
     
    Regards,
    Sukhwinder singh

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.