Saturday, June 6, 2009

Enabling Forms Servlet Mode

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

    On UNIX:

  3. Run the following script to disable Forms Socket Mode and re-enable Forms Servlet Mode:
    $FND_TOP/bin/ -script=ChangeFormsMode \
    [-contextfile=] \
    [-mode=servlet] \
    -runautoconfig= \
    Parameter Description
    -contextfile Full path to application tier context file, using the syntax:On UNIX:


    -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/ -script=ChangeFormsMode \
    -contextfile=$INST_TOP/appl/admin/mycontext.xml \
    -mode=servlet \

    The script prompts for the parameters if they are not passed as command line arguments.

  4. If Autoconfig was not automatically executed as part of the preceding step, then run AutoConfig on the application tier:On UNIX:
  5. Start all the application tier services:On UNIX:
  6. Log in to Oracle Applications and launch a Forms-based application.
  7. Open the Sun Java Console (from Tools Menu in Internet Explorer).
  8. Check whether the "mode" directive displayed in Sun Java Console when launching forms-based applications, is set to http,native
  9. Direct Forms Servlet Launch is:

No comments:

Post a Comment