Oracle
Oracle
Oracle
Contents
Environment Details:
Target OS Preparation
Database Preparation Guidelines for an E-Business Suite Release 12.2 Upgrade (Doc ID 1349240.1)
Oracle E-Business Suite Installation and Upgrade Notes Release 12 (12.2) for Linux x86-64 (Doc ID
1330701.1)
STEP 1 : On E-Business Suite Release 12.1.3 apply below patches (Doc ID 1058763.1)
Patch 17468141
Opatch lsinventory:
lsinventory.txt.txt
COUNT (*)
----------
23
STEP 4: How to Download and Run Oracle's Database Pre-Upgrade Utility (Doc ID 884522.1)
SQL>@/u01/oracle/product/11.2.0/dbhome_1/rdbms/admin/utlu112i.sql
utl112i.sql_output.txt
STEP 5: The DMSYS schema exists in the database. Prior to performing an upgrade Oracle
recommends that the DMSYS schema, and its associated objects be removed from the
database. Doc id 1497250.1
DMSYS schema_output.txt
DB_link_output.txt
Doc ID 1536345.1
WARNING: ->Database contains schemas with objects dependent on DBMS_LDAP package: Ignore
Database Check:
STEP 7: Check for the integrity of the source database.Note 556610.1 Script to Collect DB
Upgrade/Migrate Diagnostic Information (dbupgdiag.sql)
dbupgdiag_output.txt
'NLS_NCHAR_CHARACTERSET';
AL16UTF16
Analyze.sql.txt
Check for logical corruption in underlying objects and their dependencies.This creates a script called
analyze.sql
Mview_output.txt
Upgrade R12.1.3 to R12.2.5 | 4
Before upgrading Oracle Database, you must wait until all materialized views have completed refreshing
and check that replication is stopped.
Ensure that no files need media recovery and that no files are in backup mode.
System_SYS_default_tbs.txt
Ensure the users SYS and SYSTEM have 'SYSTEM' as their default tablespace. You must have sufficient
space in the tablespace or be set to extents unlimited.
Aud$ table:
Ensure that if the aud$ table exists that it is in the SYS schema and in the SYSTEM tablespace
If the SYS.ENABLED$INDEXES table exists, use SQL*Plus to connect to the database as SYSDBA and
running the following command to drop it: sql>drop table sys.enabled$indexes;
DB_11.2.0.4.env.txt
Copy the initialization file from source Oracle Home to <target 11GR2 home>/dbs& change diag location
At the operating system prompt, change to the $ORACLE_HOME/rdbms/admin directory of 11.2.0.4 Oracle
Home.$ cd $ORACLE_HOME/rdbms/admin
$ sqlplus "/ as sysdba"
SQL> startup upgrade
utlu112s.output.txt
Run catuppst.sql, located in the $ORACLE_HOME/rdbms/admin directory, to perform upgrade actions that
do not require the database to be in UPGRADE mode.
SQL> @catuppst.sql
catuppst_output.txt
Listener_status.txt
Check for TIMESTAMP WITH TIMEZONE Datatype. Uppgrade DST using Note 1579838.1: Actions for
DST Updates When Upgrading to or applying the 11.2.0.4 Patchset
TIMEZONE_upgrade.txt
Copy $APPL_TOP/admin/adgrants.sql
$ sqlplus "/ as sysdba" @adgrants.sql APPS
Use SQL*Plus to connect to the database as SYSDBA and run the following command:$sqlplus "/ as
sysdba" SQL> exec ctxsys.ctx_adm.set_parameter('file_access_role', 'public');
On the administration server node, use SQL*Plus to connect to the database as APPS and run the
$FND_TOP/patch/115/sql/wfaqupfix.sql script using the following command $sqlplus [APPS user]/[APPS
password] @wfaqupfix.sql [APPLSYS user] [APPS user]
Copy appsutil:
Copy appsutil to RDBMS ORACLE HOME
Unzip appsutil:
Unzip the files
unzip -o appsutil.zip
Create CONTEXT_FILE:
adbld.xml
[oraerpup@ERPUPGDB-01 bin]$ pwd
/u01/oracle/product/11.2.0/dbhome_1/appsutil/bin
[oraerpup@ERPUPGDB-01 bin]$ adbldxml.pl
Implement autoconfig:
./adconfig.sh contextfile=/u01/oracle/product/11.2.0/dbhome_1/appsutil/ERPUPG_erpupgdb-01.xml
adconfig.sh_output.txt
Copy $APPL_TOP/admin/adstats.sqlsysdba"
SQL> alter system enable restricted session;
SQL> @adstats.sql
$ sqlplus "/ as sysdba"
SQL> alter system disable restricted session;
SQL> exit;
Upgrade R12.1.3 to R12.2.5 | 7
STEP 31: Re-create custom database links
If you have custom self-referential database links in the database instance, use the following commands to
drop and re-create them:
sqlplus / as sysdba
SQL> @/usr/users/oravista/DB_PATCH/4247037/files/md/admin/catmgdidcode.sql
$ sqlplus /nolog
SQL> CONNECT / AS SYSDBA
SQL> @?/sqlpatch/17501296/postinstall.sql
./adautocfg.sh
Start all the Application tier server processes that you shut down previously.
Please create stats on fixed objects two weeks after the upgrade using the below command
SQL>EXECUTE DBMS_STATS.GATHER_FIXED_OBJECTS_STATS;
STEP 39: Check Apps Login pages is opening , Check Forms are opening, Check Managers
status & Run Active Users and see it completes
Active_user_output.txt Manager_status_output.txt
STEP 40: Run The 12.2 EBS Technology Code Level Checker (ETCC)? (Doc ID 2008451.1)
12.2 E-Business Suite - How to identify patches for listed ETCC missing database and middle tier
bugs (Doc ID 2057925.1)
checkDBpatch.sh
checkDBpatch_v0.txt
Patch 20523280
p20523280.log.txt
checkDBpatch.sh
checkDBpatch_v1.txt
Patch 22876444
Patch 13417321
Patch 16075609
Patch 22307372
Patch 20678391
Patch 22180766
Patch 18604144
Patch 18708921
Patch 18966843
Patch 19835133
Patch 19949371
Patch 20488666
Patch 23477849
Patch 22098122
Patch 21286665
Patch 21321429
Patch 21864513
Patch 21904072
Patch 22496904
Patch 22731026
Upgrade R12.1.3 to R12.2.5 | 9
checkDBpatch.sh
checkDBpatch_v2.txt
APPS_patchset_level.txt
Custom_Triggers_output.txt
Before_12.2_Upgrade_tasks.txt
$ adadmin
SOLUTION:
sql>@ adgrants.sql APPS
STEP 45 : R12.2: How To Create the Stage In Preparation For Installation (Doc ID 1596433.1)
1. Download And Copy Files To Stage Area
Build Stage area for 12.2.0:
There is no rapidwiz -restart option available with R12.2 and hence once the installation fails then perform
the below steps to clean up failed installation first. And then perform the installation.
A. Restart the server or make sure Application service down to kill ALL applmgr processes.
Rapidwiz
upgrade.docx
Create CONTEXT_FILE :
adbld.xml
adbld.xml.txt
Implement autoconfig :
./adconfig.sh contextfile=/u01/oracle/product/11.2.0/dbhome_1/appsutil/ERPUPG_erpupgdb-01.xml
$ adadmin
adgrants.sql :
sql> @adgrants.sql APPS
No patches to be applied
checkMTpatch_v1.txt
Invalid_Objects _Indexes_status.txt
sqlplus / as sysdba
SQL> alter session set current_schema=SYS;
SQL> @?/rdbms/admin/dbmsxdbschmig.sql
SQL> @?/rdbms/admin/prvtxdbschmig.plb
SQL> @?/rdbms/admin/utlrp.sql
Sql> @?/rdbms/admin/catmgd.sql
SQL> @/u01/oracle/product/11.2.0/adgrant/adgrants.sql APPS
SQL> alter system set local_listener='ERPUPG_LOCAL' scope=spfile;
SQL> alter system set service_names='ERPUPG,ebs_patch';
sqlnet_ifile.ora
SQLNET.ALLOWED_LOGON_VERSION_SERVER = 8
sqlnet.ora
SQLNET.INBOUND_CONNECT_TIMEOUT= 120
STEP 58: Oracle E-Business Suite Release Notes, Release 12.2 (Doc ID 1320300.1)
1. Prerequisite: Apply the AD Upgrade Patch for Release 12.2 (Patch 10117518) by merging it with the
latest Consolidated Upgrade Patch (CUP) for AD (Patch 22742061:R12.AD.C).
The AD Upgrade Patch for Release 12.2 (Patch 10117518) readme contains information about the
latest Consolidated Upgrade Patch (CUP) for AD (Patch 22742061:R12.AD.C).
You must follow the Patch 10117518 readme and apply it by merging it with the latest Consolidated
Upgrade Patch for AD, along with any other patches mentioned in the Readme, as instructed in the
readme and by referring to the Upgrade Guides.
AD merge Patch
Patch 10117518
Patch 22742061
Upgrade R12.1.3 to R12.2.5 | 13
Patch 21670164
Patch 21833257
Patch 21833257 12.2 UPGRADE FAILING ON AD_DDL
WITH APPS_FND AS APPS SCHEMA
NAME
Patch 21670164: QRE1225.12:AD:MARK DEADLOCK
ERRORS AS FAILURES DURING
APPLICATIONS_SYSTEM_NAME
------------------------------
ERPUPG
FND_PROFILE.VALUE('APPS_MAINTENANCE_MODE')
--------------------------------------------------------------------------------
MAINT
PATCH_NAME
--------------------------------------------------------------------------------
6767273
no rows selected
OBJECT_NAME
--------------------------------------------------------------------------------
IGW_BUDGET_CATEGORY_V
IGW_REPORT_PROCESSING
FV_FACTS_TRANSACTIONS
FV_FACTS_TBAL_TRANSACTIONS
FV_BUDGET_DISTRIBUTION_HDR_V
FV_SF133_NOYEAR
FV_SF133_ONEYEAR
FV_FACTS_TBAL_TRX
FV_FACTS_TRX_REGISTER
ITG_SYNCSUPPLIERINBOUND_PVT
FFP461_03032003
OBJECT_NAME
--------------------------------------------------------------------------------
FFP461_06042005
FFP461_01042007
OTFG_FINANCE_HEADERS
EUL5_B090312150752Q1V1
GLWAND
PA_PWP_SUMM_PKG
Upgrade R12.1.3 to R12.2.5 | 14
FV_SLA_AR_PROCESSING_PKG
FV_SLA_CST_PROCESSING_PKG
FV_SLA_PO_PROCESSING_PKG
XXHR_BUDGET_PKG
PA_INV_ON_ACCOUNT_CM
OBJECT_NAME
--------------------------------------------------------------------------------
STATSPACK
23 rows selected.
Patch 10117518
Patch 21670164
Patch 21833257
Patch 22742061
adgrants.sql:
/u01/APERPUP/cup_patch/10117518/admin
adgrants.sql:
[aperpup@ERPUPGAPP-01 admin]$ pwd
/u01/APERPUP/cup_patch/22742061/admin
sql>@?/rdbms/admin/utlrp.sql
SQL> select count(*) from dba_objects where status='INVALID';
COUNT(*)
----------
23
Copying files...
5% complete. Copied 47 files of 928...
10% complete. Copied 93 files of 928...
15% complete. Copied 140 files of 928...
20% complete. Copied 186 files of 928...
25% complete. Copied 232 files of 928...
30% complete. Copied 279 files of 928...
35% complete. Copied 325 files of 928...
40% complete. Copied 372 files of 928...
45% complete. Copied 418 files of 928...
50% complete. Copied 464 files of 928...
55% complete. Copied 511 files of 928...
60% complete. Copied 557 files of 928...
65% complete. Copied 604 files of 928...
70% complete. Copied 650 files of 928...
75% complete. Copied 696 files of 928...
80% complete. Copied 743 files of 928...
85% complete. Copied 789 files of 928...
90% complete. Copied 836 files of 928...
95% complete. Copied 882 files of 928...
100% complete. Copied 928 files of 928...
u_10117518_cup7.log
NOTE :- CHECK THE FAILED WORKERS TASK AND RESOLVE THE ISSUE & RESTART
WORKER
$ADADMIN
Compile APPS schema.
Type "No" when prompt for Run Invoker Rights processing in incremental mode
COUNT(*)
----------
28
OBJECT_NAME
--------------------------------------------------------------------------------
IGW_BUDGET_CATEGORY_V
IGW_REPORT_PROCESSING
FV_FACTS_TRANSACTIONS
FV_FACTS_TBAL_TRANSACTIONS
FV_BUDGET_DISTRIBUTION_HDR_V
FV_SF133_NOYEAR
FV_SF133_ONEYEAR
FV_FACTS_TBAL_TRX
FV_FACTS_TRX_REGISTER
ITG_SYNCSUPPLIERINBOUND_PVT
FFP461_03032003
OBJECT_NAME
--------------------------------------------------------------------------------
FFP461_06042005
FFP461_01042007
OTFG_FINANCE_HEADERS
EUL5_B090312150752Q1V1
GLWAND
AD_ZD_PREP
PA_PWP_SUMM_PKG
FV_SLA_AR_PROCESSING_PKG
FV_SLA_CST_PROCESSING_PKG
FV_SLA_PO_PROCESSING_PKG
Upgrade R12.1.3 to R12.2.5 | 17
XXHR_BUDGET_PKG
OBJECT_NAME
--------------------------------------------------------------------------------
PA_INV_ON_ACCOUNT_CM
STATSPACK
24 rows selected.
SOLUTION:
To solve the invalid package run the latest adgrants.sql and compile the package body
EM $Header: adgrants.sql 120.67.12020000.44 2016/07/14 15:18:52 rputchak ship $
SQL> alter package APPS.AD_ZD_PREP compile body;
Package body altered.
STEP 59: Oracle E-Business Suite Release Notes, Release 12.2 (Doc ID 1320300.1)
Preinstall
R12.1 and 12.2 Oracle E-Business Suite Preinstall Patches Report [Video] (Doc ID 1448102.2)
Download the Latest 12.2 Preinstall Patch Report: EBS_R12.2_Preinstall_2016_Sep_15.zip
1.index
u22742071.log
[aperpup@ERPUPGAPP-01 target]$ cd
/u02/oracle/ERPUPG/fs1/EBSapps/appl/admin/ERPUPG/preinstall/
[aperpup@ERPUPGAPP-01 preinstall]$ ls
u22742071.drv
SQL> select object_name from dba_objects where status='INVALID';
OBJECT_NAME
Upgrade R12.1.3 to R12.2.5 | 19
--------------------------------------------------------------------------------
IGW_BUDGET_CATEGORY_V
IGW_REPORT_PROCESSING
FV_FACTS_TRANSACTIONS
FV_FACTS_TBAL_TRANSACTIONS
FV_BUDGET_DISTRIBUTION_HDR_V
FV_SF133_NOYEAR
FV_SF133_ONEYEAR
FV_FACTS_TBAL_TRX
FV_FACTS_TRX_REGISTER
ITG_SYNCSUPPLIERINBOUND_PVT
FFP461_03032003
OBJECT_NAME
--------------------------------------------------------------------------------
FFP461_06042005
FFP461_01042007
OTFG_FINANCE_HEADERS
EUL5_B090312150752Q1V1
GLWAND
AD_ZD_PREP
PA_PWP_SUMM_PKG
FV_SLA_AR_PROCESSING_PKG
FV_SLA_CST_PROCESSING_PKG
FV_SLA_PO_PROCESSING_PKG
XXHR_BUDGET_PKG
OBJECT_NAME
--------------------------------------------------------------------------------
PA_INV_ON_ACCOUNT_CM
STATSPACK
24 rows selected.
Patch 23732886
Patch 23639024
Patch 23544237
Patch 23741256
Patch 23087316
Patch 23753553
Patch 23236779
Patch 24354016
[aperpup@ERPUPGAPP-01 EBS_R12.2_Preinstall_2016]$ mkdir source dest
[aperpup@ERPUPGAPP-01 EBS_R12.2_Preinstall_2016]$ mv 2
23087316/ 23236779/ 23544237/ 23639024/ 23732886/ 23741256/ 23753553/ 24354016/
[aperpup@ERPUPGAPP-01 EBS_R12.2_Preinstall_2016]$ mv 2* source/Source :
[aperpup@ERPUPGAPP-01 EBS_R12.2_Preinstall_2016]$ admrgpch -s source -d target
Copying files...
Step 59.3:
[aperpup@ERPUPGAPP-01 driver]$ ls
admrgpch.log augenmsg.drvx ausstats.drvx u10124646.drv u10201000.drv u_merged.drv
Upgrade R12.1.3 to R12.2.5 | 22
$ cd $AU_TOP/patch/115/driver
Oracle Corporation recommends that you obtain any translated versions of this
patch for each of your non-US languages after applying this base patch.
Or you may request and apply a Translation Synchronization Patch
to obtain the translation.
-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SQL> select object_name,status from dba_objects where object_name like 'AD_ZD%' and status
='INVALID';
OBJECT_NAME
--------------------------------------------------------------------------------
STATUS
-------
AD_ZD_PREP
INVALID
STEP 60: Configure Oracle Applications – Re-run Rapidwiz with the XML file
Copy appsutil:
Copy appsutil to RDBMS ORACLE HOME
Unzip appsutil:
Unzip the files
unzip -o appsutil.zip
Create CONTEXT_FILE:
adbld.xml
[oraerpup@ERPUPGDB-01 bin]$ pwd
/u01/oracle/product/11.2.0/dbhome_1/appsutil/bin
[oraerpup@ERPUPGDB-01 bin]$ adbldxml.pl
Implement autoconfig:
./adconfig.sh contextfile=/u01/oracle/product/11.2.0/dbhome_1/appsutil/ERPUPG_erpupgdb-01.xml
$ADMIN_SCRIPTS_HOME/adautocfg.sh
$ cd $AD_TOP/patch/115/sql
You must run Rapid Install (root user a second time to complete the configuration using
Run File System context file.
Upgrade R12.1.3 to R12.2.5 | 24
Step 60.5: Implement and run AutoConfig
Copy appsutil:
Copy appsutil to RDBMS ORACLE HOME
Unzip appsutil:
Unzip the files
unzip -o appsutil.zip
Create CONTEXT_FILE:
adbld.xml
[oraerpup@ERPUPGDB-01 bin]$ pwd
/u01/oracle/product/11.2.0/dbhome_1/appsutil/bin
[oraerpup@ERPUPGDB-01 bin]$ adbldxml.pl
Implement autoconfig:
./adconfig.sh contextfile=/u01/oracle/product/11.2.0/dbhome_1/appsutil/ERPUPG_erpupgdb-01.xml
$ADMIN_SCRIPTS_HOME/adautocfg.sh
Using the Online Patching Readiness Report in Oracle E-Business Suite Release 12.2 (Doc ID
1531121.1)
Step 61.2:
$ sqlplus /nolog
SQL> @$ORACLE_HOME/appsutil/admin/adgrants.sql APPS
$ adpatch options=hotpatch
Run $AD_TOP/sql/ADZDPSUM.sql
Check the output and clear the CUSTOM schemas as per the output
1. Editions summary
2. Editioned objects summary
3. Free space in important tablespaces
4. Status of critical AD_ZD objects
5. Actual objects in current edition
6. Objects dependencies
7. Objects dependency tree
8. Editioning views column mappings
9. Index details for a table
10. Inherited objects in the current edition
11. All log messages
12. Materialized view details
13. Database sessions by edition
14. Table details (Synonyms, EV, etc.)
15. Count and status of DDL execution by phase
16. Back to main menu
=========================================================================
Important Tablespace Status
=========================================================================
Take special note to ensure that all online patching objects (objects that match the pattern
'AD_ZD%') are valid
Select owner,object_name,status from dba_objects where object_name like 'AD_ZD%';
Upgrade R12.1.3 to R12.2.5 | 27
SQL> Select owner,object_name,status from dba_objects where object_name like 'AD_ZD%';
To solve the invalid package run the latest adgrants.sql and compile the package body
EM $Header: adgrants.sql 120.67.12020000.44 2016/07/14 15:18:52 rputchak ship $
SQL> alter package APPS.AD_ZD_PREP compile body;
SQL> /
Invalid objects before patchSQL> select count(*) from all_objects where status='INVALID';
COUNT(*)
----------
192
$ adpatch options=hotpatch
ERRORS:
1. xlabalupg.sql FAILED
DECLARE
*
ERROR at line 1:
xlabalupg.sql ORA-00001: unique constraint (XLA.XLA_CONTROL_BALANCES_U1) violated
ORA-06512: at line 204
SOLUTION:
1. Disable constraint
2. Restrat worker
3. Enable constraint
2. EGOSILDU.sql FAILED
Monitor by
15 rows selected.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
=========================================================================
Errors in ad_zd_ddl_handler table
=========================================================================
Run the Online Patching Database Compliance Checker report to check for online patching database objects
standards violations:
sqlplus <Apps Username> @$AD_TOP/sql/ADZDDBCC.sql
OBJECT_NAME
--------------------------------------------------------------------------------
PAY_CA_PAYSLIP_SIMULATION_MAIN
PAY_BEE_SS
PAY_AU_PAYSLIP_SIMULATION_MAIN
PAY_US_SPWL_UTILS
PAY_IP_UTILITY
PAY_GB_RTI_UPD
HXT_RETRIEVAL_ROLLBACK
GHR_SS_RPA_CREATION
GHR_RETIRE_DATA_REPORT
GHR_MASS_SEL_NOA
XXHR_BUDGET_PKG
OBJECT_NAME
--------------------------------------------------------------------------------
PAY_JP_ITWB_REPORT_PKG
PAY_JP_ITWB_ARCHIVE_PKG
PAY_IE_PAYFILE_SEPA
HXC_ABS_RETRIEVAL_PKG
PQP_GB_SCOTLAND_LGPS_PENSIONPY
PER_PERUSHIR_XMLP_PKG
PAY_IN_MED_WEB_ADI
PAY_PYAURECP_XMLP_PKG
OTA_MANDATORY_ENROLL_UTIL
OTA_OTARPSIS_XMLP_PKG
OTA_OTARPATT_XMLP_PKG
OBJECT_NAME
--------------------------------------------------------------------------------
GLWAND
LD$3BSC_I_161
LD$3BSC_I_160
XXHR_MBC_DASHB
LD$1BSC_I_163
LD$2BSC_I_162
LD$2BSC_I_161
LD$2BSC_I_160
LD$1BSC_I_161
LD$1BSC_I_162
LD$0BSC_I_163
OBJECT_NAME
--------------------------------------------------------------------------------
LD$1BSC_I_160
LD$0BSC_I_160
LD$BSC_I_163
LD$0BSC_I_162
Upgrade R12.1.3 to R12.2.5 | 32
LD$0BSC_I_161
LD$BSC_I_160
LD$BSC_I_161
LD$BSC_I_162
FA_PROCESS_IMPAIRMENT_PKG
EUL5_B090312150752Q1V1
XLA_00200_AAD_S_000015_PKG
OBJECT_NAME
--------------------------------------------------------------------------------
PQP_GB_LGPS_PENSIONPAY
PER_US_IPEDS_EXP_PKG
OTFG_FINANCE_HEADERS
FFP461_01042007
FFP461_06042005
FFP461_03032003
PAYPERSONALPAYMENTMETH_49U_DYT
PAYPERSONALPAYMENTMETH_48I_DYT
PAYPERSONALPAYMENTMETH_47D_DYT
PAY_US_EXTRA_PER_INFO_LEG_HOOK
PAY_NO_HOLIDAY_PAY
OBJECT_NAME
--------------------------------------------------------------------------------
PAY_NO_EMP_CONT_2007
PAY_NO_ABS_VALIDATION
PAY_NO_ABSENCE
XLA_00200_AAD_S_000012_PKG
XLA_00200_AAD_S_000010_BC_PKG
XLA_00200_AAD_S_000006_BC_PKG
XLA_00200_AAD_S_000006_PKG
XLA_ACCOUNTING_ERR_PKG
PQP_NL_PGGM_FUNCTIONS
PQP_GB_PSI_SALARY_HISTORY
HR_ASSIGNMENT_BUSINESS_EVENT
OBJECT_NAME
--------------------------------------------------------------------------------
HR_TRANSACTION_SWI
HR_QUESTIONNAIRE_API
PAY_US_GEOCODE_REPORT_PKG
PAY_NO_PAYPROC
PAY_NO_HIGH_RATE_TAX
PAY_NL_TAXOFFICE_ARCHIVE
PAY_KW_ANNUAL_REPORTS
PAY_KW_GENERAL
PAY_JP_ISDF_SS_PKG
PAY_JP_ISDF_ARCHIVE_PKG
PAY_JP_ISDF_DML_PKG
OBJECT_NAME
--------------------------------------------------------------------------------
PAY_IN_UTILS
PAY_IE_P60XML
Upgrade R12.1.3 to R12.2.5 | 33
PAY_DK_ARCHIVE
PAY_ASG_PROCESS_GRP_PKG
PAY_AE_SI_REPORTS
PAY_NL_ATS_REPORT
PAY_MX_SUA_MAG
PA_RBS_MAPPING
OTA_CERT_MBR_ENROLLMENT_API
GHR_GEN_RPA_NPA
PQH_SS_WORKFLOW
OBJECT_NAME
--------------------------------------------------------------------------------
PQH_SS_HISTORY
IRC_JPS_GENERATOR
HR_MX_UTILITY
PAY_SA_USER_FUNCTION
PAY_SA_GENERAL
PAY_NZ_HOLIDAYS_2003
BEN_EXT_XML_WRITE
BEN_EVALUATE_ELIG_PROFILES
AP_RETRO_PRICING_PKG
AP_PURGE_PKG
HZ_STAGE_MAP_TRANSFORM
OBJECT_NAME
--------------------------------------------------------------------------------
PQP_PENSION_FUNCTIONS
PER_VETS_MAG_REPORT
PAY_ZA_PAYSLIP_ARCHIVE
PAY_US_W2C_RPT
PAY_LIVEARCHIVE_PKG
PAY_CA_RL2_REG
OTA_ADD_TRAINING_SS
BEN_CONC_REPORTS
GHR_GROUPBOXES_AU_STM
GHR_GROUPBOXES_AU
IRC_LOCATION_UTILITY
OBJECT_NAME
--------------------------------------------------------------------------------
HXC_TIMEKEEPER_ERRORS
AP_EMPLOYEE_UPDATE_PKG
HR_TERMINATION_SS
PAY_SG_IRAS_ARCHIVE
PAY_AU_PAYMENT_SUMMARY_REPORT
HXC_ALIAS_UTILITY
CSI_UTL_PKG
PQP_RATES_HISTORY_CALC
PAY_CA_YEER_PKG
PAY_AU_PAYTAX_PKG
HXT_TIME_COLLECTION
OBJECT_NAME
--------------------------------------------------------------------------------
PQH_ASG_WRAPPER
Upgrade R12.1.3 to R12.2.5 | 34
PSP_ENC_CREATE_LINES
PAY_CA_T4A_REG
PAY_CA_T4_REG
PAY_CA_RL1_REG
PAY_GB_STUDENT_LOANS_PKG
BEN_PERSON_DELETE
CZ_IMP_SINGLE
HR_ASSIGNMENT_ATT
PER_PER_UPD
PER_PER_INS
OBJECT_NAME
--------------------------------------------------------------------------------
HR_PERSON
PER_PEOPLE12_PKG
PER_PEOPLE11_PKG
PER_PERIODS_OF_SERVICE_PKG
HR_LEGISLATION
PER_CONTACT_RELATIONSHIPS_PKG
HR_ASSIGNMENT_INTERNAL
PAY_US_EMP_DT_TAX_RULES
HR_PAYROLLS
PAY_ORG_PAY_METH_USAGES_F_PKG
PAY_JP_CUSTOM_PKG
OBJECT_NAME
--------------------------------------------------------------------------------
HR_ENTRY_API
HR_ELEMENTS
HR_DYNSQL
PAY_CPT_DEL
PAY_CPT_UPD
PAY_CPT_INS
PAY_CPT_SHD
PAY_BALANCE_PKG
HR_BALANCE_FEEDS
PAY_PAYWSQEE_PKG
PA_CC_IDENT
OBJECT_NAME
--------------------------------------------------------------------------------
HXT_DML
GHR_CPDF_CHECK7
GHR_CPDF_CHECK1
GHR_CPDF_CHECK
BEN_PLN_UPD
BEN_PLN_DEL
BEN_PLN_INS
BEN_PLN_SHD
BEN_PEL_DEL
BEN_PEL_UPD
BEN_PEL_INS
OBJECT_NAME
--------------------------------------------------------------------------------
Upgrade R12.1.3 to R12.2.5 | 35
BEN_PEL_SHD
BEN_BATCH_UTILS
BEN_ON_LINE_LF_EVT
BEN_DT_TRGR_HANDLE
BEN_ENROLMENT_REQUIREMENTS
BEN_ENP_DEL
BEN_ENP_UPD
BEN_ENP_INS
BEN_ENP_SHD
BEN_OPTION_IN_PLAN_API
AP_WEB_DFLEX_PKG
OBJECT_NAME
--------------------------------------------------------------------------------
STATSPACK
Oracle E-Business Suite Release 12.2: Consolidated List of Patches and Technology Bug Fixes (Doc ID
1594274.1)
checkMTpatch_13587_v0.log
Patch 22698265
- Filename: p22698265_101232_LINUX.zip
oracle_common_patch.txt
webtier_patches.txt
WLS_patch_v0.txt
checkMTpatch.sh_v1.txt
-----------------------------------------------------------------------------
Patch 23704238 [SU Patch [18NT]]
- Filename: p23704238_10360160719_Generic.zip
checkMTpatch.sh_v2.txt
STEP 63 Applying the Latest AD and TXK Release Update Packs to Oracle E-Business Suite
Release 12.2 (Doc ID 1617461.1)
The latest RUPs are R12.AD.C.Delta.8 (Patch 21841299) and R12.TXK.C.Delta.8 (Patch 21830810).
Note: If the Release 12.2.0 Vision or PROD instance (New Installation) was created using startCD 12.2.0.51
(Patch 22066363), you must apply Consolidated Seed Table Upgrade Patch 17204589:12.2.0 by merging
with Patch 21900871:12.2.0 on the run file system using adop hotpatch mode.
$ sh $ADMIN_SCRIPTS_HOME/adadminsrvctl.sh start
PATCH 17204589
PATCH 21900871
SQL> select count(*) from dba_objects where status='INVALID';
COUNT(*)
----------
188
[aperpup@ERPUPGAPP-01 DELTA_PATCH]$ cp -rf 17204589 21900871
/u02/oracle/ERPUPG/fs_ne/EBSapps/patch/
[aperpup@ERPUPGAPP-01 DELTA_PATCH]$ cd /u02/oracle/ERPUPG/fs_ne/EBSapps/patch/
[aperpup@ERPUPGAPP-01 patch]$ ls
17204589 21841299 21900871
-----------------------------------------------------------------------
PATCH 21841299
oraerpup@10.10.131.38:/u01/oracle/product/11.2.0/adgrant
[oraerpup@ERPUPGDB-01 adgrant]$ sqlplus / as sysdba @adgrants.sql APPS
$ adop phase=apply patches=21841299 hotpatch=yes
/u02/oracle/ERPUPG/fs_ne/EBSapps/log/adop/2/apply_20160924_123410/ERPUPG_erpupgapp-
01/21841299/log/u21841299.log
COUNT(*)
----------
196
COUNT(*)
----------
188
-----------------------------------------------------------------------
PATCH 21830810
/u02/oracle/ERPUPG/fs_ne/EBSapps/log/adop/2/20160924_133246/apply/erpupgapp-
01/21830810/log/u21830810.log
Running finalize actions for the patches being applied.
Log: @ADZDSHOWLOG.sql "2016/09/24 13:51:41"
01/log/cutover.log
Performing database cutover in Quick mode
[WARNING] [CUTOVER 15:10] There are still 2 failed jobs in CUTOVER phase
[WARNING] [CUTOVER 15:8] There are still 1 failed jobs in CUTOVER phase
[ERROR] ORA-38818: illegal reference to editioned object APPS.GLR03300_PKG, SQL: CREATE
01/adzdshowlog.out
Elapsed
--------------- ---------- --------------- --------------- --------------------
-------------------- ------------
erpupgapp-01 master APPLY ACTIVE 2016/09/24 12:34:58 2016/09/24
13:52:50 1:17:52
FINALIZE NOT STARTED
CLEANUP NOT STARTED
COUNT(*)
----------
188
----------------------------------------------------------------
PATCH 24578455
/u02/oracle/ERPUPG/fs_ne/EBSapps/log/adop/2/20160924_160740/apply/erpupgapp-
01/24578455/log/u24578455.log
------------------------------------------------------------------
PATCH 18525466
/u02/oracle/ERPUPG/fs_ne/EBSapps/log/adop/2/20160924_161036/apply/erpupgapp-
01/18525466/log/u18525466.log
COUNT(*)
----------
188
01/admin/out/appsutil.zip oraerpup@10.10.131.38:/u01/oracle/product/11.2.0/dbhome_1
programs..
APPS Password:
APPLICATION AUTOCONFIG:-
p19676458_R12_LINUX_1of9.zip 514.6 MB
p19676458_R12_LINUX_2of9.zip 527.6 MB
p19676458_R12_LINUX_3of9.zip 459.4 MB
p19676458_R12_LINUX_4of9.zip 530.4 MB
p19676458_R12_LINUX_5of9.zip 571.4 MB
Upgrade R12.1.3 to R12.2.5 | 41
p19676458_R12_LINUX_6of9.zip 554.9 MB
p19676458_R12_LINUX_7of9.zip 526.7 MB
p19676458_R12_LINUX_8of9.zip 596.3 MB
p19676458_R12_LINUX_9of9.zip 100.5 MB
PATCH 19676458
$ sh $ADMIN_SCRIPTS_HOME/adstrtal.sh
$ adop phase=cleanup
adop phase=fs_clone
STEP 65 ADSPLICE
Creating a Custom Application in Oracle E-Business Suite Release 12.2 (Doc ID 1577707.1)
Patch 3636980
CUSTOM SCHEMAS “ XXCONV / CCFIN / XXHR “
Custom_schemas_registration:-
-----------------------------
SCHEMA 1:
XXCONV
-------
USERNAME DEFAULT_TABLESPACE
------------------------------ ------------------------------
TEMPORARY_TABLESPACE
------------------------------
XXCONV XXCONV_TS_DATA
TEMP
no rows selected
APPLICATION_ID
--------------
20005
ORACLE_ID
----------
20045
ORACLE_ID
----------
20045
product=xxconv
base_product_top=*APPL_TOP*
oracle_schema=xxconv
sizing_factor=100
main_tspace=XXCONV_TS_DATA
index_tspace=XXCONV_TS_DATA
temp_tspace=TEMP
default_tspace=XXCONV_TS_DATA
END_OF_PRODUCT_ABBREVIATIONS -999
#
# ##################################################
# Oracle Support Diagnostic Tools
# ##################################################
#
# application id, abbreviation, shortname, prefix
20005 xxconv XXCONV APP
# multiple product installations for msob, "controlled release", shared only
# optional fourth field is "stub product". default is No
No No No No
# multilingual, has NLADD.sql
Yes Yes
# install oracle id, default ORACLE username, default ORACLE password
20045 XXCONV XXCONV
# concurrent conflict set id (logical database id)
0
# minimum version you can upgrade from, for shared and for fully-installed
1.0.0 1.0.0
# shared products
# FND, AK, AX and AZ are required for this section
# For example:
# fnd ak ax az gl inv po ap fa ar oe as per pay mfg bom eng mrp crp wip pa
# If you list a product in the set-to-install or required-as-installed
# sections below, you MUST also list the product as a shared product
# fnd ak ax az
none
# product libraries needed for "make -f <product>.mk all"
# For example: fnd alr gl rg
none
# when install this product, set these other products to install
# This is the set-to-install section
# AK, AX and AZ are required for this section
# For example: ak ax az rg
# This section must exactly match the required-as-installed section
# ak ax az
none
# requires that these other products are fully installed or installing
Upgrade R12.1.3 to R12.2.5 | 44
# This is the required-as-installed section
# AK, AX and AZ are required for this section
# For example: ak ax az rg
# This section must exactly match the set-to-install section
# ak ax az
none
#
# ##################################################
# END OF PRODUCT LIST
# ##################################################
#
END_OF_PRODUCTS
#
# ##################################################
# START OF RELEASE LIST
# ##################################################
# For each release, the products should be listed in install/upgrade order.
# FND should always be listed first in the release.
#
# The first release listed should be the lowest release
# we support upgrading from (e.g. release 10.5.0 for MPL 10)
# AutoInstall will stop if a product version is lower than the lowest release.
# AutoInstall will assume that if a product version is at the lowest release,
# then it can be upgraded to the current release.
#
#
# ##################################################
# Release 12.0.0
# ##################################################
#
# release name, for use by AutoInstall only
Release 12.0.0
# release version, for FND_PRODUCT_GROUPS and the \ Help Version feature.
# this value should not contain any English.
12.0.0
# release abbreviation, rename prefix, release type
R120 R120_ additional-this-mpl
# list of products and versions
XXCONV 12.0.0
END_OF_RELEASE 0.0.0
#
#
# #################################################################
# end of izuprod.txt file
# #################################################################
#
#
%%% Single-product territory data file format 12.0.A
#
# Release abbreviation
# 10.7 - R1107, 11.0 = R11.0.28, 11.5 = R115
Upgrade R12.1.3 to R12.2.5 | 45
R120
#
# ###############################################################
# LIST OF LANGUAGE INFO
# ###############################################################
#
# See applterr.txt for more info on what the fields for a language mean
#
# You should specify the product's name in American English
#
# You do not need to include records for other languages unless you need to
# specify the product's name in other languages
#
# ############################
#
# language id, shortname, codes and names
0 usaeng US AMERICAN EN US American_English
# appltape filename, appltape filename for loc. products, codeset
appltape.txt appltape.txt WE8ISO8859P1
# signon translated, standard dg name, other dg prefix
Yes Standard Data_Group
# products that have dnls.drv files
none
# products that have bnls.drv files
none
# products that have fnls.drv files
none
# products that have GV dnls.drv files
none
# products that have GV fnls.drv files
none
# product names in this language
c xxconv Oracle_Support_Diagnostic_Tools
END_OF_PRODUCT_NAMES
#
# You may specify info for other languages here, but usually you will
# not need to do this.
#
END_OF_LANGUAGE_INFO
#
# #################################################################
# end of izuterr.txt file
# #################################################################
AD Splicer
Version 12.2.0
Upgrade R12.1.3 to R12.2.5 | 46
NOTE: You may not use this utility for custom development unless you have written permission from
Oracle Corporation.
Please enter the directory where your AD Splicer control file is located.
/u02/oracle/ERPUPG/fs1/EBSapps/appl/admin/ERPUPG/log/xxconv.log
--------------------------------------------------------------------
CUSTOM_TOP_2
XXFIN
------------
USERNAME DEFAULT_TABLESPACE
------------------------------ ------------------------------
TEMPORARY_TABLESPACE
Upgrade R12.1.3 to R12.2.5 | 47
------------------------------
XXFIN XXCUST_TS_DATA
TEMP
TABLESPACE_NAME OWNER
------------------------------ ------------------------------
XXCUST_TS_DATA XXFIN
APPLICATION_ID
--------------
20003
ORACLE_ID
----------
20043
ORACLE_ID
----------
20043
product=xxfin
base_product_top=*APPL_TOP*
oracle_schema=xxfin
sizing_factor=100
main_tspace=XXCUST_TS_DATA
index_tspace=XXCUST_TS_DATA
temp_tspace=TEMP
default_tspace=XXCUST_TS_DATA
/u02/oracle/ERPUPG/fs1/EBSapps/appl/admin/ERPUPG/log/xxfin.log
Upgrade R12.1.3 to R12.2.5 | 48
[aperpup@ERPUPGAPP-01 admin]$ grep xxfin $CONTEXT_FILE
<XXFIN_TOP oa_var="s_xxfintop" oa_type="PROD_TOP"
oa_enabled="FALSE">/u02/oracle/ERPUPG/fs1/EBSapps/appl/xxfin/12.0.0</XXFIN_TOP>
<c_xxfin oa_var="c_xxfin" scope="CUSTOM" oa_type="PROD_TOP"
oa_enabled="FALSE">/u02/oracle/ERPUPG/fs1/EBSapps/appl/xxfin/12.0.0</c_xxfi
SQL> select * from fnd_product_installations where APPLICATION_ID ='20003';
USERNAME DEFAULT_TABLESPACE
------------------------------ ------------------------------
TEMPORARY_TABLESPACE
------------------------------
XXHR XXCUST_TS_DATA
TEMP
XXCUST_TS_DATA XXHR
APPLICATION_ID
--------------
20004
ORACLE_ID
----------
20044
product=xxhr
base_product_top=*APPL_TOP*
oracle_schema=xxxr
sizing_factor=100
main_tspace=XXCUST_TS_DATA
index_tspace=XXCUST_TS_DATA
temp_tspace=TEMP
default_tspace=XXCUST_TS_DATA
/u02/oracle/ERPUPG/fs1/EBSapps/appl/admin/ERPUPG/log/xxhr.log
-------------------------------------------------------------------------------------
Create CONTEXT_FILE:
adbld.xml
Implement autoconfig ON DB SIDE:
./adconfig.sh contextfile=/u01/oracle/product/11.2.0/dbhome_1/appsutil/ERPUPG_erpupgdb-01.xml
Upgrade R12.1.3 to R12.2.5 | 50
RUN AUTOCONFIG ON APPS SIDE:
$ start application
$ adop phase=fs_clone
Error:
$ adadmin
ERROR : rror: Unable to execute statement <
Begin
ad_jar.get_jripasswords(:l_storepass, :l_keypass);
End;
> len = 63
AD Administration error:
ORA-01031: insufficient privileges
ORA-06512: at "SYS.DBMS_SESSION", line 114
ORA-06512: at "APPS.AD_JAR", line 17
ORA-06512: at line 3
SOLUTION:
Error :
SOLUTION:
To solve the invalid package run the latest adgrants.sql and compile the package body
EM $Header: adgrants.sql 120.67.12020000.44 2016/07/14 15:18:52 rputchak ship $
SQL> alter package APPS.AD_ZD_PREP compile body;
Package body altered.
Error :
ERROR at line 1:
xlabalupg.sql ORA-00001: unique constraint (XLA.XLA_CONTROL_BALANCES_U1) violated
ORA-06512: at line 204
SOLUTION:
1. Disable constraint
2. Restrat worker
3. Enable constraint
Error :
SOLUTION: