Architectur
Architectur
Module Overview
TGS TGS
Module Overview
1
TGS TGS
Note: For Release 11i, all Oracle Applications products, regardless of license
status, are installed in the database and the file system. Do not remove files for
unlicensed products.
TGS TGS
2
TGS TGS
Note: Some products do not have all of the subdirectories you see on this slide.
TGS TGS
3
TGS TGS
Admin Directory
driver: Contains the upgrade driver files (.drv). The upgrade process is
divided into phases. Phase driver files specify processing by phase.
Example files are:
• glseq.drv creates sequences for the General Ledger (GL) product
during the sequence phase.
• glfile.drv lists the GL files needed to run the product.
• gldep.drv specifies dependencies between GL and other products so
that upgrade jobs between products are processed in the correct order.
odf: Contains the object description files used to create and maintain tables,
indexes, sequences, and views.
sql: Contains SQL scripts and PL/SQL scripts used to upgrade data and
PL/SQL package creation scripts.
TGS TGS
Bin Directory
C language programs and operating system shell scripts for each product
are stored in its respective bin directory. Of particular importance to Oracle
Applications are the FND_TOP/bin and AD_TOP/bin directories. Some of
the important programs in these directories include:
4
TGS TGS
Forms Directory
Oracle Forms files include portable source files (.fmb files) or generated
runtime files (.fmx files). Forms files are generated by converting the .fmb
source file to .fmx runtime files. The forms directory for most products
contains Oracle Forms runtime files. The source files are stored in
AU_TOP/forms so that runtime files can be generated more easily.
Under the help directory, there is a language directory to store the help files
for each language.
TGS TGS
The html subdirectory contains HTML, Javascript, and Java Server Page files
The include directory contains header (.h) files for custom development.
used by a product.
The Javascript (.js) and Java Server Page (.jsp) files are kept in the main
Note: Most products do not have an include directory.
html directory.
HTML and related files are stored in language-specific directories under the
html directory.
5
TGS TGS
This directory is used to store Java files. During the installation or the upgrade, the files are
copied to the directories identified in the JAVA_TOP environment variable to optimize
processing.
The JAVA_TOP directory is defined in the environment file created during the installation
process. For each product that uses Java, there are one or more Java Archive (JAR) files under
the jar directory. There is also a product specific Java dependency (.dep) file under the make
directory that lists the components of the JAR files.
TGS TGS
Lib Directory
The lib subdirectory contains files used to the relink Oracle Applications
programs:
• object files (.o files in UNIX and .obj files in Windows): There is one
for each C
program to relink.
• library file (.a file in UNIX and .lib file in Windows): Is the compiled C
code common to that product’s programs.
• makefile (.mk file): Specifies how to create each C executable program
in the product’s bin directory.
For example, the GL_TOP/lib directory contains:
• glpmai.o (object module for the GLPPOS program)
• glcmai.o (object module for the GLCCON program)
• other .o files
• libgl.a (the GL library file)
• gl.mk (the makefile for all GL programs)
6
TGS TGS
Log and Out Directories
When the concurrent managers run Oracle Applications reports or data
update programs, they write output files as well as diagnostic log files and
temporary files to directories defined during the installation process.
There are two methods for storing log and output files:
During the installation, Rapid Install sets the log and out directories to a
common location and assigns this location to the APPLCSF parameter in the
<context name>.env environment file.
The default location for log and out files are COMMON_TOP/admin/log and
COMMON_TOP/admin/out.The log directory holds concurrent log files from
each concurrent request and the out directory holds the concurrent report
output files. Oracle Applications displays text and graphics in the form of .gif files. The
media directory contains all product specific .gif files.
Note: The log and out directories should be monitored for disk space usage
and purged periodically.
TGS TGS
Oracle Applications stores message files in the mesg directory. Message files The patch directory contains files AutoPatch uses to update the database.
are used to display messages in forms and reports. Message files are
translated and are named according to the language they represent. For Patch files are grouped in the following subdirectories:
example: • driver: contains driver files (.drv). These are only used by older patches.
• sql: contains sql (.sql) and PL/SQL (.pls) scripts.
• US.msb is the American English message file. • odf: contains object description files (.odf).
• JA.msb is the Japanese message file. • import: contains files used to update seed data.
You should have a message file for each language installed in your Oracle Note: The patch directory should not be used as a staging area to unzip patches.
Applicationssystem.
7
TGS TGS
• The files in the plsql subdirectory (.pll files) are used by Oracle Reports.
• The files in the resource subdirectory (.pll and .plx files) are used by Oracle The sql directory contains SQL scripts used by Oracle Applications products
Forms.
TGS TGS
APPL_TOP/admin Directory
The APPL_TOP/admin directory contains files and scripts used by the AD utilities
during the upgrade and maintenance processes. These include:
Most AD utilities put their log, out and restart files in a separate <SID>
subdirectory. The value for <SID> comes from the TWO_TASK or ORACLE_SID
parameter.
Some programs cannot access the <SID> value and therefore use the log, out
and restart directories directly under the APPL_TOP/admin directory.
8
TGS TGS
• Is an XML file
• Is located in APPL_TOP/admin
• Contains information specific to that APPL_TOP
• Is used to configure your system
• Is Node-specific
• Ties multiple environments and configurations to make one
Applications instance description
TGS TGS
• adlinkbk.txt: lists files the AD Relink utility should back up rather than
delete.
9
TGS TGS
AU stands for Application Utilities. The <db name>COMN directory contains directories and files that are used across products or
are used in conjunction with other third-party products.
The AU_TOP directory contains other product files that are consolidated in a single
location for optimal processing. These files include: This directory also contains the default consolidated log and output directories used by
concurrent processing. The directories are COMMON_TOP/admin/log and
• PL/SQL libraries used by Oracle Reports, in the plsql subdirectory. COMMON_TOP/admin/out.
• PL/SQL libraries used by Oracle Forms, in the resource subdirectory.
• Oracle Forms source files, in the forms subdirectory. The default location for the Java directory (JAVA_TOP) and the HTML directory
• Certain reports needed by Discoverer or BIS, in the reports subdirectory. (OAH_TOP) is under COMMON_TOP.
TGS TGS
10
TGS TGS
11