Convert R12 EBS Forms Services to Socket Mode

Benefits of Running on Socket Mode:

Socket mode delivers 10 to 20% better performance than Servlet mode; reason being the initial connection request and subsequent trips made through forms servlet mode has to pass through the HTTP server. Whereas through socket mode only the initial connection will be routed through HTTP server and subsequent communication happens directly with forms.

Recommendation / Configuration to Consider:

If your R12 application is within the company firewall and not exposed over the internet or DMZ you could make use of the better performance provided by Socket Mode compared to Servlet.


  1. Stop all the services on Application Node:
    • (you can bring down only forms as well “ stop” — no need to stop all the services)
    • $INST_TOP/admin/scripts/
  2. Run the command to update the Context-File and run Autoconfig
    • $FND_TOP/bin/ -script=ChangeFormsMode \
      -contextfile=$CONTEXT_FILE \
      -mode=socket \
      -port=<> \
      -runautoconfig=Yes \
      -appspass=<APPS password>

      —-default port is 9095 + <port-pool> (so 9095 + port pool value)

    • Run the above command on all the forms nodes and verify the log files for any errors.
  3. Reset the Environment and start the services.
    • . $APPL_TOP/APPS$APPLFENV       
    • $INST_TOP/admin/scripts/
  4. Verify the forms connect mode
    • $INST_TOP/admin/scripts/ status

    Convert R12 EBS Forms Services to Socket Mode

  5. Launch a Forms-based application and verify
    • Open the Sun Java Console (from Tools Menu in Internet Explorer).
    • Check whether the “mode” directive displayed in Sun Java Console is set to socket.

Useful Information:

  1. The direct launch URL for Forms Socket Mode is: “http://<hostname:port>/OA_HTML/frmservlet”
  2. Reference: Using Forms Socket Mode with Oracle E-Business Suite Release 12 [ID 384241.1]

P.S: Visit the Known issues section of the Metalink Note.

Share this:

About Lakshman Kamath