Professional Documents
Culture Documents
Deployment Guide
10g (9.0.4) for Windows and UNIX
Part No. B10470-02
March 2004
Oracle Application Server Forms Services Deployment Guide 10g (9.0.4) for Windows and UNIX
Contributor: Emerson deLaubenfels, Art Housinger, Srini Indla, David Klein, Phil Kuhn, Chris Lewis,
Chris Lowes, Duncan Mills, Frank Nimphius, Stephen Noton, Hiromichi Nozaki, Robin Zimmermann.
The Programs (which include both the software and documentation) contain proprietary information; they
are provided under a license agreement containing restrictions on use and disclosure and are also protected
by copyright, patent, and other intellectual and industrial property laws. Reverse engineering, disassembly,
or decompilation of the Programs, except to the extent required to obtain interoperability with other
independently created software or as specified by law, is prohibited.
The information contained in this document is subject to change without notice. If you find any problems in
the documentation, please report them to us in writing. This document is not warranted to be error-free.
Except as may be expressly permitted in your license agreement for these Programs, no part of these
Programs may be reproduced or transmitted in any form or by any means, electronic or mechanical, for any
purpose.
If the Programs are delivered to the United States Government or anyone licensing or using the Programs on
behalf of the United States Government, the following notice is applicable:
U.S. GOVERNMENT RIGHTS Programs, software, databases, and related documentation and technical data
delivered to U.S. Government customers are "commercial computer software" or "commercial technical data"
pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As
such, use, duplication, disclosure, modification, and adaptation of the Programs, including documentation
and technical data, shall be subject to the licensing restrictions set forth in the applicable Oracle license
agreement, and, to the extent applicable, the additional rights set forth in FAR 52.227-19, Commercial
Computer Software--Restricted Rights (June 1987). Oracle Corporation, 500 Oracle Parkway, Redwood City,
CA 94065
The Programs are not intended for use in any nuclear, aviation, mass transit, medical, or other inherently
dangerous applications. It shall be the licensee's responsibility to take all appropriate fail-safe, backup,
redundancy and other measures to ensure the safe use of such applications if the Programs are used for such
purposes, and we disclaim liability for any damages caused by such use of the Programs.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks
of their respective owners.
The Programs may provide links to Web sites and access to content, products, and services from third
parties. Oracle is not responsible for the availability of, or any content provided on, third-party Web sites.
You bear all risks associated with the use of such content. If you choose to purchase any products or services
from a third party, the relationship is directly between you and the third party. Oracle is not responsible for:
(a) the quality of third-party products or services; or (b) fulfilling any of the terms of the agreement with the
third party, including delivery of products or services and warranty obligations related to purchased
products or services. Oracle is not responsible for any loss or damage of any sort that you may incur from
dealing with any third party.
Contents
Preface ................................................................................................................................................................. xi
Intended Audience...................................................................................................................................... xi
Documentation Accessibility ..................................................................................................................... xi
Structure ....................................................................................................................................................... xi
Related Documents .................................................................................................................................... xii
Conventions ............................................................................................................................................... xiii
1 Introduction
1.1 The Oracle Internet Platform..................................................................................................... 1-1
1.1.1 Oracle Application Server (OracleAS).............................................................................. 1-1
1.1.2 Oracle Developer Suite (OracleDS) ................................................................................... 1-2
1.1.3 Oracle9i Database ................................................................................................................ 1-2
1.2 Oracle Application Server Forms Services .............................................................................. 1-2
1.2.1 What's New in Forms Services?......................................................................................... 1-2
1.3 OracleAS Forms Services Architecture.................................................................................... 1-3
1.4 OracleAS Forms Services Components ................................................................................... 1-4
1.4.1 Forms Listener Servlet ........................................................................................................ 1-5
1.4.2 Forms Runtime Process ...................................................................................................... 1-5
1.5 Forms Listener Servlet................................................................................................................ 1-6
iii
3 Basics of Deploying Oracle Forms Applications
3.1 Configuration Files ..................................................................................................................... 3-1
3.1.1 Oracle Forms Configuration Files ..................................................................................... 3-1
3.1.1.1 default.env ..................................................................................................................... 3-2
3.1.1.2 formsweb.cfg ................................................................................................................. 3-2
3.1.1.3 base.htm, basejini.htm, basejpi.htm, and baseie.htm .............................................. 3-2
3.1.1.4 ftrace.cfg......................................................................................................................... 3-3
3.1.2 Oracle Application Server Containers for J2EE (OC4J) Configuration Files............... 3-3
3.1.2.1 web.xml.......................................................................................................................... 3-3
3.1.2.2 Directory structure for Oracle Forms OC4J files...................................................... 3-3
3.1.3 Oracle HTTP Listener Configuration Files ...................................................................... 3-4
3.1.3.1 forms90.conf .................................................................................................................. 3-4
3.1.4 Standard Fonts and Icons File............................................................................................ 3-4
3.1.4.1 Registry.dat.................................................................................................................... 3-4
3.2 Application Deployment ........................................................................................................... 3-4
3.2.1 Deploying Your Application.............................................................................................. 3-4
3.2.2 Specifying Parameters......................................................................................................... 3-5
3.2.3 Creating configuration sections in Enterprise Manager ................................................ 3-6
3.2.3.1 Editing the URL to access Oracle Application Server Forms Services
applications ................................................................................................................... 3-7
3.2.4 Specifying Special Characters in Values of Runform Parameters ................................ 3-7
3.2.4.1 Default behavior in the current release ..................................................................... 3-7
3.2.4.2 Behavior in previous releases ..................................................................................... 3-9
3.2.4.3 Obtaining the behavior of prior releases in the current release............................. 3-9
3.2.4.4 Considerations for template HTML files .................................................................. 3-9
3.2.4.5 Considerations for static HTML pages...................................................................... 3-9
3.3 OracleAS Forms Services in Action....................................................................................... 3-10
3.4 Client Browser Support........................................................................................................... 3-12
3.4.1 Oracle JInitiator ................................................................................................................. 3-12
3.4.2 How Configuration Parameters and BaseHTML Files are Tied to Client
Browsers ............................................................................................................................. 3-13
iv
4.3.4.2 Runform parameters (serverArgs parameters) ........................................................ 4-9
4.3.4.3 HTML page title, attributes for the BODY tag and HTML to add before and
after the form ................................................................................................... 4-11
4.3.4.4 Applet or Object Parameters.................................................................................... 4-11
4.3.4.5 Parameters for JInitiator ........................................................................................... 4-13
4.3.4.6 Parameters for Sun’s Java Plug-in........................................................................... 4-14
4.3.4.7 Enterprise Manager Configuration Parameters .................................................... 4-14
4.3.4.8 OID (Oracle Internet Directory) Configuration Parameters ............................... 4-14
4.4 Configuring Environment Variables with Enterprise Manager ....................................... 4-14
4.5 Managing User Sessions ......................................................................................................... 4-16
4.5.1 Allowing New Users Sessions ........................................................................................ 4-16
4.5.2 Disabling New User Sessions.......................................................................................... 4-16
4.5.3 Terminating a User Session on a Forms Services Instance ......................................... 4-17
4.6 Managing URL Security for Applications ............................................................................ 4-17
4.7 Creating Your Own Template HTML Files.......................................................................... 4-18
4.8 Including Graphics in Your Oracle Forms Application ..................................................... 4-19
4.9 Deploying Icons and Images Used by Forms Services....................................................... 4-19
4.9.1 Icons .................................................................................................................................... 4-19
4.9.1.1 Storing Icons in a Java Archive................................................................................ 4-19
4.9.1.2 Adding Icon Changes to Registry.dat .................................................................... 4-20
4.9.2 SplashScreen and Background Images ......................................................................... 4-21
4.9.3 Custom Jar Files Containing Icons and Images............................................................ 4-21
4.9.3.1 Creating a Jar File ...................................................................................................... 4-21
4.9.3.2 Using Files Within the Jar File ................................................................................. 4-22
4.9.4 Search Path for Icons and Images................................................................................... 4-22
4.9.4.1 DocumentBase ........................................................................................................... 4-22
4.9.4.2 CodeBase..................................................................................................................... 4-23
4.10 Enabling Language Detection ................................................................................................ 4-24
4.10.1 Specifying Language Detection ...................................................................................... 4-24
4.10.2 How Language Detection Works ................................................................................... 4-24
4.10.2.1 Multi-Level Inheritance ............................................................................................ 4-25
5 Using OracleAS Forms Services with the HTTP Listener and OC4J
5.1 OC4J Server Process.................................................................................................................... 5-1
5.2 Performance/Scalability Tuning .............................................................................................. 5-2
5.3 Limit the number of HTTPD processes ................................................................................... 5-2
5.4 Set the MaxClients directive to a High value.......................................................................... 5-2
5.5 Load Balancing OC4J.................................................................................................................. 5-3
5.6 Using HTTPS with the Forms Listener Servlet....................................................................... 5-5
5.7 Server Requirements .................................................................................................................. 5-5
5.8 Client Requirements: Using HTTPS with Oracle JInitiator .................................................. 5-5
5.9 Using the Hide User ID/Password Feature............................................................................ 5-6
5.10 Using an Authenticating Proxy to Run Oracle Forms Applications ................................... 5-6
v
6 Using Forms Services with Oracle Application Server Single Sign-On and
OID
6.1 What’s New with SSO and OID and Forms............................................................................ 6-2
6.1.1 Dynamic Resource Creation When A Resource Is Not Found In OID ........................ 6-2
6.1.2 Support for Default Preferences in OID to Define Forms Resources........................... 6-2
6.1.3 Support for Dynamic Directives With Forms SSO ......................................................... 6-2
6.1.4 Support for Database Password Expiration for Forms Running with Single
Sign-On .................................................................................................................................. 6-3
6.2 Single Sign-on Components Used By Forms .......................................................................... 6-3
6.3 Enabling Single Sign-On for an Application........................................................................... 6-3
6.3.1 ssoMode ................................................................................................................................ 6-4
6.3.2 ssoDynamicResourceCreate............................................................................................... 6-5
6.3.3 ssoErrorURL ......................................................................................................................... 6-5
6.3.4 ssoCancelUrl......................................................................................................................... 6-6
6.3.5 Accessing Single Sign-on Information From Forms ....................................................... 6-6
6.4 Availability of Information on Integrating Oracle Forms and Reports ............................. 6-6
6.5 Authentication Flow ................................................................................................................... 6-6
vi
8 Performance Tuning Considerations
8.1 Built-in Optimization Features of Forms Services ................................................................. 8-1
8.1.1 Monitoring Forms Services ................................................................................................ 8-1
8.1.1.1 Monitoring Forms Services Instances........................................................................ 8-1
8.1.1.2 Monitoring Forms Events............................................................................................ 8-2
8.1.1.3 Monitoring Metrics for User Sessions ....................................................................... 8-2
8.1.1.4 Sorting Metric Information ......................................................................................... 8-3
8.1.1.5 Searching ....................................................................................................................... 8-3
8.1.2 Forms Services Web Runtime Pooling.............................................................................. 8-3
8.1.2.1 Configuring Prestart Parameters................................................................................ 8-3
8.1.2.2 Starting Runtime Pooling ............................................................................................ 8-4
8.1.3 Forms Services Utilities....................................................................................................... 8-4
8.1.3.1 To use the Forms Services Utility:.............................................................................. 8-4
8.1.4 Minimizing Client Resource Requirements..................................................................... 8-4
8.1.5 Minimizing Forms Services Resource Requirements ..................................................... 8-5
8.1.6 Minimizing Network Usage............................................................................................... 8-5
8.1.7 Maximizing the Efficiency of Packets Sent Over the Network ..................................... 8-5
8.1.8 Rendering Application Displays Efficiently on the Client ............................................ 8-6
8.2 Tuning OracleAS Forms Services Applications ..................................................................... 8-6
8.2.1 Location of the Oracle Application Server Forms Services with Respect to
the Data Server ..................................................................................................................... 8-6
8.2.2 Minimizing the Application Startup Time....................................................................... 8-7
8.2.2.1 Using Java Files............................................................................................................. 8-8
8.2.2.1.1 Oracle JInitiator...................................................................................................... 8-8
8.2.2.1.2 IE Native JVM ........................................................................................................ 8-9
8.2.2.1.3 All other cases (for example, Sun’s Java Plug-in) ............................................. 8-9
8.2.2.2 Using Caching............................................................................................................... 8-9
8.2.3 Reducing the Required Network Bandwidth.................................................................. 8-9
8.2.4 Other Techniques to Improve Performance ................................................................. 8-11
8.3 Web Cache and Forms Integration........................................................................................ 8-12
A JInitiator
A.1 Why Use Oracle JInitiator? ....................................................................................................... A-1
A.2 Benefits of Oracle JInitiator....................................................................................................... A-1
A.3 Using Oracle JInitiator .............................................................................................................. A-2
A.4 Supported Configurations ........................................................................................................ A-2
A.4.1 Windows 98, NT, 2000, XP: ............................................................................................... A-2
A.5 System Requirements ................................................................................................................ A-2
A.6 Using Oracle JInitiator with Netscape Navigator ................................................................ A-2
A.7 Using Oracle JInitiator with Microsoft Internet Explorer ................................................... A-3
A.8 Setting up the Oracle JInitator Plug-in.................................................................................... A-3
A.8.1 Adding Oracle JInitiator Markup to Your Base HTML File ......................................... A-3
A.8.2 Customizing the Oracle JInitiator Download File ......................................................... A-3
A.8.3 Making Oracle JInitiator available for download .......................................................... A-4
A.9 Modifying the Oracle JInitiator plug-in.................................................................................. A-4
A.9.1 Modifying the cache size for Oracle JInitiator ................................................................ A-4
vii
A.9.2 Modifying the heap size for Oracle JInitiator ................................................................. A-4
A.9.3 Check and modify the proxy server setting for Oracle JInitiator ................................ A-4
A.9.4 Viewing Oracle JInitiator output ...................................................................................... A-5
A.10 Modifying the baseHTML file.................................................................................................. A-5
viii
Send Us Your Comments
Oracle Application Server Forms Services Deployment Guide 10g (9.0.4) for Win-
dows and UNIX
Part No. B10470-02
Oracle welcomes your comments and suggestions on the quality and usefulness of this
publication. Your input is an important part of the information used for revision.
■ Did you find any errors?
■ Is the information clearly presented?
■ Do you need more information? If so, where?
■ Are the examples correct? Do you need more examples?
■ What features did you like most about this manual?
If you find any errors or have any other suggestions for improvement, please indicate
the title and part number of the documentation and the chapter, section, and page
number (if available). You can send comments to us in the following ways:
■ Electronic mail: appserverdocs_us@oracle.com: Attention Forms Documentation
■ Postal service:
Oracle Corporation
Oracle Forms
200 Oracle Parkway
Redwood Shores, CA 94065
USA
If you would like a reply, please give your name, address, telephone number, and
electronic mail address (optional).
If you have problems with the software, please contact your local Oracle Support
Services.
ix
x
Preface
Intended Audience
This manual is intended for software developers who are interested in deploying
Oracle Forms applications to the Web with Oracle Application Server.
Documentation Accessibility
Our goal is to make Oracle products, services, and supporting documentation
accessible, with good usability, to the disabled community. To that end, our
documentation includes features that make information available to users of assistive
technology. This documentation is available in HTML format, and contains markup to
facilitate access by the disabled community. Standards will continue to evolve over
time, and Oracle is actively engaged with other market-leading technology vendors to
address technical obstacles so that our documentation can be accessible to all of our
customers. For additional information, visit the Oracle Accessibility Program Web site
at
http://www.oracle.com/accessibility/
Structure
This manual contains the following chapters and appendices:
This sample manual contains one part, two chapters, and one appendixes. (Insert this
chapter, appendix, and parts as cross-references so that the links are apparent in
HTML.)
xi
Chapter 1, "Introduction"
Introduces you to deploying applications on the Oracle Internet Platform and provides
an overview of the Forms Services architecture and components.
Chapter 5, "Using OracleAS Forms Services with the HTTP Listener and OC4J"
Describes how OracleAS Forms Services works using Oracle HTTP Listener and OC4J.
Chapter 6, "Using Forms Services with Oracle Application Server Single Sign-On
and OID"
Describes using OracleAS Forms Services with single sign-on and Oracle Internet
Directory.
Chapter A, "JInitiator"
Describes the benefits of using Oracle JInitiator and how to set up the Oracle JInitiator
plug-in.
Related Documents
For more information, see the following manuals in the Oracle Other Product One
Release 7.0 documentation set or in the Oracle Other Product Two Release 6.1
documentation set:
■ Oracle Application Server Release Notes
■ Oracle Developer Suite Release Notes
■ Oracle Forms Migrating Forms Applications from Forms6i (Part No. B10469-02)
■ Oracle Forms Developer Online Help, available from the Help menu in Forms
Developer.
xii
Conventions
The following conventions are also used in this manual:
Convention Meaning
. Vertical ellipsis points in an example mean that information not directly
. related to the example has been omitted.
.
... Horizontal ellipsis points in statements or commands mean that parts
of the statement or command not directly related to the example have
been omitted
boldface text Boldface type in text indicates a term defined in the text, the glossary,
or in both locations.
<> Angle brackets enclose user-supplied names.
[] Brackets enclose optional clauses from which you can choose one or
none.
xiii
xiv
1
Introduction
Introduction 1-1
Oracle Application Server Forms Services
■ Integration with OC4J (see Chapter 5, "Using OracleAS Forms Services with the
HTTP Listener and OC4J")
■ Integration with OID (see Chapter 6, "Using Forms Services with Oracle
Application Server Single Sign-On and OID")
■ Integration with Enterprise Manager for easier administration and manageability
(see Chapter 7, "Tracing and Diagnostics")
■ Tracing and logging improvements (see Chapter 8, "Performance Tuning
Considerations")
Introduction 1-3
OracleAS Forms Services Components
Introduction 1-5
Forms Listener Servlet
Figure 1–3 illustrates how the client sends HTTP requests and receives HTTP
responses from the Forms Server process. The HTTP Listener acts as the network
endpoint for the client, keeping the other server machines and ports from being
exposed at the firewall.
The ability to control user access to Web content and to protect your site against people
breaking into your system is critical. This chapter describes the architecture and
configuration of security for OracleAS Forms Services:
■ About OracleAS Forms Services Security
■ Configuring OracleAS Forms Services Security
This chapter describes the basic files you need to configure Oracle Forms, provides an
overview of how Forms Services run in Oracle Application Server, and describes the
steps you need to follow to deploy 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 chapter contains the following sections:
■ Configuration Files
■ Application Deployment
■ OracleAS Forms Services in Action
■ Client Browser Support
3.1.1.1 default.env
Location: forms90/server
This file contains environment settings for Forms runtime and can be found in the
<ORACLE_HOME>/forms90/server directory. On UNIX, default.env should include
the PATH and LD_LIBRARY_PATH.
3.1.1.2 formsweb.cfg
Location: forms90/server.
This is the Forms Servlet configuration file that contains the following:
■ Values for Forms 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).
You manage the formsweb.cfg file through Enterprise Manager Application Server
Control.
For more information about formsweb.cfg, see, Chapter 4.3.1, "Configuring Parameters
with Application Server Control".
3.1.1.4 ftrace.cfg
Location: forms90/server.
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 Oracle Forms. Forms Trace allows you to trace the execution path through a form
(for example, steps the user took while using the form).
You manage Forms Trace through Enterprise Manager Application Server Control.
For more information about ftrace.cfg, see Chapter 7, "Tracing and Diagnostics".
3.1.2 Oracle Application Server Containers for J2EE (OC4J) Configuration Files
By default Forms Services is configured for OC4J by deploying it as a J2EE compliant
application packaged in an EAR (Enterprise Archive) file called forms90app.ear. This
EAR file is deployed during the Oracle Application Server installation process (if you
choose to configure Oracle Forms). During deployment, the EAR file is unpacked into
the applications directory of the OC4J instance.
This section describes:
■ web.xml
■ Directory structure for Oracle Forms OC4J files
3.1.2.1 web.xml
Location: j2ee/OC4J_BI_FORMS/applications/forms90app/forms90web/WEB-INF/web.xml.
Once Oracle Application Server Forms Services has been installed and configured, the
web.xml file is located in the directory j2ee/OC4J_BI_
FORMS/applications/forms90app/forms90web/WEB-INF underneath <ORACLE_
HOME>. It defines the aliases f90servlet and l90servlet for the Forms Servlet
and the Forms Listener Servlet.
For more information about web.xml, see Chapter B.4, "web.xml".
3.1.3.1 forms90.conf
Location: forms90/server.
This is the Oracle HTTP listener configuration file for Oracle Application Server Forms
Services. It is included into oracle_apache.conf, which in turn is included into
httpd.conf (the master HTTP listener configuration file). Forms90.conf defines virtual
directors (aliases) and servlet mount points to map URL requests to the Forms Servlets
running in the OC4J servlet engine.
For more information about forms90.conf, see Chapter B.5, "forms90.conf".
3.1.4.1 Registry.dat
Location: forms90/java/oracle/forms/registry
This file allows you to change the default font, font mappings, and icons that Forms
Services uses.
For more information about Registry.dat, see Chapter B.6, "Registry.dat".
When configured, the Oracle Application Server Forms Services module hrapp.fmx
will be accessible on the Web by entering "...?config=my_application" in the Browser
URL (the name of the Forms Web Configuration section in formsweb.cfg).
Note: You can name the configuration section anything you want,
as long as it does not include spaces.
1. Make sure the .fmx file location is specified in the FORMS90_PATH environment
variable. For example, if your .fmx file is located in d:\my_
files\applications, in the FORMS90_PATH you would include d:\my_
files\applications (separated by semi-colons if listing more than one
location). You specify this information in the Forms Edit Environment File page
for that environment file.
To modify an environment file, select it in the Environment page of Enterprise
Manager and add or edit environment variables as needed by your application. For
example, you’d add the following environment variables for the previous example:
If you specified these environment variables in a new environment file, you will need
to specify this environment file in the respective Forms Web configuration section.
1. Enter the name of your application into the following URL:
http://mymachine.com:7777/forms90/f90servlet?
where "mymachine" is the name of your machine and "7777" is the port used by
your HTTP Listener.
Since you create a configuration section, you will need to add "config=" and the
name of the configuration section. So, using the example in step 2, the URL to
access hrapp.fmx would be:
http://mymachine.com:7777/forms90/f90servlet?config=applicati
on
For example, the default value of the system parameter that specifies how to
execute the Forms applet under Microsoft Internet Explorer 5.x or above is defined
as follows:
IE=JInitiator
If you want the Forms applet to run in the browser's native JVM, edit the parameter in
the IE Value column to read:
native
and click Apply.
■ You can manage (add, edit, delete) other system and user parameter values in the
named application configuration section (see "Creating configuration sections in
Enterprise Manager"). For example, in the configuration section you create for my_
application, you can add or change these parameters and their values:
3.2.3.1 Editing the URL to access Oracle Application Server Forms Services
applications
You can directly type parameters into the URL that accesses your Oracle Application
Server Forms Services application. Using the previous example, instead of specifying
the pageTitle parameter in your configuration file, you could also type it into the
URL as follows:
http://mymachine.com:7777/forms90/f90servlet?config=hr&pageTitle="My Company"
You can use the ampersand (&) to call a combination of a form and named
configuration parameters. For example, in the following URL:
http://mymachine.com:7777/forms90/f90servlet?config=ienative&form=hrapp
you are calling the form "hrapp" with the parameter settings you specified in
"ienative".
Also, in the value portion of each name=value pair, in the value of the serverArgs
applet parameter, certain characters must be specified by a URL escape sequence, as
listed in Table 3-4:
It is also permissible to escape other 7-bit ASCII characters in the value portion of a
name=value pair.
Here's an example of what the serverArgs applet parameter might look like in static
HTML. This is for a form named "my form" (quotes not included), which is being
passed the value "foo'bar" (quotes again not included) to the user-defined parameter
named myparam.
<PARAM NAME="serverArgs" VALUE="escapeparams=true module=my%20form
userid=scott/tiger@mydb myparam=foo%27bar">
7. Communication continues between the Forms applet (running in the user's Web
browser) and the Forms runtime process, via the Listener Servlet, until the Forms
session ends.
8. The command line (such as giving the name of the form to run) is passed to the
Forms runtime process. It is given as the applet parameter "serverArgs". Part of
the serverArgs value in the baseHTML file was %form%, which was replaced by
"hrapp". Therefore the runtime process actually runs the form in the file
"hrapp.fmx".
This file must either be present in the workingDirectory (which is specified in the
Forms Web Configuration page of Application Server Control), or in one of the
directories named in the FORMS90_PATH environment setting, which is defined
in the environment file (default.env by default). You can also specify the directory
in the Forms Web Configuration page (for example, form=c:\<path>\myform).
9. The Forms sessions end when one of the following occurs:
■ The top level form is exited (for example, by PL/SQL trigger code which calls
the "exit_form" built-in function). In this case, the user is prompted to save
changes if there are unsaved changes. exit_form(no_validate) exits the
form without prompting.
■ The user quits their Web browser. In this case, any pending updates are lost.
3.4.2 How Configuration Parameters and BaseHTML Files are Tied to Client Browsers
When an user starts a Web-enabled application (by clicking a link to the application’s
URL), the Forms Servlet:
1. Detects which browser is being used;
2. Reads the formsweb.cfg file to determine the Internet Explorer parameter setting if
the user is using Internet Explorer 5.5 or higher;
3. Selects the appropriate baseHTML file using the following table:
Table 3–5 Web Browsers and the appropriate baseHTML file for each
* Internet Explorer 6 that has been upgraded from 5.5 only (IE 6 is not certified in the
base release)
** Internet Explorer running on Windows with the Microsoft Native VM.
1. Replaces variables (%variablename%) in the baseHTML file with the appropriate
parameter values specified in the Forms Servlet.initArgs file, formsweb.cfg file,
and from query parameters in the URL request (if any).
2. Sends the HTML file to the user’s browser.
For Forms Services, use the Web-based Enterprise Manager Application Server Control
to:
■ Monitor metrics for an Forms Services instance. See Chapter 8.1.1.1, "Monitoring
Forms Services Instances" for more information.
■ Monitor metrics for user sessions See Chapter 8.1.1.3, "Monitoring Metrics for User
Sessions" for more information.
■ Allow or deny new user sessions. See Chapter 4.5.1, "Allowing New Users
Sessions" and Chapter 4.5.2, "Disabling New User Sessions" for more information.
■ Terminate user sessions. See Chapter 4.5.3, "Terminating a User Session on a Forms
Services Instance" for more information.
■ Configure parameters for a Forms Services instance. See Chapter 4.3.1,
"Configuring Parameters with Application Server Control" for more information.
■ Configure Forms Trace and monitor trace metrics. See Chapter 7.1.1, "Configuring
Forms Trace" and Chapter 7.1.6, "Monitoring Forms Services Trace Metrics" for
more information.
■ Configure multiple environment files. See Chapter 4.4, "Configuring Environment
Variables with Enterprise Manager" for more information.
■ Use available Forms Services utilities and runtime pooling. See Chapter 8.1.3,
"Forms Services Utilities" and Chapter 8.2, "Tuning OracleAS Forms Services
Applications" for more information
To navigate to the Forms Home page for a Forms Server in the Application Server
Control:
1. Using Application Server Control, navigate to the home page for the application
server that contains Forms server you want to manage.
For introductory information about using the Enterprise Manager Application
Server Control, see "Introduction to Administration Tools" in the Oracle Application
Server 10g Administrator’s Guide.
2. In the System Components section on the application server home page, click the
link for the Forms server that you want to manage. This displays the Forms home
page for the Forms server in the Application Server Control.
All of these parameters specify file names. If no paths are given (as in this example),
the files are assumed to be in the same directory as the Forms Servlet configuration file
(formsweb.cfg), that is <ORACLE_HOME>/forms90/server.
Your users would type the following URL to launch a form that uses the "sepwin" (or
whatever name you applied) configuration:
http://server:port/forms90/f90servlet?config=sepwin
You can also use Application Server Control to create named configuration sections
(see Chapter 7, "Tracing and Diagnostics").
See Appendix B, "Sample Configuration Files" for other examples of special
configurations.
4.3.4.3 HTML page title, attributes for the BODY tag and HTML to add before and
after the form
For security reasons these may not be set using URL query parameters.
■ Environment variables not set in the environment file or Windows registry are
inherited from the environment of the parent process, which is the servlet engine
(OC4J).
■ From the Enterprise Manager Oracle Application Server Forms Services page, click
Disable.
The traffic light changes to yellow.
When you press Disable, a new parameter is added to the default section of the
formsweb.cfg file. The parameter is called allowNewConnections and pressing
Disable sets it to false. When new user sessions are disabled, attempted connections
will be directed to a URL identified by the formsweb.cfg parameter
connectionDisallowedURL (default section) e.g:
connectionDisallowedURL=www.oracle.com
connectionDisallowedURL=http://www.oracle.com
If no connectionDisallowedURL is specified then the following message will be
displayed in the browser:
The Forms Servlet will not allow new connections. Please contact your System
Administrator.
However, when you disable new user sessions, existing forms sessions are unaffected
and the OC4J instance remains up.
A Forms administrator can override this default behavior, and give the Forms
administrator full control over what parameter can be used in the URL.
Here are two scenarios to consider when deciding which parameters to allow or not
allow in a URL. The first scenario is when an administrator just wants to restrict the
usages of the USERID parameter in the URL that forces the end-user to always log in
using the default login window. The second scenario is when an administrator would
like to disable all parameters except a few, such as CONFIG=MyApp in a URL.
The parameter restrictedURLparams allows flexibility for the Forms administrator
to consider any URL-accessible parameter in the formsweb.cfg file as restricted to a
user. An administrator can specify this parameter in a named configuration section to
override the one specified in the default configuration section. The
restrictedURLparams parameter itself cannot be set in the URL.
Figure 4–1 is an example of how the restrictedURLparams parameter is defined in
the [myApp] section to override the one set in the [default] configuration section:
By default, this user, scott, is not allowed to debug this Forms application, use Forms
Trace, or edit records in it. In the myApp section, user scott is only forced to log in
when accessing the application, and not allowed to debug it. He can now, though,
work with Forms Trace and edit records through a URL for this application.
An administrator can use the restrictedURLparams parameter to redirect a user to
an error page that lists the parameters the user is restricted from using (or allowed to
use) for this application.
The path definition of the Forms Servlet environment, is taken from the path definition
of the servlet container. The file or location where the path will be defined is different
for different servlet containers.
For more information about graphics, see Oracle Forms Developer and Oracle Application
Server Forms Services: Migrating Forms Applications from Forms6i and Deploying Graphics
in Oracle9iAS Forms Services, available at Oracle Technology Network (OTN),
http://otn.oracle.com/products/forms/.
4.9.1 Icons
When deploying an Oracle Forms application, the icon files used must be in a
Web-enabled format, such as JPG or GIF (GIF is the default format).
By default, the icons are found relative to the DocumentBase directory. That is,
DocumentBase looks for images in the directory relative to the base directory of the
application start HTML file. As the start HTML file is dynamically rendered by the
Forms Servlet, the forms90 directory becomes the document base.
For example, if an application defines the icon location for a button with
myapp/<iconname>, then the icon is looked up in the directory forms90/myapp.
To change the default location, you can set the imageBase parameter to codebase in the
Forms Web Configuration page of Enterprise Manager Application Server Control.
Alternatively, you can change the default.icons.iconpath value of the Registry.dat file
in the forms90/java/oracle/forms/registry directory.
Setting the imageBase parameter to codebase enables Oracle Forms to search the
forms90/java directory for the icon files. Use this setting if your images are stored
in a Java archive file. Changing the image location in the Registry.dat configuration file
is useful if you want to store images in a central location independent of any
application and independent of the Oracle Forms installation.
Note: You do not need to deploy Oracle Forms default icons (for
example, icons present in the default smart icon bar), as they are
part of the f90all.jar file,
or
default.icons.iconpath=mydir
or
default.icons.iconextension=jpg
The default location for the splash screen and background image files is in the
DocumentBase directory containing the baseHTML file.
This command stores three files (Splash.gif, Back.gif, icon1.gif) in a single Jar file called
myjar.jar.
4.9.4.1 DocumentBase
The default search paths for icons and images are relative to the DocumentBase. In this
case, you do not need to specify the imageBase parameter:
4.9.4.2 CodeBase
Use the imageBase=CodeBase parameter to enable the search of the icons and images
in a JAR file:
envFile=french.env
workingDirectory=/private/apps/hr/french
[hr.zh]
envFile=chinese.env
workingDirectory=/private/apps/hr/chinese
Oracle Application Server Containers for J2EE (OC4J) is a complete J2EE (Java 2
Platform Enterprise Edition) server written entirely in Java that executes in a standard
Java Runtime Environment (JRE). It provides a complete J2EE environment that
contains, among other things, an OC4J Web container.
This chapter contains the following sections:
■ OC4J Server Process
■ Performance/Scalability Tuning
■ Load Balancing OC4J
■ Using HTTPS with the Forms Listener Servlet
Using OracleAS Forms Services with the HTTP Listener and OC4J 5-1
Performance/Scalability Tuning
Figure 5–2 Case 1: Multiple OC4J engines on the same host as the Oracle HTTP Listener
Using OracleAS Forms Services with the HTTP Listener and OC4J 5-3
Load Balancing OC4J
Figure 5–3 Case 2: Multiple OC4J engines on a different host to the Oracle HTTP
Listener
Figure 5–4 Case 3: Multiple OC4J engines and multiple Oracle HTTP Listeners on
different hosts
Figure 5–5 Case 4: Multiple Oracle HTTP Listeners on different hosts with multiple OC4J
engines on one host
For more information about tuning and optimizing Forms Services with the HTTP
Listener and OC4J, see Oracle Application Server Performance Guide (available on
OracleAS Disk 1 CD or OTN at
http://otn.oracle.com/docs/products/ias/content.html).
Using OracleAS Forms Services with the HTTP Listener and OC4J 5-5
Using the Hide User ID/Password Feature
Using Forms Services with Oracle Application Server Single Sign-On and OID 6-1
What’s New with SSO and OID and Forms
6.1.4 Support for Database Password Expiration for Forms Running with Single
Sign-On
In previous releases of Oracle Forms, password changes between Oracle Forms and an
Oracle database would be successful, but these changes (including expirations) would
not propagate to Oracle Internet Directory (OID).
Now in Oracle Application Server Forms Services, if the database password has
expired and the Oracle9iAS Forms Services application, running in single sign-on
mode, is used to renew it, then the new password entered by the user is used to
update the Resource Access Descriptor (RAD) in OID for this application. This feature
ensures that single sign-on with Forms continues working even when a database
password was changed. However, if password changes are made in SQL*PLUS, and
not in Forms, then the database connect string is not updated in OID.
Using Forms Services with Oracle Application Server Single Sign-On and OID 6-3
Enabling Single Sign-On for an Application
Oracle Application Server Single Sign-On and error handling are defined by the
following parameters in the formsweb.cfg file:
■ ssoMode [true|false]
■ ssoDynamicResourceCreate [true|false]
■ ssoErrorUrl [String URL]
■ ssoCancelUrl [String URL]
These Oracle Forms parameters in the formsweb.cfg file can be set in the "User
Parameter" section, to make them the default behavior for all Forms applications run
by the server, and in a "Named Configuration", making the settings valid for a
particular application only. A single sign-on definition overrides the same definition
set in the User Parameter section.
6.3.1 ssoMode
The ssoMode parameter enables an Oracle Application Server Forms Services
application for single sign-on. By default, Oracle Forms applications are not
configured to run in single sign-on mode. The ssoMode parameter can be set in two
places in the formsweb.cfg file. Setting ssoMode as a system parameter with a value of
true allows all applications to run in single sign-on mode by this Forms Services
instance. Setting the ssoMode parameter in a named configuration of an Oracle Forms
application enables or disables single sign-on only for this particular application:
[myApp]
form=myFmx
ssoMode=true
6.3.2 ssoDynamicResourceCreate
The ssoDynamicResourceCreate parameter is set to true by default which
allows the user to create a Resource Access Descriptor (RAD) entry in Oracle Internet
Directory (OID) to run the application if this resource entry does not exist. The Web
page that displays is a standard form provided by the Oracle Delegated
Administration Services (DAS). This Web page is not customizable as it is not owned
by Oracle Forms.
Allowing dynamic resource creation simplifies OID administration because there is no
longer the need for an administrator to create user RAD information in advance. The
ssoDynamicResourceCreate parameter can be set as a system parameter in the
formsweb.cfg file or as a parameter of a named configuration. Because the default is
set to true, this parameter may be used in a named configuration for a specific
application to handle a missing RAD entry differently from the default.
Note that configuring an application as single sign-on enabled with the value of the
ssoDynamicResourceCreate parameter set to false, while not specifying a value
for the ssoErrorURL, will cause Oracle Forms to show an error message if no RAD
resource exists for the authenticated user and this application.
Since not all administrators want their users to create resources for themselves (and
potentially raising issues with OID), these parameters allow administrators to control
OID resource creation. Although the default behavior is to direct users to an HTML
form that allows them to create the resource, the administrator can change the setting
and redirect the user to a custom URL.
For the configuration section for the Forms application, you’ll need to set these
parameters:
[myApp]
form=myFmx
ssoMode=true
ssoDynamicResourceCreate=false
For information about setting these parameters through Enterprise Manager
Application Server Control, see Chapter 4.3.3, "Managing Parameters".
6.3.3 ssoErrorURL
The ssoErrorURL parameter allows an administrator to specify a redirection URL
that handles the case where a user RAD entry is missing for a particular application.
This parameter only has effect if the ssoDynamicResourceCreate parameter is set
to false, which disables the dynamic resource creation behavior. The ssoErrorURL
parameter can be defined as a system parameter and as a parameter in a named
configuration section. The URL can be of any kind of application, a static HTML file,
or a custom Servlet (JSP) application handling the RAD creation, as in the example
below.
[myApp]
form=myFmx
ssoMode=true
ssoDynamicResourceCreate=false
ssoErrorURL=http://myServ.com:7779/servlet/handleCustomRADcreation.jsp
…
Using Forms Services with Oracle Application Server Single Sign-On and OID 6-5
Availability of Information on Integrating Oracle Forms and Reports
6.3.4 ssoCancelUrl
The ssoCancelURL parameter is used in combination with the dynamic RAD
creation feature (ssoDynamicResourceCreate= true) and defines the URL that a
user is redirected to if he presses the cancel button in the HTML form that is used to
dynamically create the RAD entry for the requested application.
Using Forms Services with Oracle Application Server Single Sign-On and OID 6-7
Authentication Flow
When you develop and deploy Oracle Forms applications, it is helpful to have
information that allows you to optimize your applications. Tracing and diagnostic
tools that are available with Oracle Forms allow you to analyze the performance and
resource consumption of your Oracle Forms applications at runtime. Through
Enterprise Manager Application Server Control, you can use trace output to diagnose
performance and other problems with Oracle Forms applications.
The following tools are available to collect trace information for Oracle Forms:
■ Forms Trace: Replaces the functionality that was provided with Forms Runtime
Diagnostics (FRD) and Performance Event Collection Services (PECS), which were
available in earlier releases of Oracle Forms. Forms Trace allows you to trace the
execution path through a form, for example, the steps the user took while using
the form.
■ Servlet Logging Tools: Enables site administrators to keep a record of all Oracle
Forms sessions, monitor Oracle Forms-related network traffic, and debug site
configuration problems.
Use the Forms Trace Configuration selection in the Configuration tab of Oracle
Enterprise Manager Application Server Control Forms page to define the events that
you want to trace. This page manages all changes in the ftrace.cfg file for you.
See "List of Traceable Events" for a list of events and their corresponding event
numbers.
Note: If you first switch off trace, and then switch it on again with
new settings, then trace is enabled with the new trace group.
Note: You’ll need to provide the credentials in the dialog box that
displays (the user name and password that is required is for the
operating system account that was used when Forms Services was
installed).
http://cx-pc/forms90/f90servlet?form=cxl&record=forms&tracegroup=0-199
http://cx-pc/forms90/f90servlet?form=cxl&record=forms&tracegroup=mysql
http://cx-pc/forms90/f90servlet?form=cxl&record=forms&tracegroup=0-199;log=run1.lo
g
A later release of Oracle Forms will implement a method for starting a trace via a
built-in. The most recent information regarding Oracle Forms, including updated
documentation, whitepapers, and viewlet demonstrations, is available on OTN at
http://otn.oracle.com/.
to create myfile.xml.
* These event numbers do not have a TYPE because they are not really events, but
rather details for events. For example, the State Delta is something you can choose to
see - it is triggered by a real action or event.
7.1.5.5 Miscellaneous
7.2.1.3 Specifying Full Diagnostics in the URL that Invokes the Forms Servlet
As an example, to start full diagnostics, you would start the Oracle Forms application
using a URL as follows. Note that if you append /debug to the URL used to invoke
the Forms Servlet that servlet will output debug messages to the log file too.
http://yourserver/forms90/f90servlet/debug?serverURL=/forms90/l90servlet/debug
7.2.3.1 (none)
FormsServlet init():
configFileName: d:\orant9i/forms90/server/formsweb.cfg
testMode:
false
7.2.3.2 /session
Session start messages (example):
Forms session <10> started for test-pc.mycompany.com ( 138.56.98.72 )
Forms session <10> runtime process id = 373
7.2.3.3 /sessionperf
Forms session <3> started for test-pc.mycompany.com ( 138.56.98.72 )
Forms session <3> runtime process id = 460
Forms session <3> ended
Total duration of network exchanges: 1.041
Total number of network exchanges: 2 (1 "long" ones over 1.000 sec)
Average time for one network exchange (excluding long ones): 0.030
Total bytes: sent 1,110, received 316
7.2.3.4 /perf
Forms session <3> started for test-pc.mycompany.com ( 138.56.98.72 )
Forms session <3> runtime process id = 460
Forms session <3>: request processed in 1.011 sec. Received 8 bytes,returned 8
bytes.
Forms session <3>: request processed in 0.030 sec. Received 308 bytes, returned
1,102 bytes.
Forms session <3> ended
Total duration of network exchanges: 1.041
Total number of network exchanges: 2 (1 "long" ones over 1.000 sec)
Average time for one network exchange (excluding long ones): 0.030
Total bytes: sent 1,110, received 316
7.2.3.5 /debug
Here is an example run by going to a URL like
http://test-machine:8888/forms90/f90servlet/debug&config=ienative&serverURL=/
forms90/l90servlet/debug):
=============== FormsServlet ===============
GET request received, cmd=debug,
qstring=config=ienative&serverURL=/forms90/l90servlet/debug
No current servlet session
File baseie.htm not found, looking in d:\orant9i/forms90/server
The SSO_USERID is: null
=============== FormsServlet ===============
GET request received, cmd=startsession, qstring=config=ienative&serverURL=
/forms90/l90servlet/debug&ifcmd=startsession
No current servlet session
New servlet session started
SSO_USERID in startSession: null
SSO_AuthType in startSession: null
User DN: null
Subscriber DN: null
EM mode in the config file: 0
File default.env not found, looking in d:\orant9i/forms90/server
envFile = d:\orant9i\forms90\server\default.env
serverURL: /forms90/l90servlet/debug
rewrittenURL: /forms90/l90servlet/debug;jsessionid=27f6412da05c
426ab47db4ae77636113
=============== ListenerServlet ===============
GET request received, cmd=getinfo,
qstring=ifcmd=getinfo&ifhost=test-pc.mycompany.com&ifip=130.35.96.71
Existing servlet session, id = 27f6412da05c426ab47db4ae77636113, not from cookie
Creating new Runtime Process using default executable
Starting Forms Server in EM mode
startProcess: executing ifweb90 server webfile=HTTP-0,0,1
Getting stdin, stdout and stderr of child process
Writing working directory to stdin: d:\orant9i\forms90
New server process created
Forms session <4> started for test-pc.mycompany.com ( 138.56.98.72 )
***********************************************
Got POST request, length = 8
HTTP request headers:
ACCEPT-LANGUAGE: en
PRAGMA: 1
CONTENT-TYPE: application/x-www-form-urlencoded
ACCEPT: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
USER-AGENT: Mozilla/4.0 (compatible; MSIE 5.0; Win32)
HOST:test-machine:8888
CONTENT-LENGTH: 8
CONNECTION: Keep-Alive
Existing servlet session, id = 27f6412da05c426ab47db4ae77636113, not from cookie
Forms session <4> runtime process id = 474
Port number is 2791
RunformProcess.connect(): connected after 1 attempts
Connected to ifweb process at port 2791
Forms session <4>: request processed in 1.032 sec. Received 8 bytes,
returned 8 bytes.
***********************************************
This chapter describes the tuning considerations that arise when you deploy Oracle
Forms applications to Oracle Application Server Forms Services. This chapter looks at
the network and resources on the application server and includes the following
sections:
■ Built-in Optimization Features of Forms Services
■ Tuning OracleAS Forms Services Applications
Tuning the connection between Oracle Application Server Forms Services and the
Oracle9i Database Server is beyond the scope of this chapter.
2. From the Enterprise Manager Application Server Control main page, select the
link to the Forms Services instance that you want to monitor.
The Overview page for the Forms Services instance displays the following:
Current Forms Services instance status (up, down)
■ URL of the Forms Services instance being monitored
■ Oracle Home of the Forms Services instance being monitored
■ Percent CPU usage for all forms runtime processes for this instance of Forms
Services
■ Percent memory usage for all forms runtime processes for this instance of
Forms Services
■ Number of users logged in
■ Response time of the Forms Services instance in milliseconds to connect to the
Forms Listener Servlet.
Additionally, you can jump to the following detail pages:
■ Session Details
■ Forms Services Configuration
■ Environment
■ Forms Trace Configuration
■ Forms Utility
8.1.1.5 Searching
Use Search to locate specific metric information.
Each configuration section can specify values for these parameters. If the
prestartRuntimes = true entry is found, but there is no associating prestart
parameter, then default values are used.
In a load balanced system that has multiple instances of OC4J, the various values
provided for the above parameters are on a per JVM basis, and not the total for the
application.
item B (such as when tabbing from one entry field to another), a range of pre- and
post-triggers may fire, each of which requires processing on the Forms Server.
Event Bundling gathers all of the events triggered while navigating between the two
objects, and delivers them as a single packet to Oracle Application Server Forms
Services for processing. When navigation involves traversing many objects (such as
when a mouse click is on a distant object), Event Bundling gathers all events from all
of the objects that were traversed, and delivers the group to Oracle Application Server
Forms Services as a single network message.
8.2.1 Location of the Oracle Application Server Forms Services with Respect to the
Data Server
The Forms Java client is only responsible to display the GUI objects. All of the Oracle
Forms logic runs in Oracle Application Server Forms Services, on the middle tier. This
includes inserting or updating the data to the database, querying data from the
database, executing stored procedures on the database, and so on. Therefore, it is
important to have a high-speed connection between the application server and the
database server.
All of this interaction takes place without any communication to the Forms Java client.
Only when there is a change on the screen is there any traffic between the client and
Oracle Application Server Forms Services. This allows Oracle Forms applications to
run across slower networks, such as with modems or satellites.
The configuration in Figure 8–1, displays how Oracle Application Server Forms
Services and the database server are co-located in a data center.
Figure 8–1 Co-Locating the OracleAS Forms Services and Database Server
An application developer has little influence on the time it takes to launch the JVM.
However, the Java deployment model and the structure of the Oracle Forms Developer
Java client allow the developer to decide which Java classes to load and how. This, in
turn, minimizes the load time required for Java classes.
The Java client requires a core set of classes for basic functionality (such as opening a
window) and additional classes for specific display objects (such as LOV items). These
classes must initially reside on the server, but the following techniques can be used to
improve the time it takes to load these classes into the client's JVM:
■ Using Java Files
■ Using Caching
■ For the initial display, the display order in the Object Navigator
■ During execution, the order of program changes to item properties
Where the result does not impact usability, you should strive to place similar
objects that are on the same canvas after each other in the Object Navigator. For
example, place buttons with buttons, text items with text items, and so on. (If you
use the item property Next Navigation Item, the same order of navigation will be
used for the items in the Form.) By ordering similar items together on the Object
Navigator, the item properties sent to the client to display the first Form will
include many similar items in consecutive order, which allows the message diff-ing
algorithm to function efficiently.
In addition, when triggers or other logic are used to alter item properties, then you
should group properties of similar items together before altering the item
properties of another display type. For example:
■ Providing a login screen for the application with a restricted set of objects
(such as a title, small logo, username, and password).
■ On the Form's initial display, hiding elements not immediately required. Use
the canvas properties:
RAISE ON ENTRY = YES (Canvas only)
VISIBLE = NO
Pay attention to TAB canvases that consist of several sheets where only one will
ever be displayed. For responsive switching between tabs, all items for all sheets
on the canvas are loaded, including those that are hidden behind the initial tab.
Consequently, the time taken to load and initialize a TAB canvas is related to all
objects on the canvas and not just to those initially visible.
Tip: When using Tab canvases, use stacked canvases and display the right canvas
in the when-tab-page-changed trigger. Remember to set the properties RAISE ON
ENTRY = YES and VISIBLE = NO for all the canvases not displayed in the
first screen.
Menu buffering applies only to the menu properties of LABEL, ICON, VISIBLE,
and CHECKED. An ENABLE/DISABLE event is always sent and does not entail
the retransmission of an entire menu.
■ Reduce the application to many smaller forms, rather than one large form. By
providing a fine-grained application, the user's navigation defines which objects
are loaded and initialized from the Forms Services. With large Forms, the danger is
that the application is delayed while objects are initialized, many of which may
never be referenced. When chaining Forms together, consider using the built-ins
OPEN_FORM and NEW_FORM:
■ With OPEN_FORM, the calling Form is left open on the client and the server,
so that the additional Form on both the client and the server consumes more
memory. However, if the Form is already in use by another user, then the
increase in server memory is limited to just the data segments. When the user
returns to the initial Form, it already resides in local memory and requires no
additional network traffic to redisplay.
■ With NEW_FORM, the calling Form is closed on the client and the server, and
all object properties are destroyed. Consequently, it consumes less memory on
the server and client. Returning to the initial Form requires that it be
downloaded again to the client, which requires network resources and startup
time delays. Use OPEN_FORM to display the next Form in an application
unless it is unlikely that the initial form will be called again (such as a login
form).
■ Avoid unnecessary graphics and images. Wherever possible, reduce the number of
image items and background images displayed in your applications. Each time an
image is displayed to application users, the image must be downloaded from the
application server to the user's Web browser. To display a company logo with your
Web application, include the image in the HTML file that downloads at
application startup. Do this instead of including it as a background image in the
application. As a background image, it must be retrieved from the database or
filesystem and downloaded repeatedly to users' machines.
This section describes the benefits of using Oracle JInitiator as a Web browser plug-in.
Oracle JInitiator enables users to run Oracle Forms applications using Netscape
Navigator or Internet Explorer. It provides the ability to specify the use of a specific
Java Virtual Machine (JVM) on the client, rather than using the browser's default JVM.
Oracle JInitiator runs as a plug-in for Netscape Navigator and as an ActiveX
component for Internet Explorer. Oracle JInitiator does not replace or modify the
default JVM provided by the browser. Rather, it provides an alternative JVM in the
form of a plug-in.
Oracle provides two Jar files (f90all.jar and f90all_jinit.jar). f90all.jar is a standard Jar
file, and f90all_jinit.jar is a Jar file with extra compression that can only be used with
Oracle JInitiator.
JInitiator A-1
Using Oracle JInitiator
Once Oracle JInitiator is installed, users must shut down Navigator, restart it, and then
revisit the original HTML page. Oracle JInitiator will then run and use the parameters
in the <EMBED> tag to render the applet. The next time Navigator encounters a Web
page that specifies Oracle JInitiator, Navigator will seamlessly load and run the
plug-in from the local disk, without user intervention.
JInitiator A-3
Modifying the Oracle JInitiator plug-in
A.9.3 Check and modify the proxy server setting for Oracle JInitiator
To check and modify the proxy server setting for Oracle JInitiator:
1. From the Windows Start menu, choose Start|Settings|Control Panel|Oracle
JInitiator.
JInitiator A-5
Modifying the baseHTML file
During the installation, the following configuration files were installed onto your
system:
■ Default formsweb.cfg File
■ Platform Specific default.env Files
■ base.htm, basejini.htm, basejpi.htm, and baseie.htm Files
■ web.xml
■ forms90.conf
■ Registry.dat
# System parameter: base HTML file for use with Microsoft Internet Explorer
# (when using the native JVM)
baseHTMLie=baseie.htm
# System parameter: delimiter for parameters in the base HTML files
HTMLdelimiter=%
# System parameter: working directory for Forms runtime processes
# WorkingDirectory defaults to <oracle_home>/forms90 if unset.
workingDirectory=
# System parameter: file setting environment variables for the Forms runtime
# processes
envFile=default.env
# System parameter: JVM option for Microsoft Internet Explorer.
# This parameter specifies how to execute the Forms applet under
# Microsoft Internet Explorer 5.x or above. Put IE=native if you want
# the Forms applet to run in the browser's native JVM.
IE=JInitiator
# Forms runtime argument: whether to escape certain special characters
# in values extracted from the URL for other runtime arguments
escapeparams=true
# Forms runtime argument: which form module to run
form=test.fmx
# Forms runtime argument: database connection details
userid=
# Forms runtime argument: whether to run in debug mode
debug=no
# Forms runtime argument: host for debugging
host=
# Forms runtime argument: port for debugging
port=
# Other Forms runtime arguments: grouped together as one parameter.
# These settings support running and debugging a form from the Builder:
otherparams=buffer_records=%buffer% debug_messages=%debug_messages% array=%array%
obr=%obr% query_only=%query_only% quiet=%quiet% render=%render% record=%record%
tracegroup=%tracegroup% log=%log% term=%term%
# Sub argument for otherparams
buffer=no
# Sub argument for otherparams
debug_messages=no
# Sub argument for otherparams
array=no
# Sub argument for otherparams
obr=no
# Sub argument for otherparams
query_only=no
# Sub argument for otherparams
quiet=yes
# Sub argument for otherparams
render=no
# Sub argument for otherparams
record=
# Sub argument for otherparams
tracegroup=
# Sub argument for otherparams
log=
# Sub argument for otherparams
term=
# HTML page title
pageTitle=Oracle Application Server Forms Services
# HTML attributes for the BODY tag
HTMLbodyAttrs=
jpi_classid=clsid:8AD9C840-044E-11D1-B3E9-00805F499D93
# Parameter related to the version of the Java Plugin
jpi_
codebase=http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Version=1,3
,0,0
# Parameter related to the version of the Java Plugin
jpi_mimetype=application/x-java-applet;version=1.3
# EM config parameter
# Set this to "1" to enable Enterprise Manager to track Forms processes
em_mode=0
# Single Sign-On OID configuration parameter
oid_formsid=formsApp_adtqa_ui7.us.oracle.com_6A5E0A34DCD44048B706A0ECE46EC3A6
# Single Sign-On OID configuration parameter
oracle_home=D:\AS10g_M30_bif
# Single Sign-On OID configuration parameter
formsid_group_dn=cn=Logical Application Group, orclApplicationCommonName=formsApp_
adtqa_ui7.us.oracle.com_6A5E0A34DCD44048B706A0ECE46EC3A6, cn=forms, cn=Products,
cn=OracleContext
# Single Sign-On OID configuration parameter: indicates whether we allow
# dynamic resource creation if the resource is not yet created in the OID.
ssoDynamicResourceCreate=true
# Single Sign-On parameter: URL to redirect to if ssoDynamicResourceCreate=false
ssoErrorUrl=
# Single Sign-On parameter: Cancel URL for the dynamic resource creation DAS page.
ssoCancelUrl=
# Single Sign-On parameter: indicates whether the url is protected in which
# case mod_osso will be given control for authentication or continue in
# the FormsServlet if not. It is false by default. Set it to true in an
# application-specific section to enable Single Sign-On for that application.
ssoMode=false
# The parameter allow_debug determines whether debugging is permitted.
# Administrators should set allow_debug to "true" if servlet
# debugging is required, or to provide access to the Forms Trace Xlate utility.
# Otherwise these activities will not be allowed (for security reasons).
allow_debug=false
# Parameter which determines whether new Forms sessions are allowed.
# This is also read by the Forms EM Overview page to show the
# current Forms status.
allowNewConnections=true
# Example Named Configuration Section
# Example 1: configuration to run forms in a separate browser window with
# "generic" look and feel (include "config=sepwin" in the URL)
# You may define your own specific, named configurations (sets of parameters)
# by adding special sections as illustrated in the following examples.
# Note that you need only specify the parameters you want to change. The
# default values (defined above) will be used for all other parameters.
# Use of a specific configuration can be requested by including the text
# "config=<your_config_name>" in the query string of the URL used to run
# a form. For example, to use the sepwin configuration, your could issue
# a URL like "http://myhost.mydomain.com/servlet/f90servlet?config=sepwin".
[sepwin]
separateFrame=True
lookandfeel=Generic
# Example Named Configuration Section
# Example 2: configuration affecting users of MicroSoft Internet Explorer 5.x.
# Forms applet will run under the browser's native JVM rather than using Oracle
JInitiator.
[ienative]
IE=native
#
# Search path for Forms applications (.fmx files, PL/SQL libraries)
# If you need to include more than one directory, they should be semi-colon
# separated (e.g. /private/dir1;/private/dir2)
#
# FORMS90_PATH=<ORACLE_HOME>/forms90
#
# The PATH setting is required in order to pick up the JVM (jvm.dll).
# The Forms runtime executable and dll's are assumed to be in
# <ORACLE_HOME>\bin if they are not in the PATH.
# In addition, if you are running Graphics applications, you will need
# to append the following to the path (where <Graphics Oracle Home> should
# be replaced with the actual location of your Graphics 6i <ORACLE_HOME>):
#
# ;<Graphics Oracle Home>\bin;<Graphics Oracle Home>\jdk\bin
#
PATH=<ORACLE_HOME>\bin;<ORACLE_HOME>\jdk\jre\bin\client
#
# Settings for Graphics
# -------------------------------
# NOTE: These settings are only needed if Graphics applications
# are called from Forms applications. In addition, you will need to
# modify the PATH variable above as described above.
#
#
# Please uncomment the following and put the correct 6i
# <ORACLE_HOME> value to use Graphics applications.
#
#ORACLE_GRAPHICS6I_HOME=<your Graphics 6i <ORACLE_HOME> here>
#
# Search path for Graphics applications
#
#GRAPHICS60_PATH=
#
# Settings for forms tracing and logging
# -----------------------------------------------
# Note: This entry has to be uncommented to enable tracing and
# logging.
#FORMS90_TRACE_PATH=<ORACLE_HOME>\forms90\server
#
# System settings
# ---------------
# You should not normally need to modify these settings
#
FORMS90=<ORACLE_HOME>\forms90
#
# Java class path
# This is required for the Forms debugger
# You can append your own Java code here)
# f90srv.jar, repository.jar and ldapjclnt9.jar are required for
# the password expiry feature to work(#2213140).
#
CLASSPATH=<ORACLE_HOME>\j2ee\OC4J_BI_
Forms\applications\forms90app\forms90web\WEB-INF\lib\f90srv.jar;<ORACLE_
HOME>\jlib\repository.jar;<ORACLE_HOME>\jlib\ldapjclnt9.jar;<ORACLE_
HOME>\jlib\debugger.jar;<ORACLE_HOME>\jlib\ewt3.jar;<ORACLE_
HOME>\jlib\share.jar;<ORACLE_HOME>\jlib\utj90.jar;<ORACLE_
HOME>\jlib\zrclient.jar;<ORACLE_HOME>\reports\jlib\rwrun.jar
#
# Search path for Forms applications (.fmx files, PL/SQL libraries)
#
FORMS90_PATH=<ORACLE_HOME>/forms90
#
# The PATH setting is not required for Forms if the Forms executables are
# in <ORACLE_HOME>/bin. However, it is required if Graphics applications
# are called from Forms applications.
#
PATH=<ORACLE_HOME>/bin
#
# Settings for Reports
# -------------------------------
# NOTE: This setting is only needed if Reports applications
# are called from Forms applications
# However, because of bug 2336698 where a report is started from
# a forms debugger session with an already running JVM, then
# the report's class path should also be included in the forms
# class path.
REPORTS_CLASSPATH=<ORACLE_HOME>/jlib/zrclient.jar:<ORACLE_
HOME>/reports/jlib/rwrun.jar
#
#
# Settings for Graphics
# -------------------------------
# NOTE: These settings are only needed if Graphics applications
# are called from Forms applications
#
#
# Please uncomment the following and put the correct 6i
# <ORACLE_HOME> value to use Graphics applications.
#
#ORACLE_GRAPHICS6I_HOME=<your Graphics 6i <ORACLE_HOME> here>
#
# Search path for Graphics applications
#
GRAPHICS60_PATH=
#
# Settings for forms tracing and logging
# -----------------------------------------------
# Note: This entry has to be uncommented to enable tracing and
# logging.
#FORMS90_TRACE_PATH=<ORACLE_HOME>/forms90/server
#
# System settings
# ---------------
# You should not normally need to modify these settings
#
#
# Path for shared library objects
# This is highly platform (if not machine) specific ! At install time
# <percent>LD_LIBRARY_PATH<percent> should be replaced with the
# actual value of the LD_LIBRARY_PATH environment variable (at install
# time). That should ensure we have the paths for such necessities as
# the motif and X11 libraries.
# Explanations:
# - Reports needs the path for libjava.so
# (/cdm/solaris/o_jdk/1_2_2_0_0/jre/lib/sparc)
# - Forms needs two paths to the jre, for libjvm.so and libhpi.so
# - In ojdk 1.3.1 the location of libjvm.so is lib/sparc (there is no
# classic directory) so we do not include the .../classic directory
# below. There are other versions of libjvm.so (in directories server,
# client and hotspot) but we will use the version in lib/sparc for now.
#
LD_LIBRARY_PATH=<ORACLE_HOME>/lib:%O_JDK_HOME%/jre/lib/sparc:%O_JDK_
HOME%/jre/lib/sparc/native_threads:%LD_LIBRARY_PATH%
Then, specify the actual parameter values in the formsweb.cfg file. All variables are
replaced with the appropriate parameter values at runtime.
You must then assign a value to %Archive% either in the formsweb.cfg file or in
the URL query string.
■ All variables must receive values at runtime. If a variable does not receive a value,
Forms Services cannot build a proper HTML file to pass back to the user’s Web
browser, resulting in an error.
■ To streamline performance, use only one Web server as a source for Jar file
downloads. This will prevent multiple downloads of the same files from different
servers.
<HEAD><TITLE>%pageTitle%</TITLE></HEAD>
<BODY %HTMLbodyAttrs%>
%HTMLbeforeForm%
</APPLET>
<!-- Forms applet definition (end) -->
%HTMLafterForm%
</BODY>
</HTML>
<HEAD><TITLE>%pageTitle%</TITLE></HEAD>
<BODY %HTMLbodyAttrs%>
%HTMLbeforeForm%
serverURL="%serverURL%"
networkRetries="%networkRetries%"
serverArgs="%escapeParams% module=%form% userid=%userid% sso_userid=%sso_
userid% sso_formsid=%sso_formsid% sso_subDN=%sso_subDN% sso_usrDN=%sso_usrDN%
debug=%debug% host=%host% port=%port% %otherparams%"
separateFrame="%separateFrame%"
splashScreen="%splashScreen%"
background="%background%"
lookAndFeel="%lookAndFeel%"
colorScheme="%colorScheme%"
serverApp="%serverApp%"
logo="%logo%"
imageBase="%imageBase%"
formsMessageListener="%formsMessageListener%"
recordFileName="%recordFileName%"
>
<NOEMBED>
</COMMENT>
</NOEMBED></EMBED>
</OBJECT>
<!-- Forms applet definition (end) -->
%HTMLafterForm%
</BODY>
</HTML>
<!-- Default values for all the variables which appear below -->
<!-- (enclosed in percent characters) are defined in the servlet -->
<!-- configuration file (formsweb.cfg). It is preferable to make -->
<!-- changes in that file where possible, rather than this one. -->
<!-- -->
<!-- This file will be REPLACED if you reinstall Oracle Forms, so -->
<!-- you are advised to create your own version if you want to make -->
<!-- any modifications. You should then set the baseHTMLjpi -->
<!-- parameter in the Forms Servlet configuration file (formsweb.cfg) -->
<!-- to point to your new file instead of this one. -->
<HEAD><TITLE>%pageTitle%</TITLE></HEAD>
<BODY %HTMLbodyAttrs%>
%HTMLbeforeForm%
serverURL="%serverURL%"
networkRetries="%networkRetries%"
serverArgs="%escapeParams% module=%form% userid=%userid% sso_userid=%sso_
userid% sso_formsid=%sso_formsid% sso_subDN=%sso_subDN% sso_usrDN=%sso_usrDN%
debug=%debug% host=%host% port=%port% %otherparams%"
separateFrame="%separateFrame%"
splashScreen="%splashScreen%"
background="%background%"
lookAndFeel="%lookAndFeel%"
colorScheme="%colorScheme%"
serverApp="%serverApp%"
logo="%logo%"
imageBase="%imageBase%"
recordFileName="%recordFileName%"
>
<NOEMBED>
</COMMENT>
</NOEMBED></EMBED>
</OBJECT>
<!-- Forms applet definition (end) -->
%HTMLafterForm%
</BODY>
</HTML>
<HEAD><TITLE>%pageTitle%</TITLE></HEAD>
<BODY %HTMLbodyAttrs%>
%HTMLbeforeForm%
</APPLET>
<!-- Forms applet definition (end) -->
%HTMLafterForm%
</BODY>
</HTML>
B.4 web.xml
For a description and the location of web.xml, see Chapter 2, web.xml.
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 Developer Suite
(OracleDS) or OracleAS 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 f90servlet parameter to true. Then restart the Web
server (or OC4J). 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>/forms90/f90servlet/admin).
■ Use a Forms Servlet configuration file other than the standard one (which is
<ORACLE_HOME>/forms90/server/formsweb.cfg).
This can be done by uncommenting and changing the f90servlet's
"configFileName" servlet parameter.
■ 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 workingDirectory and envFile
(specifying the current working directory for the Forms runtime processes, and the
file containing environment settings to be used).
<servlet-name>f90servlet</servlet-name>
<servlet-class>oracle.forms.servlet.FormsServlet</servlet-class>
- <!--
During product installation the configFileName parameter is
specified in the orion-web.xml file as a context parameter
override (in iDS), or as a Java system property (in iAS).
It is set to <ORACLE_HOME>/forms90/server/formsweb.cfg.
You can override that value here by editing and uncommenting the
following servlet parameter setting:
-->
- <!--
<init-param>
<param-name>configFileName</param-name>
<param-value><your configuration file name goes here></param-value>
</init-param>
-->
- <init-param>
- <!--
Turn on or off sensitive options on the f90servlet/admin page.
For security reasons this should be set to false for
production sites.
-->
<param-name>testMode</param-name>
<param-value>false</param-value>
</init-param>
</servlet>
- <!-- Forms listener servlet
-->
- <servlet>
<servlet-name>l90servlet</servlet-name>
<servlet-class>oracle.forms.servlet.ListenerServlet</servlet-class>
</servlet>
- <!--
Forms servlet mappings. Allow these paths to the servlets:
/forms90/f90servlet or /forms90/f90servlet/*: FormsServlet
/forms90/l90servlet or /forms90/l90servlet/*: ListenerServlet
-->
- <servlet-mapping>
<servlet-name>f90servlet</servlet-name>
<url-pattern>/f90servlet*</url-pattern>
</servlet-mapping>
- <servlet-mapping>
<servlet-name>l90servlet</servlet-name>
<url-pattern>/l90servlet*</url-pattern>
</servlet-mapping>
- <!--
The following context parameter is only defined here so it can be
overriden by the (site-specific) value in the orion-web.xml file.
-->
- <context-param>
<param-name>configFileName</param-name>
<param-value />
</context-param>
</web-app>
B.5 forms90.conf
For a description and the location of forms90.conf, see Section 3.1.3.1, "forms90.conf".
The following table describes the virtual paths and servlet mappings:
# Virtual path mapping for Forms Java jar and class files (codebase)
AliasMatch ^/forms90/java/(..*) "<ORACLE_HOME>/forms90/java/$1"
# Virtual path for runform.htm (used to run a form for testing purposes)
AliasMatch ^/forms90/html/(..*) "<ORACLE_HOME>/tools/web90/html/$1"
B.6 Registry.dat
For a description and the location of Registry.dat, see Chapter 3.1.4.1, "Registry.dat".
The main reason you would want to edit this file is to change the icon settings (see
Section 4.9.1, "Icons"). You can also change the default font and font settings by
changing the following section in the Registry.dat file:
default.fontMap.defaultFontname=Dialog
default.fontMap.defaultSize=900
default.fontMap.defaultStyle=PLAIN
default.fontMap.defaultWeight=PLAIN
Change any of the settings above to reflect your desired font setting. For example, if
you want to change your default font to Times New Roman, replace Dialog with
Times New Roman.
You can change the default font face mappings:
default.fontMap.appFontnames=Courier
New,Courier,courier,System,Terminal,Fixed,Fixedsys,Times,Times New Roman,MS Sans
Serif,Arial
default.fontMap.javaFontnames=MonoSpaced,MonoSpaced,MonoSpaced,Dialog,MonoSpaced,D
ialog,Dialog,Serif,Serif,Dialog,SansSerif
Some fonts on NT are not supported in Java. For this reason you can specify (map)
Java-supported fonts that will appear when a non-supported font is encountered. In
the previous sample, each font in default.fontMap.appFontnames corresponds to a
font in default.fontMap.javaFontnames. For more samples, see Section B.6.1, "Default
Registry.dat"
#
# Defaults for the Font details, all names are Java Font names. Each of
# these parameters represents the default property to use when none is
# specified.
#
# defaultFontname represents the default Java fontName.
# defaultSize represents the default fontSize. Note that the size is
# multiplied by 100 (e.g. a 10pt font has a size of 1000).
# defaultStyle represents the default fontStyle, PLAIN or ITALIC.
# defaultWeight represents the default fontWeight, PLAIN or BOLD.
#
default.fontMap.defaultFontname=Dialog
default.fontMap.defaultSize=900
default.fontMap.defaultStyle=PLAIN
default.fontMap.defaultWeight=PLAIN
#
# Default Font Face mapping.
#
# appFontname represents a comma delimited list of Application Font Names.
# javaFontname represents a comma delimited list of Java Font Names.
#
# The number of entries in the appFontname list should match the number in
# the javaFontname list. The elements of the list are comma separated and
# *all* characters are taken literally, leading and trailing spaces are
# stripped from Face names.
#
# Note that this file uses the Java 1.1 Font names in order to be able to
# handle the NLS Plane (BUG #431051)
#
default.fontMap.appFontnames=Courier
New,Courier,courier,System,Terminal,Fixed,Fixedsys,Times,Times New Roman,MS Sans
Serif,Arial
default.fontMap.javaFontnames=MonoSpaced,MonoSpaced,MonoSpaced,Dialog,MonoSpaced,D
ialog,Dialog,Serif,Serif,Dialog,SansSerif
#
# The Application Level icon files are relative to the DOCUMENTBASE
# example: icons/
# or an absolute URL.
# example: http://www.forms.net/~luser/d2k_project/
#
default.icons.iconpath=
default.icons.iconextension=gif
#
# Application level settings to control UI features
#
app.ui.lovButtons=false
app.ui.requiredFieldVA=false
# The background color is specified as an RGB triple.
app.ui.requiredFieldVABGColor=255,0,0
A C
allow_debug, viewing trace logs, 4-10 CAB files, 8-9
applet client browser support
parameters, 4-11, 4-12 about, 3-12
application client resource requirements, 8-4
server, 1-3 client tier, 1-3
application deployment CodeBase, 4-23
overview, 3-4 codebase parameter, 4-12
steps, 3-4 colorScheme parameter, 4-12
archive parameter, 4-13 configuration files, 3-1
archive_ie parameter, 4-13 configuration parameters
archive_jinit parameter, 4-13 BaseHTML files and client browsers, 3-13
Authorization and Access Enforcement, 2-3
D
B data segments, 8-5
Background, 4-21 data stream compression, 8-9
background parameter, 4-12 database tier
base HTML file description, 1-3
creating, B-8 DCM processes
base.htm, 3-2, B-8 restarting, 7-2
description, B-9 default behavior, 3-7
example, B-10 default configuration parameters
baseHTML files allow_debug, 4-10
changing variables, B-9 array, 4-10
creating, B-9 baseHTML, 4-8
list of, 3-2 baseHTMLJInitiator, 4-8, 4-13
modifying, A-5 baseHTMLjpi, 4-8
parameters and variables, B-9 buffer, 4-10
selecting, 3-13 connectionDisallowedURL, 4-8
baseie.htm, 3-2 debug, 4-10
description, B-9 debug_messages, 4-10
example, B-14 defaultcharset, 4-9
basejini.htm, 3-2, B-8 em_trace, 4-11
description, B-9 envFile, 4-8
example, B-11 escapeparams, 4-10
basejpi.htm, 3-2 form, 4-10
description, B-9 heartBeat, 4-10
basejpi.htm File host, 4-11
sample default, B-12 HTML delimiter, 4-8
boilerplate objects/images, 8-5 HTMLafterForm, 4-11
built-in event, 7-6 HTMLbeforeForm, 4-11
HTMLbodyAttrs, 4-11
ie50, 4-9
log, 4-9, 4-11
Index-1
otherparams, 4-10 searching metric information, 8-3
pageTitle, 4-11 sorting metric information, 8-3
port, 4-11 Web Runtime Pooling, 8-3
query_only, 4-10 Forms Services metrics
quiet, 4-11 monitoring, 7-10
record, 4-11 Forms Services resource requirements, 8-5
render, 4-11 Forms Servlet, 5-1
term, 4-11 Forms Trace, 3-3, 7-1
tracegroup, 4-11 FORMS90_CATCHTERM, 4-16
USERID, 4-10 FORMS90_TRACE_PATH, 4-16
workingDirectory, 4-8 forms90.conf, B-17
Default formsweb.cfg File default sample, B-17
sample, B-1 description, 3-4
default.env formsMessageListener, 4-12
UNIX sample, B-6 FormsServlet.initArgs, 4-5
Windows sample default, B-5 formsweb.cfg, 3-2
Deploying Icons and Images Used by Forms example, B-1
Services, 4-19 FRD, 7-1
deployment ftrace.cfg, 3-3
Forms to the Web, 3-1
diagnostic tools, 7-1
G
disable MENU_BUFFERING, 8-11
duration event, 7-6 Graphics, 4-19
E H
EAR, 3-3 height parameter, 4-12
EM (see Enterprise Manager), 4-1 HTML-based Enterprise Manager, 4-1
em_mode, 4-14 HTTP Listener, 5-1
encoded program units, 8-5 Configuration Files, 3-4
Enterprise Manager, 4-1 HTTPD, 5-2
event bundling, 8-5 HTTPS
event details, tracing, 7-8 Forms Listener Servlet, 5-5
events, tracing, 7-6
I
F Icons, 4-19
f60all_jinit.jar Deploying, 4-19
description, 3-12 imageBase, 4-12
f60all.jar Images, 4-19
description, 3-12 Background, 4-21
Feature Restrictions for Forms Applications on the SplashScreen, 4-21
Web, 4-24 Internet Explorer and JInitiator, A-3
FORM90_PATH, 4-15
Forms Integration J
Web Cache, 8-12
Forms Listener, 1-4, 1-5 J2EE, 5-1
Forms Listener Servlet, 1-5, 1-6 JAR files, 8-8
client requirements, 5-5 JAR files, caching, 8-9
HTTPS, 5-5 Java client resource requirements, 8-4
server requirements, 5-5 Java plug-in, 8-9
Forms Resources jinit_classid, 4-13
defining with default preferences in OID, 6-2 jinit_download_page, 4-13
Forms Runtime Diagnostics, 7-1 jinit_exename, 4-13
Forms Runtime Engine, 1-4, 1-5 jinit_mimetype, 4-13
Forms runtime process, 1-5 JInitiator, 8-8
Forms Services description, 3-12
monitoring events, 8-2 JInitiator cache size, A-4
monitoring instances, 8-1 JInitiator description, A-1
monitoring user sessions, 8-2 JInitiator heap size, A-4
JInitiator proxy server, A-4
Index-2
jpi_classid, 4-14 viewing output, A-5
jpi_codebase, 4-14 Oracle Login Server, 6-1
jpi_download_page, 4-14 ORACLE_HOME, 4-15
oracle_home, 4-14
Oracle9i Database, 1-2
L
Oracle9i Real Application Clusters, 1-2
Language Detection, 4-24 Oracle9iAS, 1-1
leveraging, 2-3 Oracle9iDS, 1-2
Load Balancing OC4J, 5-1 OracleAS Forms Services Architecture, image, 1-4
log parameter for tracing, 7-4 overriding, 3-6
logging capabilities, 7-11
logging tools, 7-1
logo, 4-12
P
lookAndFeel parameter, 4-12 parameter options
specifying in URL, 7-4
parameters, 3-5, 3-6
M
PATH, 4-15
mapFonts, 4-13 PECS, 7-1
metrics logging Performance Event Collection Services, 7-1
enabling, 7-11 performance tools, 7-1
specifying through URL, 7-11 Performance/Scalability Tuning, 5-1
middle tier, 1-3 point event, 7-6
privileges
N for classes of users, 2-2
protected, 2-2
network
reducing bandwidth, 8-9
network latency, 8-5 R
network packets, 8-5 RAD entries, 2-2
network usage, 8-5 recordFileName, 4-12
networkRetries, 4-13 Registry.dat
description, 3-4
O registry.dat, 3-4, B-18
sample default, B-19
OC4J, 5-1 resources, 2-2
Configuration Files, 3-3 dynamic directives, 2-2
Load Balancing, 5-3 resources, minimizing
OC4J Server Process, 5-1 boilerplate objects, 8-5
OEM (see Enterprise Manager), 4-1 data segments, 8-5
OID, 2-2, 6-1 encoded program units, 8-5
default preferences to define Forms network usage, 8-5
resources, 6-2 rendering displays, 8-6
dynamic resource creation, 2-2 sending packets, 8-5
options for configuring, 2-3 restrictedURLparams, 4-12
oid_formsid, 4-14 Runform parameters, 4-9, 4-10
optimizing Forms Services, 8-1 runform parameters, 3-7, 3-8
Oracle HTTP Listener Configuration Files, 3-4 default behavior, 3-7
Oracle Identity Management Infrastructure, 2-3 default behavior, prior releases, 3-9
Oracle Internet Directory, 6-1 definition, 3-7
Oracle Internet Platform, 1-1 special character values, 3-7
Oracle JInitator Runtime Pooling, 1-2
setting up the plug-in, A-3 configuring prestart parameters, 8-3
Oracle JInitiator, 8-8, A-1
about, 3-12
benefits, A-1 S
modifying cache size, A-4 sample file
modifying heap size, A-4 base.htm, B-10, B-14
supported configurations, A-2 basejinit.htm, B-11
System Requirements, A-2 sample values, 3-6
using with Internet Explorer, A-3 separateFrame parameter, 4-12
using with Netscape Navigator, A-2 serverApp parameter, 4-13
Index-3
serverArgs parameters, 4-9, 4-10 U
serverURL, 4-12
servlet log file Upload/Translate Utility
location, 7-12 starting, 7-6
sample output, 7-12 URL escape sequences, 3-8
servlet log file location, 7-12 URL parameter option for tracing, 7-4
servlet logging tools, 7-1, 7-10 User ID/Password Feature
single sign-on, 6-1 setting, 5-6
specifying, 3-5
SplashScreen, 4-21 V
splashScreen parameter, 4-12
VGS tree, 8-6
SSO, 6-1
Virtual Graphics System (VGS) tree, 8-6
accessing from Forms, 6-6
authentication flow, 6-6
database password expiration, 2-2, 6-3 W
dynamic directives, 6-2 Web Cache
enabling for an application, 6-3 configuring session binding, 8-12, 8-13
sso_mode Forms integration, 8-12
about, 6-4 testing setup, 8-13
sso_mode parameter web.xml, 3-3, B-15
example for enabling a particular application, 6-4 web.xml File
ssoCancelUrl, 6-6 default sample, B-15
ssoDynamicResourceCreate width parameter, 4-12
about, 6-5
ssoErrorURL, 6-5
startup time, 8-7
Sun’s Java Plug-in, 8-9
T
template HTML
considerations for static, 3-9
template HTML files
considerations, 3-9
creating, 4-18
three-tier architecture, 1-3
timers, tuning, 8-11
trace data
converting to XML, 7-6
trace event details, 7-8
traceable events, 7-6
tracegroup parameter for tracing, 7-4
tracing tools, 7-1
translate utility for tracing, 7-6
tuning, 8-1
application size, 8-12
boilerplate items, 8-10
disable MENU_BUFFERING, 8-11
MENU_BUFFERING, 8-11
message order, 8-9
promote similarities, 8-10
reduce boilerplate objects, 8-10
reduce navigation, 8-10
reducing network bandwidth, 8-9
screen draws, 8-10
timers, 8-11
using JAR files, 8-8
Index-4