You are on page 1of 2

11/18/2014 Mohammad Shahanawaz -DBA Share Knowledge: How to compile invalid objects in R12

More Next Blog Create Blog Sign In

Mohammad Shahanawaz -DBA


Share Knowledge
Working as an Oracle Core and Apps DBA

Sunday, April 7, 2013 Pages

Home
How to compile invalid objects in R12 Scripts

Interview Questions & Answers


How to compile apps schema (or invalid objects in database) in Oracle applications R12

You can compile invalid objects (or Apps Schema) using below three methods (compiling invalid is Search
not limited to these three methods)
Search
1. From Database Tier

a) Login as database tier user (ovisr12 in my case)


About Me
b) Set environment variable (under $INSTALL_DIR/db/tech_st/[10.2.0 or
11.1.0]/[sid]_[hostname].env)
c) cd $ORACLE_HOME/rdbms/admin Mohammad Shahanawaz
d) sqlplus /as sysdba Kuwait
e) SQL> @utlrp.sql View my complete profile

2. From application tier (using adadmin)


Topics List
a) Login as application tier user (avisr12 in my case)
2014 (5)
b) Set environment variable (under $INSTALL_DIR/apps/apps_st/appl/APPS[sid]_[hostname].env)
c) admin 2013 (33)
d) option 3 compile/reload Applications Database Entities menu November (2)
e) option 1 Compile Apps Schema August (2)
July (2)
3. From SQL (Individual objects) June (4)
a) Identity Invalid Object SQL> select object_name, owner, object_type from all_objects where
April (23)
status like INVALID
AutoConfig on the Database Tier
b) SQL> alter [object] [object_name] compile;
for a New ORACLE_H...

Apps schema Invalid objects Cancelling Concurrent Request


---------------------------- from backend (script...
How to check the
The script 'adcompsc.pls' under the $AD_TOP/sql : PSU/CPU/Security patches
applied ...
The script 'adcompsc.pls' is installed under the $AD_TOP/sql - this script is executed when you run Oracle Apps:Concurrent Manager
the AD_Utility 'adadmin' and select to compile the invalid objects. Part -1
Preventing user to connect / as
The script can be executed manually with following options : sysdba - Security ...
Clean FND_NODES table after
1 - Schema to run in cloning in Oracle APPS...
2 - Password for schema
3 - Check errors for objects starting with #3 FRD TRACE in R12
Compiling forms,libraries,reports
NOTE : The order in which to compile Invalid Objects in schemas is SYS, SYSTEM, APPS and in Oracle Apps 1...
then all others. APPS_DDL and APPS_ARRAY_DDL should exist in all schemas. In case of an How to compile invalid objects in
ORA-1555 error while running adcompsc.pls, restart the script. R12
DATABASE ONLINE CLONING
The script can be run as follows :
Apache Overview 11i and R12

http://dbahut.blogspot.com/2013/04/how-to-compile-invalid-objects-in-r12.html 1/2
11/18/2014 Mohammad Shahanawaz -DBA Share Knowledge: How to compile invalid objects in R12
cd $AD_TOP/sql REP-3000 error Troubleshooting
sqlplus @adcompsc.pls <SCHEMA_NAME> <SCHEMA_PASSWORD> %
Where are the log files located in
Example : R12
How to drop and recreate UNDO
sqlplus @adcompsc.pls apps <Password> %
Tablespace in Oracle...

References: How to drop and recreate TEMP


Tablespace in Oracle...
NOTE: Please be aware, that using adadmin to compile invalid objects, only the invalid objects for Forms Servlet mode to Socket
APPS will be compiled. mode conversion on Re...
References How to enable Apache and Jserv
NOTE:1019928.6 - Script: To verify Stored Procedures Debugging in Oracle...
NOTE:331169.1 - Using Fully Qualified Database Link Name With a Hyphen in the Domain Name
Query to list Oracle hidden
From PL/SQL Fails With ORA-02083, But Not From Regular SQL parameters in oracle 1...
NOTE:429252.1 - Forms With Dblink Fails With ORA-01041 ORA-03113
NOTE:73995.1 - Script: To Recompile Invalid Objects Troubleshooting R12- Frm-92050
failed to connect t...
NOTE:1325394.1 Troubleshooting Guide - invalid objects in the E-Business Suite Environment 11i
and 12 TUNING CONCURRENT
MANAGER Part-1
Changing both DBName and
Posted by Mohammad Shahanawaz at 11:09 PM DBID Using NID utility
Difference between Oracle
Applications 11i and R12...
No comments: Limitations in Merging AD
Patches
Post a Comment
Note: Only a member of this blog may post a comment.

Enter your comment...

Comment as: Google Account

Publish Preview

Newer Post Home Older Post

Subscribe to: Post Comments (Atom)

Ethereal template. Powered by Blogger.

http://dbahut.blogspot.com/2013/04/how-to-compile-invalid-objects-in-r12.html 2/2

You might also like