C Locations and Samples of Configuration Files

This appendix includes list of configuration files and their default locations. It also includes samples of the default configuration files that are installed on the system. Some default values such as locations and paths may vary.

The following topic is included:

C.1 Forms Configuration Files

The table in this section lists the default locations of Forms configuration files on UNIX. The location of these files in Windows is similar. Samples and usage of specific Forms configuration files is also provided.

Table C-1 List of Files and their Locations in Release

File Name Location in this Release

formsweb.cfg

$DOMAIN_HOME/config/fmwconfig/servers/WLS_FORMS/applications/formsapp_12.2.1/config

default.env

$DOMAIN_HOME/config/fmwconfig/servers/WLS_FORMS/applications/formsapp_12.2.1/config

base.htm

$FORMS_INSTANCE/server

basejpi.htm

$FORMS_INSTANCE/server

webutilbase.htm

$FORMS_INSTANCE/server

webutiljpi.htm

$FORMS_INSTANCE/server

ftrace

$FORMS_INSTANCE/server

web.xml

$DOMAIN_HOME/servers/WLS_FORMS/tmp/_WL_user/formsapp_12.2.1/<random_string>/war/WEB-INF

weblogic.xml

$DOMAIN_HOME/servers/WLS_FORMS/tmp/_WL_user/formsapp_12.2.1/<random_string>/war/WEB-INF

forms.conf

$OHS_INSTANCE/config/OHS/<OHS INSTANCE NAME>/moduleconf

jvmcontroller.cfg

$FORMS_INSTANCE/tools/jvm/

webutil.cfg

$FORMS_INSTANCE/server

Registry.dat

$DOMAIN_HOME/config/fmwconfig/servers/WLS_FORMS/applications/formsapp_12.2.1/config/oracle/forms/registry

base.jnlp

$FORMS_INSTANCE/server

basejpi_jnlp.htm

$FORMS_INSTANCE/server

basessa.txt

$FORMS_INSTANCE/server

webutil.jnlp

$FORMS_INSTANCE/server

webutilsaa.txt

$FORMS_INSTANCE/server

Forms Web Configuration File

formsweb.cfg is used to set applet and servlet parameters used at runtime. Applet parameters in this configuration file are defined in the Forms template files located in $FORMS_INSTANCE/server. To edit the files, see Configuring Forms Services.

Forms Environment Variable Configuration File

default.env is used to set environment variables used at runtime. To edit the files, see Managing Environment Variables.

web.xml

web.xml is the web application deployment descriptor file for forms Java EE application. This file is located at $DOMAIN_HOME/servers/WLS_FORMS/tmp/_WL_user/formsapp_12.2.1/<random_string>/war/WEB-INF/. Advanced users might want to edit the web.xml file to:

  • Enable extra testing options.

    If you are having difficulty running Oracle Forms in your Oracle Fusion Middleware installation, it can be useful to enable certain test options which are not usually enabled for security reasons. To use these options, edit the web.xml file to set the testMode frmservlet parameter to true. Then restart the Web server (or Oracle WebLogic Managed Server). The additional options are then visible on the Forms servlet administration page (which can be accessed at a URL like http://<your_web_server_hostname>:<port>/forms/frmservlet/admin).

  • Run Oracle Forms using static HTML pages (rather than the Forms servlet).

    When Oracle Forms applications are run using a method other than the Forms servlet (for example, static HTML pages or JSPs), parameter settings in the formsweb.cfg file are not used. You may therefore need to define servlet parameters for the Listener Servlet, such as envFile (specifying the current FORMS_PATH for the Forms runtime processes and other application specific environment settings to be used).

    Such changes can be inserted into web.xml or plan.xml. See Modifying of Forms J2EE Application Deployment Descriptors.

    The following table describes two servlet mappings.

    Table C-2 web.xml Servlet Mappings

    URL Path Type Maps to Purpose

    /forms/frmservlet

    Servlet mount point

    Forms servlet

    Generate HTML page to run a form

    /forms/lservlet

    Servlet mount point

    Forms Listener servlet

    Handles message traffic from the Forms applet

weblogic.xml

weblogic.xml is the web application deployment descriptor file. This file is located at $DOMAIN_HOME/servers/WLS_FORMS/tmp/_WL_user/formsapp_12.2.1/<random_string>/war/WEB-INF.

forms.conf

forms.conf in 12c, defines WebLogic handler mappings for the Managed Server where the Forms Services applications are deployed, see Oracle HTTP Listener Configuration File.

Registry.dat

Registry.dat enables you to change the default font, font mappings, and icons that Forms Services uses, see Deploying Fonts, Icons, and Images Used by Forms Services. This file is located at $DOMAIN_HOME/config/fmwconfig/servers/WLS_FORMS/applications/formsapp_12.2.1/config/oracle/forms/registry.

jvmcontroller.cfg

A Forms application can be configured to use a specific JVM controller using the jvmcontroller parameter. This parameter is specified in formsweb.cfg. The parameters that are used by the JVM controller are specified in the JVM controller's configuration file, jvmcontrollers.cfg, see Managing JVM Pooling from Fusion Middleware Control. This file is located at $FORMS_INSTANCE/tools/jvm/.

webutil.cfg

webutil.cfg file is one of the files used to configure WebUtil at run time, see WebUtil Configuration Files and Template HTML Files. This file is located at $FORMS_INSTANCE/server/.

ftrace.cfg

ftrace.cfg file is used to configure the various configure parameters used for diagnostics, see Enable and Configure Forms Trace. It is located at $FORMS_INSTANCE/server/.