Visit the Below Website to access unlimited exam questions for all IT vendors and Get Oracle Certifications for FREE
http://www.free-online-exams.com
http://www.free-online-exams.com
Problem: Basic
Configuration Files Needed for Deploying Forms Services 10g (9.0.4) / 10g
Release2 (10.1.2)
PURPOSE
-------
This article talks about the various Configuration Files
Needed for Deploying
Oracle Application Server 10g/10g Release 2 Forms
Services
SCOPE & APPLICATION
-------------------
This document describes the basic files you need to
configure Forms Services 10g (9.0.4) / 10g Release 2 (10.1.2),
provides an overview of how Forms Services run in Oracle
Application Server 10g/10gR2,
and describes the steps you need to follow to deploy
OracleAS 10g/10gR2 Forms applications.
After installation is complete, you can use the information
in this chapter
to change your initial configuration or make modifications
as your needs change.
This article will discuss the various configuration files
and the location.
Configuration Files
-------------------
This section introduces the basic files you need to
configure Forms
applications. These configuration files allow you to
specify parameters for your forms.
* formsweb.cfg
* base.htm, basejini.htm, basejpi.htm, and
baseie.htm
* ftrace.cfg
formsweb.cfg
------------
Location(*) :
10g (9.0.4):
<ORACLE_HOME>/forms90/server/formsweb.cfg
10gR2 (10.1.2):
<ORACLE_HOME>/forms/server/formsweb.cfg
This is the Forms Servlet configuration file that contains
the following:
Values for Forms applet and runtime command line
parameters, as well as
the name of the environment file to use (envFile
setting).
Most of the servlet configuration parameter settings that
you set during
installation. You can modify these parameters, if
needed.
Variables (%variableName%) in the baseHTML file are
replaced with the appropriate
parameter values specified in the formsweb.cfg file and
from query parameters in
the URL request (if any).
base.htm, basejini.htm, basejpi.htm, and baseie.htm
:
-----------------------------------------------------
Location(*) :
10g (9.0.4):
<ORACLE_HOME>/forms90/server/*.htm
10gR2 (10.1.2):
<ORACLE_HOME>/forms/server/*.htm
The baseHTML files (base.htm, basejini.htm, basejpi.htm,
and baseie.htm) are used
as templates by the Forms Servlet when generating the HTML
page used to start up
a Forms application.
Oracle recommends that you make configuration changes in
the formsweb.cfg file and
avoid editing the baseHTML files. If you need to change the
baseHTML files, create
your own versions of Configuration Files and reference them
from the formsweb.cfg file
by changing the appropriate settings.
ftrace.cfg :
-------------
Location(*) :
10g (9.0.4):
<ORACLE_HOME>/forms90/server/ftrace.cfg
10gR2 (10.1.2):
<ORACLE_HOME>/forms/server/ftrace.cfg
This file allows you to configure Forms Trace. Forms Trace
allows you to replace the
functionality that was provided with Forms Runtime
Diagnostics (FRD) and
Performance Event Collection Services (PECS), which were
available in earlier
releases of Forms. Forms Trace allows you to trace the
execution path
through a form (for example, steps the user took while
using the form).
For more information about ftrace.cfg, see Chapter 7,
ftrace.cfg.
Oracle Containers for J2EE (OC4J) Configuration
Files
----------------------------------------------------------
By default OracleAS 10g Forms is configured for OC4J by
deploying it as a J2EE
compliant application packaged in an EAR (Enterprise
Archive) file called
forms90app.ear / formsapp.ear. This EAR file is deployed
during the OracleAS 10g
installation process (if you choose to configure Forms
Services). During deployment,
the EAR file is unpacked into the applications directory of
the OC4J instance.
This section describes:
- web.xml
- Directory structure for OracleAS 10g Forms OC4J
files
WEB.XML:
--------
Location(*) :
10g (9.0.4):
<ORACLE_HOME>/j2ee/OC4J_BI_Forms/applications/forms90app/forms90web/WEB-INF/web.xml
10gR2 (10.1.2):
<ORACLE_HOME>/j2ee/OC4J_BI_Forms/applications/formsapp/formsweb/WEB-INF/web.xml
The web.xml file defines the aliases for the Forms Servlet
and the Forms Listener Servlet:
10g: "f90servlet" and "l90servlet"
10gR2: "frmservlet"
and "lservlet"
Directory structure for OracleAs 10g Forms OC4J
files
-----------------------------------------------------
During OracleAS 10g installation and configuration, the
Forms EAR file (forms90app.ear/formsapp.ear)
is deployed to the "OC4J_BI_Forms" OC4J instance. This
results in the following directory structure.
Names with a + sign are directories:
10g:
%ORACLE_HOME%/j2ee/OC4J_BI_Forms/applications/forms90app
+META-INF
-application.xml (defines the structure of the ear file)
+forms90web
+WEB-INF
-web.xml (forms & listener
servlet definitions, including servlet parameters)
-orion-web.xml (virtual directory
mappings and context parameter,only used in iDS)
+lib
-f90srv.jar (contains the Forms
Servlet and Listener Servlet code)
10gR2:
%ORACLE_HOME%/j2ee/OC4J_BI_Forms/applications/formsapp
+META-INF
-application.xml (defines the structure of the ear file)
+formsweb
+WEB-INF
-web.xml (forms & listener
servlet definitions, including servlet parameters)
-orion-web.xml (virtual directory
mappings and context parameter,only used in iDS)
+lib
-frmsrv.jar (contains the Forms
Servlet and Listener Servlet code)
Oracle HTTP Listener Configuration File for
forms
-------------------------------------------------
This section describes the file used to configure Oracle
HTTP Listener for OracleAs 10g Forms.
Location(*) :
10g (9.0.4):
<ORACLE_HOME>/forms90/server/forms90.conf
10gR2 (10.1.2):
<ORACLE_HOME>/forms/server/forms.conf
This file is included into oracle_apache.conf, which in
turn is included
into httpd.conf (the master HTTP listener configuration
file).
It defines virtual directories (aliases) and servlet mount
points to map
URL requests to the Forms Servlets running in the OC4J
servlet engine.
Standard Fonts and Icons File Registry.dat
------------------------------------------
This section describes the file used to configure font and
icon settings for OracleAS 10g Forms.
Location(*) :
10g (9.0.4):
<ORACLE_HOME>/forms90/java/oracle/forms/registry/Registry.dat
10gR2 (10.1.2):
<ORACLE_HOME>/forms/java/oracle/forms/registry/Registry.dat
This file allows you to change the default font, font
mappings, and icons that
OracleAS 10g Forms Services uses.
Environment Variables and Registry Settings file
default.env
-----------------------------------------------------------
Location(*) :
10g (9.0.4):
<ORACLE_HOME>/forms90/server/default.env
10gR2 (10.1.2):
<ORACLE_HOME>/forms/server/default.env
This file contains environment settings for Forms runtime
and can be found in the
same directory as the formsweb.cfg file. On UNIX,
default.env should include the
PATH and LD_LIBRARY_PATH.
(*) Note: In 10g Release 2 various names have changed,
see:
Note 332556.1 OracleAS Forms Services Name Changes in
10g Release 2 (10.1.2.0.2)
References:
Basic Configuration Files Needed for Deploying Forms Services 10g (9.0.4) / 10g Release2 (10.1.2) [ID 221521.1]
No comments:
Post a Comment