Oracle Ebs R12.1.1 File Location
Oracle Ebs R12.1.1 File Location
First Let’s discuss terminology which you will encounter here & in most of Oracle
Documentation.
Server – is a process or group of processes and provides a particular
functionality/service For example, Database Server listen and process database
requests, similarly Web Server listens for and processes HTTP requests.
Tier – is a logical grouping of services, may be on single machine or spread across
more than one physical machine. For Example, Middle Tier in Oracle apps consist
Form,Web,Report…Services. Forms & Report can be one machine 1 & Web Server can
be on machine 2, still they will be part of same tier called as Application Tier or Middle
Tier.
Node – is referred as Machine, Each tier may consist of one or more node and each
node can potentially have more than one tier.
Desktop Tier – Oracle Applications/E-Business Suite is built on three tier Architecture
with first Desktop Tier ic client machines accessing applications via browser(HTML
based Self service applications) or Java Applet(Jinitiator) for Form based interface.
Application/Middle Tier – Second is Application Tier also called as middle tier consists
of WebServer Forms, Reports, Concurrent processing, Discoverer and Admin Server. I
suppose its known as Middle tier because it lies between our desktop & third tier called
database tier.
Database Tier – Third is Database Tier contain Orale database server which store all
your application data. I am sure if you are DBA you know it.
*******************************************************************************
If the object compiles with warnings, use either of the following to see the errors that
caused the warnings :
show errors
OR
select * from user_errors where name = '<OBJECT_NAME>';
Another way to correct invalid objects is to run the adadmin utility as follows:
2. Start the adadmin-Utility from the Unix prompt with this command :
adadmin
3. Under the Maintain Applications Database Objects Menu, select Compile APPS
schema(s)
This task spawns parallel workers to compile invalid database objects in your APPS
schema(s). It uses the same parallel phases as AutoInstall.
NOTE: The order in which to compile Invalid Objects in schemas is SYS, SYSTEM, APPS and
then all others. APPS_DDL and APPS_ARRAY_DDL should exist in all schema's. In case of an
ORA-1555 error while running adcompsc.pls, restart the script.
cd $AD_TOP/sql
sqlplus @adcompsc.pls SCHEMA_NAME SCHEMA_PASSWORD %
After the script completes, check for invalid objects again. If the number has decreased, but
invalid objects still exist, run adcompsc.pls again. Keep running adcompsc.pls until number of
invalid objects stops decreasing.
If there are any objects still left INVALID, verify them by using the script 'aderrchk.sql' to record
the remaining INVALID objects. 'Aderrchk.sql' uses the same syntax as 'adcompsc.pls'. This
script is also supplied with the Applications. Send the aderrchk.sql to a file using the spool <file>
command in sqlplus.
select text
from user_source
where name = 'OBJECTNAME'
and text like '%Header%';
This script will provide the script that creates the packages/recreates the packages.
SQL>@packageheader
SQL>@packagebody
If recreating the package does not make the package valid, analyze the user_errors table to
determine the cause of the invalid package :
select text
from user_errors
where name = '<PACKAGENAME>';
*******************************************************************************