Step 26:DB Upgrade Steps
Source 11g Environment
Run the Pre-upgrade Tool:
$. /oradata/prod/app/oracle/product/11.2.0/PROD_proderpdb.env
$ORACLE_HOME/jdk/bin/java -jar /oradata/prod/app/oracle/product/19.3.0/rdbms/admin/preupgrade.jar TERMINAL TEXT
[oracle@proderpdb ~]$ $ORACLE_HOME/jdk/bin/java -jar /oradata/prod/app/oracle/product/19.3.0/rdbms/admin/preupgrade.jar TERMINAL TEXT
Report generated by Oracle Database Pre-Upgrade Information Tool Version
19.0.0.0.0 Build: 13 on 2025-12-02T13:08:02
Upgrade-To version: 19.0.0.0.0
=======================================
Status of the database prior to upgrade
=======================================
Database Name: PROD
Container Name: Not Applicable in Pre-12.1 database
Container ID: Not Applicable in Pre-12.1 database
Version: 11.2.0.4.0
DB Patch Level: PSU 11.2.0.4.2
Compatible: 11.2.0
Blocksize: 8192
Platform: Linux x86 64-bit
Timezone File: 10
Database log mode: ARCHIVELOG
Readonly: FALSE
Edition: EE
Oracle Component Upgrade Action Current Status
---------------- -------------- --------------
Oracle Server [to be upgraded] VALID
JServer JAVA Virtual Machine [to be upgraded] VALID
Oracle XDK for Java [to be upgraded] VALID
Real Application Clusters [to be upgraded] INVALID
OLAP Analytic Workspace [to be upgraded] VALID
Oracle Enterprise Manager Repository [to be upgraded] VALID
Oracle Text [to be upgraded] VALID
Oracle XML Database [to be upgraded] VALID
Oracle Java Packages [to be upgraded] VALID
Oracle Multimedia [to be upgraded] VALID
Oracle Spatial [to be upgraded] VALID
Oracle OLAP API [to be upgraded] VALID
==============
BEFORE UPGRADE
==============
REQUIRED ACTIONS
================
1. (AUTOFIXUP) You must upgrade Oracle-Maintained tables using prior
versions of evolved types. Use ALTER TABLE ... UPGRADE INCLUDING DATA.
There is object type data in Oracle-Maintained tables that has not been
upgraded to the latest version of an evolved object type.
To prevent data loss during database upgrade, all object type columns in
tables owned by Oracle-Supplied users must be current prior to the
upgrade or plugin.
2. (AUTOFIXUP) Empty the RECYCLEBIN immediately before database upgrade.
The database contains 1328 objects in the recycle bin.
The recycle bin must be completely empty before database upgrade.
RECOMMENDED ACTIONS
===================
3. Update NUMERIC INITIALIZATION PARAMETERS to meet estimated minimums.
This action may be done now or when starting the database in upgrade mode
using the 19 ORACLE HOME.
Parameter Currently 19 minimum
--------- --------- ------------------
processes 200 300
The database upgrade process requires certain initialization parameters
to meet minimum values. The Oracle upgrade process itself has minimum
values which may be higher and are marked with an asterisk. After
upgrading, those asterisked parameter values may be reset if needed.
4. Remove initialization parameters that Oracle has obsoleted or removed.
This action may be done now or when starting the database in upgrade mode
using the target ORACLE HOME.
Parameter
---------
O7_DICTIONARY_ACCESSIBILITY
utl_file_dir
If parameters that are obsolete or removed from the target release are
present in the pfile/spfile, the Oracle database may not start, or it may
start with an ORA- error.
5. Remove the EM repository.
- Copy the $ORACLE_HOME/rdbms/admin/emremove.sql script from the target
19 ORACLE_HOME into the source 11.2.0.4.0 ORACLE_HOME.
Step 1: If database control is configured, stop EM Database Control,
using the following command
$> emctl stop dbconsole
Step 2: Connect to the database using the SYS account AS SYSDBA
SET ECHO ON;
SET SERVEROUTPUT ON;
@emremove.sql
Without the set echo and serveroutput commands, you will not be able to
follow the progress of the script.
The database has an Enterprise Manager Database Control repository.
Starting with Oracle Database 12c, the local Enterprise Manager Database
Control does not exist anymore. The repository will be removed from your
database during the upgrade. This step can be manually performed before
the upgrade to reduce downtime.
6. Run 11.2.0.4.0 $ORACLE_HOME/rdbms/admin/utlrp.sql to recompile invalid
objects. You can view the individual invalid objects with
SET SERVEROUTPUT ON;
EXECUTE DBMS_PREUP.INVALID_OBJECTS;
30 objects are INVALID.
There should be no INVALID objects in SYS/SYSTEM or user schemas before
database upgrade.
7. Remove OLAP Catalog by running the 11.2.0.4.0 SQL script
$ORACLE_HOME/olap/admin/catnoamd.sql script.
The OLAP Catalog component, AMD, exists in the database.
Starting with Oracle Database 12c, the OLAP Catalog (OLAP AMD) is
desupported and will be automatically marked as OPTION OFF during the
database upgrade if present. Oracle recommends removing OLAP Catalog
(OLAP AMD) before database upgrade. This step can be manually performed
before the upgrade to reduce downtime.
8. Explicitly set RESOURCE_LIMIT to FALSE in the pfile/spfile to retain the
previous behavior.
the RESOURCE_LIMIT initialization parameter is not explicitly set in the
pfile/spfile.
The RESOURCE_LIMIT initialization parameter default value changed from
FALSE to TRUE in 12.1.0.2 onwards. Without an explicit setting, the
upgrade may introduce unintented RESOURCE_LIMIT enforcement.
9. To remove duplicate objects, refer to Doc ID 1030426.6.
To query for these duplicates owned by both SYS and SYSTEM, run:
SELECT object_name, object_type
FROM dba_objects
WHERE object_name||'_'||object_type IN
(SELECT object_name||'_'||object_type
FROM dba_objects WHERE owner = 'SYS')
AND owner = 'SYSTEM' AND object_name NOT IN ('AQ$_SCHEDULES',
'AQ$_SCHEDULES_PRIMARY','DBMS_REPCAT_AUTH','DBMS_REPCAT_AUTH');
There exists in the database duplicate object(s) that are owned by both
SYS and SYSTEM.
If an install script had been run as both SYS and SYSTEM, then it is
possible to have duplicate objects (with same object names and types)
owned by both of these Oracle users.
10. Backup the existing ACLs and their assignments for reference. Use the new
DBMS_NETWORK_ACL_ADMIN interfaces and dictionary views to administer
network privileges after upgrade.
The database contains network ACLs with privileges that will be migrated
to a new format in 12c.
Network access control list (ACL) privileges in 11g will be migrated to a
new format in 12c. As part of the migration, new DBMS_NETWORK_ACL_ADMIN
interfaces and dictionary views are provided, and privileges in the
existing ACLs will be converted to the new format with new ACL names. The
old ACL names, DBMS_NETWORK_ACL_ADMIN interfaces and dictionary views may
continue to be used but are deprecated and their use is discouraged. For
further information, refer to My Oracle Support note number 2078710.1.
11. Perform one of the following:
1) Expire user accounts that use only the old 10G password version and
follow the procedure recommended in Oracle Database Upgrade Guide under
the section entitled, "Checking for Accounts Using Case-Insensitive
Password Version".
2) Explicitly set SQLNET.ALLOWED_LOGON_VERSION_SERVER in the 19
SQLNET.ORA to a non-Exclusive Mode value, such as "11". (This is a short
term approach and is not recommended because it will retain known
security risks associated with the 10G password version.)
Your database system has at least one account with only the 10G password
version (see the PASSWORD_VERSIONS column of DBA_USERS).
Starting with Oracle Database release 12.2.0.1, Exclusive Mode is the new
default password-based authentication mode. All Exclusive Mode
login/authentication attempts will fail for preexisting user accounts
which only have the 10G password version and neither the 11G or 12C
password version (see DBA_USERS.PASSWORD_VERSIONS.) For more information,
refer to "Understanding Password Case Sensitivity and Upgrades" in the
Oracle Database Upgrade Guide.
12. Upgrade Oracle Application Express (APEX) manually before the database
upgrade.
The database contains APEX version 4.2.3.00.08. Upgrade APEX to at least
version 18.2.0.00.12.
Starting with Oracle Database Release 18, APEX is not upgraded
automatically as part of the database upgrade. Refer to My Oracle Support
Note 1088970.1 for information about APEX installation and upgrades.
13. Remove the SEC_CASE_SENSITIVE_LOGON instance initialization parameter
setting, to configure your system to use case sensitive password
authentication by default.
Your database system is configured to enforce case insensitive password
authentication (the SEC_CASE_SENSITIVE_LOGON instance initialization
parameter setting is FALSE).
Starting with Oracle Database release 12.2, Exclusive Mode is the default
password-based authentication mode. Case insensitive password
authentication is not supported in Exclusive Mode. If your system needs
to use case insensitive password authentication, Exclusive Mode must be
switched off prior to the upgrade. See the Network Reference Manual
chapter about the SQLNET.ORA parameter
SQLNET.ALLOWED_LOGON_VERSION_SERVER for more details on Exclusive Mode.
14. Please make sure that all the MVs are refreshed and sys.sumdelta$ becomes
empty before doing upgrade, unless you have strong business reasons not
to do so. You can use dbms_mview.refresh() to refresh the MVs except
those stale ones to be kept due to business need. If there are any stale
MVs depending on changes in sys.sumdelta$, do not truncate it, because
doing so will cause wrong results after refresh. Please refer to the
Materialized View section in MOS Note 2380601.1 for more details.
There are one or more materialized views in either stale or invalid
state, or which are currently being refreshed.
Oracle recommends that all materialized views (MV's) are refreshed before
upgrading the database because this will clear the MV logs and the
sumdelta$ table and may reduce the upgrade time. If you choose to not
refresh some MVs, the change data for those MV's will be carried through
the UPGRADE process. After UPGRADE, you can refresh the MV's and MV
incremental refresh should work in normal cases.
15. Review and remove any unnecessary HIDDEN/UNDERSCORE parameters.
The database contains the following initialization parameters whose name
begins with an underscore:
_system_trig_enabled
_sort_elimination_cost_ratio
_b_tree_bitmap_plans
_fast_full_scan_enabled
_like_with_bind_as_equality
_optimizer_autostats_job
_trace_files_public
Remove hidden parameters before database upgrade unless your application
vendors and/or Oracle Support state differently. Changes will need to be
made in the pfile/spfile.
16. Review and remove any unnecessary EVENTS.
The database contains events.
There are events set that should be removed before upgrade, unless your
application vendors and/or Oracle Support state differently. Changes
will need to be made in the pfile/spfile.
17. (AUTOFIXUP) Gather stale data dictionary statistics prior to database
upgrade in off-peak time using:
EXECUTE DBMS_STATS.GATHER_DICTIONARY_STATS;
Dictionary statistics do not exist or are stale (not up-to-date).
Dictionary statistics help the Oracle optimizer find efficient SQL
execution plans and are essential for proper upgrade timing. Oracle
recommends gathering dictionary statistics in the last 24 hours before
database upgrade.
For information on managing optimizer statistics, refer to the 11.2.0.4
Oracle Database Performance Tuning Guide.
18. (AUTOFIXUP) Directly grant ADMINISTER DATABASE TRIGGER privilege to the
owner of the trigger or drop and re-create the trigger with a user that
was granted directly with such. You can list those triggers using: SELECT
OWNER, TRIGGER_NAME FROM DBA_TRIGGERS WHERE
TRIM(BASE_OBJECT_TYPE)='DATABASE' AND OWNER NOT IN (SELECT GRANTEE FROM
DBA_SYS_PRIVS WHERE PRIVILEGE='ADMINISTER DATABASE TRIGGER').
There is one or more database triggers whose owner does not have the
right privilege on the database.
The creation of database triggers must be done by users granted with
ADMINISTER DATABASE TRIGGER privilege. Privilege must have been granted
directly.
INFORMATION ONLY
================
19. Here are ALL the components in this database registry:
Component Current Current Original Previous Component
CID Version Status Version Version Schema
--------- ----------- ----------- ----------- ----------- -----------
AMD 11.2.0.4.0 VALID 10.2.0.2.0 11.2.0.3.0 OLAPSYS
APEX 4.2.3.00.08 VALID APEX_040200
APS 11.2.0.4.0 VALID 9.2.0.5.0 11.2.0.3.0 SYS
CATALOG 11.2.0.4.0 VALID 9.2.0.5.0 9.2.0.5.0 SYS
CATJAVA 11.2.0.4.0 VALID 9.2.0.5.0 11.2.0.3.0 SYS
CATPROC 11.2.0.4.0 VALID 9.2.0.5.0 11.2.0.3.0 SYS
CONTEXT 11.2.0.4.0 VALID 9.2.0.5.0 11.2.0.3.0 CTXSYS
EM 11.2.0.4.0 VALID 11.2.0.3.0 SYSMAN
JAVAVM 11.2.0.4.0 VALID 9.2.0.5.0 11.2.0.3.0 SYS
ORDIM 11.2.0.4.0 VALID 9.2.0.5.0 11.2.0.3.0 ORDSYS
RAC 11.2.0.4.0 INVALID 9.2.0.5.0 11.2.0.3.0 SYS
SDO 11.2.0.4.0 VALID 9.2.0.5.0 11.2.0.3.0 MDSYS
XDB 11.2.0.4.0 VALID 10.2.0.1.0 11.2.0.3.0 XDB
XML 11.2.0.4.0 VALID 9.2.0.7.0 11.2.0.3.0 SYS
XOQ 11.2.0.4.0 VALID 9.2.0.5.0 11.2.0.3.0 SYS
Review the information before upgrading.
20. Consider removing the following deprecated initialization parameters.
Parameter
---------
sec_case_sensitive_logon
These deprecated parameters probably will be obsolete in a future release.
21. Ensure there is additional disk space in LOG_ARCHIVE_DEST_1 for at least
4901 MB of archived logs. Check alert log during the upgrade that there
is no write error to the destination due to lack of disk space.
Archiving cannot proceed if the archive log destination is full during
upgrade.
Archive Log Destination:
Parameter : LOG_ARCHIVE_DEST_1
Destination : /oradata/prod/db/data/archive
The database has archiving enabled. The upgrade process will need free
disk space in the archive log destination(s) to generate archived logs to.
22. Check the Oracle Backup and Recovery User's Guide for information on how
to manage an RMAN recovery catalog schema.
If you are using a version of the recovery catalog schema that is older
than that required by the RMAN client version, then you must upgrade the
catalog schema.
It is good practice to have the catalog schema the same or higher version
than the RMAN client version you are using.
23. Here is a count of invalid objects by users:
User Name Number of INVALID Objects
--------------------------- -------------------------
APPS 30
Review the information before upgrading.
ORACLE GENERATED FIXUP SCRIPT
=============================
All of the issues in database PROD
which are identified above as BEFORE UPGRADE "(AUTOFIXUP)" can be resolved by
executing the following
SQL>@/oradata/prod/app/oracle/product/11.2.0/cfgtoollogs/PROD/preupgrade/pre
upgrade_fixups.sql
=============
AFTER UPGRADE
=============
REQUIRED ACTIONS
================
None
RECOMMENDED ACTIONS
===================
24. (AUTOFIXUP) If you use the -T option for the database upgrade, then run
$ORACLE_HOME/rdbms/admin/utluptabdata.sql after the upgrade is complete,
to VALIDATE and UPGRADE any user tables affected by changes to
Oracle-Maintained types.
There are user tables dependent on Oracle-Maintained object types.
If the -T option is used to set user tablespaces to READ ONLY during the
upgrade, user tables in those tablespaces, that are dependent on
Oracle-Maintained types, will not be automatically upgraded. If a type is
evolved during the upgrade, any dependent tables need to be re-validated
and upgraded to the latest type version AFTER the database upgrade
completes.
25. Upgrade the database time zone file using the DBMS_DST package.
The database is using time zone file version 10 and the target 19 release
ships with time zone file version 32.
Oracle recommends upgrading to the desired (latest) version of the time
zone file. For more information, refer to "Upgrading the Time Zone File
and Timestamp with Time Zone Data" in the 19 Oracle Database
Globalization Support Guide.
26. Recreate directory objects to remove any symbolic links from directory
paths. To identify paths that contain symbolic links before upgrading,
use OS commands like UNIX file or WINDOWS dir. After upgrading, run
$ORACLE_HOME/rdbms/admin/utldirsymlink.sql to identify directory objects
with symbolic links in the path.
Found 33 user directory objects to be checked: APPS_DATA_FILE_DIR,
ATTACHMENT, ATTACHMENTS, ATTACHMENT_BG, ATTACHMENT_FD, AW_DIR,
CSR_XML_TOP, DEVCONCOUT, EBS_DB_DIR_UTIL, EBS_UTL_FILE_DIR_2698011920755,
EBS_UTL_FILE_DIR_3450008656747, EBS_UTL_FILE_DIR_6842271318464,
EBS_UTL_FILE_DIR_9129545426435, ECX_UTL_LOG_DIR_OBJ,
ECX_UTL_XSLT_DIR_OBJ, EXPORT, FND_DIAG_DIR, IDR_DIR, NICSIPROJDIR,
NICSIPROJDIR1, NICSI_ATTACHMENT, ODPDIR, PRJ_LEDGER, PROJUPLOADDIR,
RDBA_ALERT_LOG_TST, TIMEZDIF_DIR, TSTCONCOUT, UPDOWNFILES_DIR,
XXNICCSI_LIB, XXNICSILIB, XXNICSI_LIB, XXX_CON_FILE_DIR, XXX_DEBG_DIR.
Starting in Release 18c, symbolic links are not allowed in directory
object paths used with BFILE data types, the UTL_FILE package, or
external tables.
27. (AUTOFIXUP) Gather dictionary statistics after the upgrade using the
command:
EXECUTE DBMS_STATS.GATHER_DICTIONARY_STATS;
Oracle recommends gathering dictionary statistics after upgrade.
Dictionary statistics provide essential information to the Oracle
optimizer to help it find efficient SQL execution plans. After a database
upgrade, statistics need to be re-gathered as there can now be tables
that have significantly changed during the upgrade or new tables that do
not have statistics gathered yet.
28. Gather statistics on fixed objects after the upgrade and when there is a
representative workload on the system using the command:
EXECUTE DBMS_STATS.GATHER_FIXED_OBJECTS_STATS;
This recommendation is given for all preupgrade runs.
Fixed object statistics provide essential information to the Oracle
optimizer to help it find efficient SQL execution plans. Those
statistics are specific to the Oracle Database release that generates
them, and can be stale upon database upgrade.
For information on managing optimizer statistics, refer to the 11.2.0.4
Oracle Database Performance Tuning Guide.
INFORMATION ONLY
================
29. Check the Oracle documentation for the identified components for their
specific upgrade procedure.
The database upgrade script will not upgrade the following Oracle
components: OLAP Catalog
The Oracle database upgrade script upgrades most, but not all Oracle
Database components that may be installed. Some components that are not
upgraded may have their own upgrade scripts, or they may be deprecated or
obsolete.
ORACLE GENERATED FIXUP SCRIPT
=============================
All of the issues in database PROD
which are identified above as AFTER UPGRADE "(AUTOFIXUP)" can be resolved by
executing the following
SQL>@/oradata/prod/app/oracle/product/11.2.0/cfgtoollogs/PROD/preupgrade/pos
tupgrade_fixups.sql
==================
PREUPGRADE SUMMARY
==================
/oradata/prod/app/oracle/product/11.2.0/cfgtoollogs/PROD/preupgrade/preupgrade.log
/oradata/prod/app/oracle/product/11.2.0/cfgtoollogs/PROD/preupgrade/preupgrade_fixups.sql
/oradata/prod/app/oracle/product/11.2.0/cfgtoollogs/PROD/preupgrade/postupgrade_fixups.sql
Execute fixup scripts as indicated below:
Before upgrade:
Log into the database and execute the preupgrade fixups
@/oradata/prod/app/oracle/product/11.2.0/cfgtoollogs/PROD/preupgrade/preupgrade_fixups.sql
After the upgrade:
Log into the database and execute the postupgrade fixups
@/oradata/prod/app/oracle/product/11.2.0/cfgtoollogs/PROD/preupgrade/postupgrade_fixups.sql
Preupgrade complete: 2025-12-02T13:08:03
[oracle@proderpdb ~]$
Do the fixes as recommended.
Execute fixup scripts as indicated below:
Before upgrade
Log into the database and execute the preupgrade fixups
On 11g DB
$. /oradata/prod/app/oracle/product/11.2.0/PROD_proderpdb.env
[oracle@proderpdb ~]$ echo $ORACLE_HOME
/oradata/prod/app/oracle/product/11.2.0
[oracle@proderpdb ~]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.4.0 Production on Tue Dec 2 14:16:56 2025
Copyright (c) 1982, 2013, Oracle. All rights reserved.
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
SQL>@/oradata/prod/app/oracle/product/11.2.0/cfgtoollogs/PROD/preupgrade/preupgrade_fixups.sql
SQL>@PURGE DBA_RECYCLEBIN;
DBA Recyclebin purged.
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
[oracle@proderpdb ~]$ cp /oradata/prod/app/oracle/product/19.3.0/rdbms/admin/emremove.sql $ORACLE_HOME/rdbms/admin/
[oracle@proderpdb ~]$ emctl stop dbconsole
Environment variable ORACLE_UNQNAME not defined. Please set ORACLE_UNQNAME to database unique name.
[oracle@proderpdb ~]$ export DB_UNIQUE_NAME=PROD
[oracle@proderpdb ~]$ echo $DB_UNIQUE_NAME
PROD
[oracle@proderpdb ~]$ echo $ORACLE_HOME
/oradata/prod/app/oracle/product/11.2.0
[oracle@proderpdb ~]$
[oracle@proderpdb ~]$
[oracle@proderpdb ~]$ emctl stop dbconsole
Environment variable ORACLE_UNQNAME not defined. Please set ORACLE_UNQNAME to database unique name.
[oracle@proderpdb ~]$ export ORACLE_UNQNAME=PROD
[oracle@proderpdb ~]$ emctl stop dbconsole
OC4J Configuration issue. /oradata/prod/app/oracle/product/11.2.0/oc4j/j2ee/OC4J_DBConsole_proderpdb.nicsi.in_PROD not found.
[oracle@proderpdb ~]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.4.0 Production on Tue Dec 2 14:28:38 2025
Copyright (c) 1982, 2013, Oracle. All rights reserved.
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
SQL> @$ORACLE_HOME/rdbms/admin/emremove.sql
old 70: IF (upper('&LOGGING') = 'VERBOSE')
new 70: IF (upper('VERBOSE') = 'VERBOSE')
PL/SQL procedure successfully completed.
SQL> @/oradata/prod/app/oracle/product/11.2.0/cfgtoollogs/PROD/preupgrade/preupgrade_fixups.sql
Executing Oracle PRE-Upgrade Fixup Script
Auto-Generated by: Oracle Preupgrade Script
Version: 19.0.0.0.0 Build: 13
Generated on: 2025-12-02 13:07:42
For Source Database: PROD
Source Database Version: 11.2.0.4.0
For Upgrade to Version: 19.0.0.0.0
Preup Preupgrade
Action Issue Is
Number Preupgrade Check Name Remedied Further DBA Action
------ ------------------------ ---------- --------------------------------
1. invalid_sys_tabledata YES None.
2. purge_recyclebin YES None.
3. parameter_min_val NO Manual fixup recommended.
4. parameter_obsolete NO Manual fixup recommended.
5. em_present YES None.
6. invalid_objects_exist NO Manual fixup recommended.
7. amd_exists NO Manual fixup recommended.
8. default_resource_limit NO Manual fixup recommended.
9. duplic_sys_system_objs NO Manual fixup recommended.
10. network_acl_priv NO Manual fixup recommended.
11. exclusive_mode_auth NO Manual fixup recommended.
12. apex_manual_upgrade NO Manual fixup recommended.
13. case_insensitive_auth NO Manual fixup recommended.
14. mv_refresh NO Manual fixup recommended.
15. hidden_params NO Informational only.
Further action is optional.
16. underscore_events NO Informational only.
Further action is optional.
17. dictionary_stats YES None.
18. trgowner_no_admndbtrg YES None.
19. component_info NO Informational only.
Further action is optional.
20. parameter_deprecated NO Informational only.
Further action is optional.
21. min_archive_dest_size NO Informational only.
Further action is optional.
22. rman_recovery_version NO Informational only.
Further action is optional.
23. invalid_all_obj_info NO Informational only.
Further action is optional.
The fixup scripts have been run and resolved what they can. However,
there are still issues originally identified by the preupgrade that
have not been remedied and are still present in the database.
Depending on the severity of the specific issue, and the nature of
the issue itself, that could mean that your database is not ready
for upgrade. To resolve the outstanding issues, start by reviewing
the preupgrade_fixups.sql and searching it for the name of
the failed CHECK NAME or Preupgrade Action Number listed above.
There you will find the original corresponding diagnostic message
from the preupgrade which explains in more detail what still needs
to be done.
PL/SQL procedure successfully completed.
SQL>
There would fixups which needs to be done manually.
SQL>select 'DROP ' || object_type || ' SYSTEM.' || object_name || ';'
from dba_objects
where object_name not in ('AQ$_SCHEDULES_PRIMARY','DBMS_REPCAT_AUTH','AQ$_SCHEDULES','PRODUCT_USER_PROFILE','SQLPLUS_PRODUCT_PROFILE','PRODUCT_PRIVS','HELP','HELP_TOPIC_SEQ')
and object_name||object_type in (select object_name||object_type from dba_objects where owner = 'SYS')
and owner = 'SYSTEM';
column:'DROP'||OBJECT_TYPE||'SYSTEM.'||OBJECT_NAME||';'-------column heading
DROP PACKAGE SYSTEM.WPG_DOCLOAD;
DROP PACKAGE BODY SYSTEM.WPG_DOCLOAD;
SQL> @/oradata/prod/app/oracle/product/11.2.0/cfgtoollogs/PROD/preupgrade/preupgrade_fixups.sql
Executing Oracle PRE-Upgrade Fixup Script
Auto-Generated by: Oracle Preupgrade Script
Version: 19.0.0.0.0 Build: 13
Generated on: 2025-12-02 13:07:42
For Source Database: PROD
Source Database Version: 11.2.0.4.0
For Upgrade to Version: 19.0.0.0.0
Preup Preupgrade
Action Issue Is
Number Preupgrade Check Name Remedied Further DBA Action
------ ------------------------ ---------- --------------------------------
1. invalid_sys_tabledata YES None.
2. purge_recyclebin YES None.
3. parameter_min_val YES None.
4. parameter_obsolete YES None.
5. em_present YES None.
6. invalid_objects_exist NO Manual fixup recommended.
7. amd_exists YES None.
8. default_resource_limit YES None.
9. duplic_sys_system_objs NO Manual fixup recommended.
10. network_acl_priv NO Manual fixup recommended.
11. exclusive_mode_auth NO Manual fixup recommended.
12. apex_manual_upgrade YES None.
13. case_insensitive_auth YES None.
14. mv_refresh NO Manual fixup recommended.
15. hidden_params YES None.
16. underscore_events NO Informational only.
Further action is optional.
17. dictionary_stats YES None.
18. trgowner_no_admndbtrg YES None.
19. component_info NO Informational only.
Further action is optional.
20. parameter_deprecated YES None.
21. min_archive_dest_size NO Informational only.
Further action is optional.
22. rman_recovery_version NO Informational only.
Further action is optional.
23. invalid_all_obj_info NO Informational only.
Further action is optional.
The fixup scripts have been run and resolved what they can. However,
there are still issues originally identified by the preupgrade that
have not been remedied and are still present in the database.
Depending on the severity of the specific issue, and the nature of
the issue itself, that could mean that your database is not ready
for upgrade. To resolve the outstanding issues, start by reviewing
the preupgrade_fixups.sql and searching it for the name of
the failed CHECK NAME or Preupgrade Action Number listed above.
There you will find the original corresponding diagnostic message
from the preupgrade which explains in more detail what still needs
to be done.
PL/SQL procedure successfully completed.
There would fixups which needs to be done manually.
Drop Duplicate SYS and SYSTEM Objects
set pause off
set heading off
set pagesize 0
set feedback off
set verify off
spool dropsys.sql
select 'DROP ' || object_type || ' SYSTEM.' || object_name || ';'
from dba_objects
where object_name not in ('AQ$_SCHEDULES_PRIMARY','DBMS_REPCAT_AUTH','AQ$_SCHEDULES','PRODUCT_USER_PROFILE','SQLPLUS_PRODUCT_PROFILE','PRODUCT_PRIVS','HELP','HELP_TOPIC_SEQ')
and object_name||object_type in (select object_name||object_type from dba_objects where owner = 'SYS')
and owner = 'SYSTEM';
SQL> EXECUTE DBMS_PREUP.INVALID_OBJECTS;
SYS/SYSTEM INVALID OBJECTS
OWNER |OBJECT_NAME |OBJECT_TYPE
--------------------------------------------------------------------------------------------------------------------------------
SYS CONNECTIONINTERFACE PACKAGE BODY
SYS CURSORMANAGERINTERFACE PACKAGE BODY
SYS DATABASEINTERFACE PACKAGE BODY
SYS DATAPROVIDERINTERFACE PACKAGE BODY
SYS DEFINITIONMANAGERINTERFACE PACKAGE BODY
SYS GENCONNECTIONPARAMETERINFOSEQU TYPE
SYS GENCONNECTIONPARAMETERINFOSTRU TYPE
SYS GENCONNECTIONSTRUCT TYPE
SYS GENCONSTANTLISTDEFINITIONSTRUC TYPE
SYS GENCONSTANTLISTVALUESUNION TYPE
SYS GENCURSORBLOCK2SEQUENCE TYPE
SYS GENCURSORBLOCK2STRUCT TYPE
SYS GENCURSORBLOCKSEQUENCE TYPE
SYS GENCURSORBLOCKSTRUCT TYPE
SYS GENCURSORMANAGERSEQUENCE TYPE
SYS GENCURSORVALUES2UNION TYPE
SYS GENCURSORVALUESUNION TYPE
SYS GENDATA2SEQUENCEUNION TYPE
SYS GENDATABLOCK2SEQUENCE TYPE
SYS GENDATABLOCK2STRUCT TYPE
SYS GENDATABLOCKSEQUENCE TYPE
SYS GENDATABLOCKSTRUCT TYPE
SYS GENDATASEQUENCEUNION TYPE
SYS GENDEFINITIONPOST92SEQUENCE TYPE
SYS GENDEFINITIONPOST92UNION TYPE
SYS GENDEFINITIONSEQUENCE TYPE
SYS GENDEFINITIONUNION TYPE
SYS GENEXPRESSEXCEPTION TYPE
SYS GENINTERRUPTABLEINTERFACE PACKAGE
SYS GENINTERRUPTABLEINTERFACE PACKAGE BODY
SYS GENINVALIDINDEXSPECIFICATIONEX TYPE
SYS GENINVALIDMETADATAEXCEPTION TYPE
SYS GENMETADATAPROPERTYBAGSEQUENCE TYPE
SYS GENMETADATAPROPERTYBAGUNION TYPE
SYS GENMETADATAPROPERTYSEQUENCE TYPE
SYS GENMETADATAPROPERTYSTRUCT TYPE
SYS GENMETADATAPROPERTYVALUESUNION TYPE
SYS GENPARENTSTARTENDBLOCK2SEQUENC TYPE
SYS GENPARENTSTARTENDBLOCK2UNION TYPE
SYS GENPARENTSTARTENDBLOCKSEQUENCE TYPE
SYS GENPARENTSTARTENDBLOCKUNION TYPE
SYS GENREMOTEAPIVERSIONMISMATCHEXC TYPE
SYS GENREMOTEAUTHENTICATIONEXCEPTI TYPE
SYS GENREMOTEOBJECTCLOSEDEXCEPTION TYPE
SYS GENREMOTESPECIFICATIONUPDATENE TYPE
SYS GENREMOTETASKINTERRUPTEDEXCEPT TYPE
SYS GENUNMATCHEDINPUTSEXCEPTION TYPE
SYS INTERRUPTABLEINTERFACE PACKAGE BODY
SYS METADATAPROVIDERINTERFACE PACKAGE BODY
SYS OLAPIBOOTSTRAP FUNCTION
SYS OLAPIHANDSHAKE FUNCTION
SYS SERVERINTERFACE PACKAGE BODY
NON SYS/SYSTEM INVALID OBJECTS
OWNER |OBJECT_NAME |OBJECT_TYPE
--------------------------------------------------------------------------------------------------------------------------------
APPS BOM_RTG_COPYORG_IMP PACKAGE BODY
APPS BOM_RTG_ISETUP_IMP PACKAGE BODY
APPS CN_RULES_COPY_PASTE PACKAGE BODY
APPS ENGECOBO PACKAGE BODY
APPS ENG_CHANGES_V VIEW
APPS FTP_BR_PREPAYMENT_PVT PACKAGE BODY
APPS FTP_BR_PREPAY_TABLE_PVT PACKAGE BODY
APPS IGW_REPORT_PROCESSING PACKAGE BODY
APPS ITG_SYNCSUPPLIERINBOUND_PVT PACKAGE BODY
APPS XXN_SCONNECT_B_PKG PACKAGE BODY
APPS QPR_CREATE_AW PACKAGE BODY
APPS QPR_MAINTAIN_AW PACKAGE BODY
APPS RW_NIC_SERV_USER_BILL_PROC_V1 PROCEDURE
APPS XLA_00200_AAD_S_000012_PKG PACKAGE BODY
APPS XLA_00707_AAD_S_000007_PKG PACKAGE BODY
APPS XXN_AP_PENALTY_PKG_NEW PACKAGE BODY
APPS XXN_PRE_REQ_APPR_PKG PACKAGE BODY
APPS XXN_PROJ_EXEC_DETAILS_PRC1 PROCEDURE
APPS XXN_PROJ_EXEC_DETAILS_PRC2 PROCEDURE
APPS XXN_PROJ_EXEC_DETAILS_PRC3 PROCEDURE
APPS XXN_PROJ_EXEC_DETAILS_PRC4 PROCEDURE
APPS XXN_PROJ_EXEC_DETAILS_PRC6 PROCEDURE
APPS XXN_PROJ_EXEC_DETAILS_PRC8 PROCEDURE
APPS XXN_SEND_BILLDESK_PKG PACKAGE BODY
APPS XXN_TENDOR_DATE_CP_PRC3 PROCEDURE
APPS XXN_XML_ANS_WD_AMD_PKG PACKAGE BODY
APPS XXN_CUSTOMER_CONVERSION_PKG PACKAGE BODY
APPS XXN_SP_COPYPI_DC_INT PROCEDURE
APPS XXN_DEPUTATION_SIT_PKG PACKAGE BODY
APPS XXN_EXECUTED_POF FUNCTION
APPS XXN_MANUAL_USER_BILLING PACKAGE BODY
APPS XXN_NEW_NON_EXECUTED_POF FUNCTION
APPS XXN_NON_EXECUTED_COMMON_POF FUNCTION
APPS XXN_PRJ_OM_EMAIL TRIGGER
APPS XXN_PROJ_USER_BILLING PACKAGE BODY
APPS ZPB_BUILD_METADATA PACKAGE BODY
PUBLIC GENCONNECTIONPARAMETERINFOSEQU SYNONYM
PUBLIC GENCONNECTIONPARAMETERINFOSTRU SYNONYM
PUBLIC GENCONNECTIONSTRUCT SYNONYM
PUBLIC GENCONSTANTLISTDEFINITIONSTRUC SYNONYM
PUBLIC GENCONSTANTLISTVALUESUNION SYNONYM
PUBLIC GENCURSORBLOCK2SEQUENCE SYNONYM
PUBLIC GENCURSORBLOCK2STRUCT SYNONYM
PUBLIC GENCURSORBLOCKSEQUENCE SYNONYM
PUBLIC GENCURSORBLOCKSTRUCT SYNONYM
PUBLIC GENCURSORMANAGERSEQUENCE SYNONYM
PUBLIC GENCURSORVALUES2UNION SYNONYM
PUBLIC GENCURSORVALUESUNION SYNONYM
PUBLIC GENDATA2SEQUENCEUNION SYNONYM
PUBLIC GENDATABLOCK2SEQUENCE SYNONYM
PUBLIC GENDATABLOCK2STRUCT SYNONYM
PUBLIC GENDATABLOCKSEQUENCE SYNONYM
PUBLIC GENDATABLOCKSTRUCT SYNONYM
PUBLIC GENDATASEQUENCEUNION SYNONYM
PUBLIC GENDEFINITIONPOST92SEQUENCE SYNONYM
PUBLIC GENDEFINITIONPOST92UNION SYNONYM
PUBLIC GENDEFINITIONSEQUENCE SYNONYM
PUBLIC GENDEFINITIONUNION SYNONYM
PUBLIC GENEXPRESSEXCEPTION SYNONYM
PUBLIC GENINTERRUPTABLEINTERFACE SYNONYM
PUBLIC GENINVALIDINDEXSPECIFICATIONEX SYNONYM
PUBLIC GENINVALIDMETADATAEXCEPTION SYNONYM
PUBLIC GENMETADATAPROPERTYBAGSEQUENCE SYNONYM
PUBLIC GENMETADATAPROPERTYBAGUNION SYNONYM
PUBLIC GENMETADATAPROPERTYSEQUENCE SYNONYM
PUBLIC GENMETADATAPROPERTYSTRUCT SYNONYM
PUBLIC GENMETADATAPROPERTYVALUESUNION SYNONYM
PUBLIC GENPARENTSTARTENDBLOCK2SEQUENC SYNONYM
PUBLIC GENPARENTSTARTENDBLOCK2UNION SYNONYM
PUBLIC GENPARENTSTARTENDBLOCKSEQUENCE SYNONYM
PUBLIC GENPARENTSTARTENDBLOCKUNION SYNONYM
PUBLIC GENREMOTEAPIVERSIONMISMATCHEXC SYNONYM
PUBLIC GENREMOTEAUTHENTICATIONEXCEPTI SYNONYM
PUBLIC GENREMOTEOBJECTCLOSEDEXCEPTION SYNONYM
PUBLIC GENREMOTESPECIFICATIONUPDATENE SYNONYM
PUBLIC GENREMOTETASKINTERRUPTEDEXCEPT SYNONYM
PUBLIC GENUNMATCHEDINPUTSEXCEPTION SYNONYM
PUBLIC OLAPIBOOTSTRAP SYNONYM
PUBLIC OLAPIHANDSHAKE SYNONYM
PL/SQL procedure successfully completed.
Validate entry in /etc/oratab
Entry in etc/oratab file
PROD:/oradata/prod/app/oracle/product/11.2.0:N
PROD:/oradata/prod/app/oracle/product/19.3.0:N
PRODCDB:/oradata/prod/app/oracle/product/19.3.0:N
All required fixups have done.
Step 27: From 19c Home Launch the Database upgrade Assistant.
Remember the 11g NON CDB will be upgraded to 19c NON CDB Database
$. /oradata/prod/app/oracle/product/11.2.0/PROD_proderpdb.env
$lsnrctl status LISTENER_NAME--------If running then stop them
$lsnrctl stop PROD
$. /home/oracle/19cdb.env
$ORACLE_HOME/bin/dbua -keepEvents
Source 19c Environment
$. /home/oracle/19cdb.env
export ORACLE_SID=PROD
Run post upgrade fixes.
[oracle@proderpdb ~]$ . /home/oracle/19cdb.env
[oracle@proderpdb ~]$ echo $ORACLE_HOME
/oradata/prod/app/oracle/product/19.3.0
[oracle@proderpdb ~]$ export ORACLE_SID=PROD
[oracle@proderpdb ~]$ sqlplus / as sysdba
SQL*Plus: Release 19.0.0.0.0 - Production on Tue Dec 16 12:34:50 2025
Version 19.28.0.0.0
Copyright (c) 1982, 2025, Oracle. All rights reserved.
Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.28.0.0.0
SQL> @/oradata/prod/app/oracle/product/11.2.0/cfgtoollogs/PROD/preupgrade/postupgrade_fixups.sql
Session altered.
PL/SQL procedure successfully completed.
PL/SQL procedure successfully completed.
PL/SQL procedure successfully completed.
Package created.
No errors.
Package body created.
PL/SQL procedure successfully completed.
No errors.
Package created.
No errors.
Package body created.
No errors.
Executing Oracle POST-Upgrade Fixup Script
Auto-Generated by: Oracle Preupgrade Script
Version: 19.0.0.0.0 Build: 13
Generated on: 2025-12-15 15:14:57
For Source Database: PROD
Source Database Version: 11.2.0.4.0
For Upgrade to Version: 19.0.0.0.0
Preup Preupgrade
Action Issue Is
Number Preupgrade Check Name Remedied Further DBA Action
------ ------------------------ ---------- --------------------------------
13. depend_usr_tables YES None.
14. old_time_zones_exist YES None.
15. dir_symlinks NO Manual fixup recommended.
16. post_dictionary YES None.
17. post_fixed_objects NO Informational only.
Further action is optional.
The fixup scripts have been run and resolved what they can. However,
there are still issues originally identified by the preupgrade that
have not been remedied and are still present in the database.
Depending on the severity of the specific issue, and the nature of
the issue itself, that could mean that your database upgrade is not
fully complete. To resolve the outstanding issues, start by reviewing
the postupgrade_fixups.sql and searching it for the name of
the failed CHECK NAME or Preupgrade Action Number listed above.
There you will find the original corresponding diagnostic message
from the preupgrade which explains in more detail what still needs
to be done.
PL/SQL procedure successfully completed.
Session altered.
SQL>
SQL> @/oradata/prod/app/oracle/product/11.2.0/cfgtoollogs/PROD/preupgrade/postupgrade_fixups.sql
Session altered.
PL/SQL procedure successfully completed.
PL/SQL procedure successfully completed.
PL/SQL procedure successfully completed.
Package created.
No errors.
Package body created.
PL/SQL procedure successfully completed.
No errors.
Package created.
No errors.
Package body created.
No errors.
WARNING - This script was generated for database PROD.
Executing Oracle POST-Upgrade Fixup Script
Auto-Generated by: Oracle Preupgrade Script
Version: 19.0.0.0.0 Build: 13
Generated on: 2025-12-04 12:45:35
For Source Database: PROD
Source Database Version: 11.2.0.4.0
For Upgrade to Version: 19.0.0.0.0
Preup Preupgrade
Action Issue Is
Number Preupgrade Check Name Remedied Further DBA Action
------ ------------------------ ---------- --------------------------------
13. depend_usr_tables YES None.
14. old_time_zones_exist YES None.
15. dir_symlinks NO Manual fixup recommended.
16. post_dictionary YES None.
17. post_fixed_objects NO Informational only.
Further action is optional.
The fixup scripts have been run and resolved what they can. However,
there are still issues originally identified by the preupgrade that
have not been remedied and are still present in the database.
Depending on the severity of the specific issue, and the nature of
the issue itself, that could mean that your database upgrade is not
fully complete. To resolve the outstanding issues, start by reviewing
the postupgrade_fixups.sql and searching it for the name of
the failed CHECK NAME or Preupgrade Action Number listed above.
There you will find the original corresponding diagnostic message
from the preupgrade which explains in more detail what still needs
to be done.
PL/SQL procedure successfully completed.
Session altered.
SQL>
Update the parameters in 19c NON CDB database which we upgraded.
$. /home/oracle/19cdb.env
[oracle@proderpdb ~]$ echo $ORACLE_HOME
/oradata/prod/app/oracle/product/19.3.0
[oracle@proderpdb ~]$ export ORACLE_SID=PROD
[oracle@proderpdb ~]$ sqlplus '/as sysdba'
SQL*Plus: Release 19.0.0.0.0 - Production on Wed Dec 10 14:09:09 2025
Version 19.28.0.0.0
Copyright (c) 1982, 2025, Oracle. All rights reserved.
Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.28.0.0.0
SQL> alter system set SEC_CASE_SENSITIVE_LOGON=false;
System altered.
SQL> alter system set compatible='19.0.0' scope=spfile;
System altered.
Restart DB
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance
ORACLE instance started.
Total System Global Area 2147482312 bytes
Fixed Size 9181896 bytes
Variable Size 536870912 bytes
Database Buffers 1593835520 bytes
Redo Buffers 7593984 bytes
Database mounted.
Database opened.
SQL> show parameter compatible
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
compatible string 19.0.0
noncdb_compatible boolean FALSE
SQL>
Run DataPatch
$. /home/oracle/19cdb.env
[oracle@proderpdb ~]$ export ORACLE_SID=PROD
[oracle@proderpdb ~]$ $ORACLE_HOME/OPatch/datapatch
SQL Patching tool version 19.28.0.0.0 Production on Wed Dec 10 14:11:05 2025
Copyright (c) 2012, 2025, Oracle. All rights reserved.
Log file for this invocation: /oradata/prod/app/oracle/cfgtoollogs/sqlpatch/sqlpatch_110246_2025_12_10_14_11_05/sqlpatch_invocation.log
Connecting to database...OK
Gathering database info...done
Note: Datapatch will only apply or rollback SQL fixes for PDBs
that are in an open state, no patches will be applied to closed PDBs.
Please refer to Note: Datapatch: Database 12c Post Patch SQL Automation
(Doc ID 1585822.1)
Bootstrapping registry and package to current versions...done
Determining current state...done
Current state of interim SQL patches:
Interim patch 37847857 (OJVM RELEASE UPDATE: 19.28.0.0.250715 (37847857)):
Binary registry: Installed
PDB CDB$ROOT: Applied successfully on 01-DEC-25 05.25.20.168045 PM
PDB PDB$SEED: Applied successfully on 01-DEC-25 05.51.31.074554 PM
Current state of release update SQL patches:
Binary registry:
19.28.0.0.0 Release_Update 250705030417: Installed
PDB CDB$ROOT:
Applied 19.28.0.0.0 Release_Update 250705030417 successfully on 01-DEC-25 05.44.50.138309 PM
PDB PDB$SEED:
Applied 19.28.0.0.0 Release_Update 250705030417 successfully on 01-DEC-25 06.03.55.392338 PM
Adding patches to installation queue and performing prereq checks...done
Installation queue:
For the following PDBs: CDB$ROOT PDB$SEED
No interim patches need to be rolled back
No release update patches need to be installed
No interim patches need to be applied
SQL Patching tool complete on Wed Dec 10 14:11:45 2025
[oracle@proderpdb ~]$
Step 28: Run ADGRANTS.sql
Copy $APPL_TOP/admin/adgrants.sql from the apps server node to the database server node. Use SQL*Plus to connect to the database as SYSDBA and run
the script using the following command:
$. /home/oracle/19cdb.env
[oracle@proderpdb ~]$ export $ORACLE_SID=PROD
[oracle@proderpdb ~]$sqlplus "/ as sysdba" @/oradata/prod/app/oracle/product/19.3.0/appsutil/admin/adgrants.sql APPS
OR
@adgrants.sql APPS
Step 29: Grant create procedure privilege on CTXSYS
Copy $AD_TOP/patch/115/sql/adctxprv.sql from the apps server node to the database server node.
Use SQL*Plus to connect to the database as apps and run the script using the following command:
$. /home/oracle/19cdb.env
$ export ORACLE_SID=PROD
[oracle@proderpdb ~]$cp $AD_TOP/patch/115/sql/adctxprv.sql oracle@IP:/home/oracle
[oracle@proderpdb ~]$sqlplus apps/<apps password> @adctxprv.sql <SYSTEM password> CTXSYS
[oracle@proderpdb ~]$ sqlplus apps/appsvis @adctxprv.sql manager CTXSYS
SQL*Plus: Release 19.0.0.0.0 - Production on Tue Dec 16 16:26:24 2025
Version 19.28.0.0.0
Copyright (c) 1982, 2025, Oracle. All rights reserved.
Last Successful login time: Tue Dec 16 2025 16:09:10 +05:30
Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.28.0.0.0
Connecting to SYSTEM
Connected.
PL/SQL procedure successfully completed.
Commit complete.
Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.28.0.0.0
[oracle@proderpdb ~]$
Step 30: Compile invalid objects
Use SQL*Plus to connect to the database as SYSDBA and run the $ORACLE_HOME/rdbms/admin/utlrp.sql script to compile invalid objects.
$. /home/oracle/19cdb.env
$ export ORACLE_SID=PROD
$sqlplus "/ as sysdba" @$ORACLE_HOME/rdbms/admin/utlrp.sql
SQL> Select count(*) from dba_objects where status='INVALID';
COUNT(*)
----------
57
Step 31: Grant datastore access
Use SQL*Plus to connect to the database as SYSDBA and run the following command:
$. /home/oracle/19cdb.env
$export ORACLE_SID=PROD
[oracle@proderpdb ~]$ sqlplus / as sysdba
SQL*Plus: Release 19.0.0.0.0 - Production on Tue Dec 16 16:35:42 2025
Version 19.28.0.0.0
Copyright (c) 1982, 2025, Oracle. All rights reserved.
Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.28.0.0.0
SQL> grant text datastore access to public;
Grant succeeded.
SQL>
Step 32: Validate Workflow ruleset
Copy $FND_TOP/patch/115/sql/wfaqupfix.sql from the apps server node to the database server node.
Use SQL*Plus to connect to the database as apps and run the script using the following command:
[oracle@proderpdb ~]$ . /home/oracle/19cdb.env
[oracle@proderpdb ~]$ export ORACLE_SID=PROD
[oracle@proderpdb ~]$ sqlplus apps/appsvis @wfaqupfix.sql applsys apps
SQL*Plus: Release 19.0.0.0.0 - Production on Tue Dec 16 16:47:05 2025
Version 19.28.0.0.0
Copyright (c) 1982, 2025, Oracle. All rights reserved.
Last Successful login time: Tue Dec 16 2025 16:26:24 +05:30
Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.28.0.0.0
PL/SQL procedure successfully completed.
Commit complete.
Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.28.0.0.0
[oracle@proderpdb ~]$
Step 33: Gather statistics for SYS schema
Copy $APPL_TOP/admin/adstats.sql from the apps server node to the database server node. Note that adstats.sql has to be run in restricted mode.
Use SQL*Plus to connect to the database as SYSDBA and use the following commands to run adstats.sql in restricted mode:
$. /home/oracle/19cdb.env
$export ORACLE_SID=PROD
$ sqlplus "/ as sysdba"
SQL> alter system enable restricted session;
SQL> @adstats.sql
Connected.
--------------------------------------------------
--- adstats.sql started at 2025-12-16 16:58:53 ---
Checking for the DB version and collecting statistics ...
PL/SQL procedure successfully completed.
------------------------------------------------
--- adstats.sql ended at 2025-12-16 17:43:14 ---
Commit complete.
Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.28.0.0.0
[oracle@proderpdb ~]$sqlplus "/ as sysdba"
SQL> alter system disable restricted session;
SQL> exit;
Step 34: Create the new MGDSYS schema (Optional)
If you upgraded from an RDBMS version prior to Oracle 12c, use SQL*Plus to connect to the database as SYSDBA and run the $ORACLE_HOME/rdbms/admin/catmgd.sql script.
This creates the new MGDSYS schema.
$. /home/oracle/19cdb.env
$export ORACLE_SID=PROD
[oracle@proderpdb ~]$ . /home/oracle/19cdb.env
[oracle@proderpdb ~]$ export ORACLE_SID=PROD
[oracle@proderpdb ~]$ sqlplus "/ as sysdba" @?/rdbms/admin/catmgd.sql
SQL*Plus: Release 19.0.0.0.0 - Production on Tue Dec 16 17:48:10 2025
Version 19.28.0.0.0
Copyright (c) 1982, 2025, Oracle. All rights reserved.
Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.28.0.0.0
Session altered.
Session altered.
.. Creating MGDSYS schema with no authentication
declare
*
ERROR at line 1:
ORA-01920: user name 'MGDSYS' conflicts with another user or role name
ORA-06512: at line 5
.. Altering MGDSYS schema with no authentication
User altered.
.. lock the user and expire the password
alter user MGDSYS ACCOUNT LOCK PASSWORD EXPIRE
*
ERROR at line 1:
ORA-28010: cannot expire external users, global users, or users with no
authentication method
.. Granting permissions to MGDSYS
Grant succeeded.
Grant succeeded.
Call completed.
Call completed.
Call completed.
call dbms_java.grant_permission( 'MGDSYS', 'SYS:javax.management.MBeanServerPermission', 'createMBeanServer', '' )
*
ERROR at line 1:
ORA-29532: Java call terminated by uncaught Java exception:
java.lang.SecurityException: policy table update
SYS:javax.management.MBeanServerPermission, createMBeanServer
call dbms_java.grant_permission( 'MGDSYS', 'SYS:javax.management.MBeanPermission', 'oracle.jdbc.driver.OracleLog#-[com.oracle.jdbc:type=diagnosability]', 'registerMBean' )
*
ERROR at line 1:
ORA-29532: Java call terminated by uncaught Java exception:
java.lang.SecurityException: policy table update
SYS:javax.management.MBeanPermission,
oracle.jdbc.driver.OracleLog#-[com.oracle.jdbc:type=diagnosability]
Session altered.
Session altered.
Call completed.
.. Load java components for tag translation
Session altered.
Call completed.
Session altered.
.. Check whether java has been loaded successfully
OWNER
--------------------------------------------------------------------------------
OBJECT_NAME
--------------------------------------------------------------------------------
STATUS
-------
PUBLIC
oracle/mgd/idcode/IDCodeTranslator
VALID
MGDSYS
oracle/mgd/idcode/IDCodeTranslator
VALID
OWNER
--------------------------------------------------------------------------------
OBJECT_NAME
--------------------------------------------------------------------------------
STATUS
-------
.. Creating Oracle IDCode Types
Session altered.
Type created.
No errors.
Type created.
No errors.
.. the MGD_ID type object
Type created.
No errors.
Type created.
No errors.
Type created.
No errors.
Session altered.
.. Creating Oracle IDCode Dictionary Tables
Session altered.
.. Creating mgd_id_xml_validator table
Table created.
Comment created.
Comment created.
.. Creating the mgd_id_category_tab table
Table created.
Comment created.
Comment created.
Comment created.
Comment created.
Comment created.
Comment created.
Comment created.
.. Creating mgd_id_scheme_tab table
Table created.
Comment created.
Comment created.
Comment created.
Comment created.
Comment created.
Comment created.
Comment created.
.. Creating mgd_id_lookup_table table
Table created.
Comment created.
Comment created.
Comment created.
Comment created.
Sequence created.
Session altered.
.. Creating Oracle IDCode views
Session altered.
.. Creating the mgd_id_category views
View created.
Comment created.
Comment created.
Comment created.
Comment created.
Comment created.
Comment created.
View created.
Comment created.
Comment created.
Comment created.
Comment created.
Comment created.
Comment created.
.. Creating the mgd_id_scheme views
View created.
Comment created.
Comment created.
Comment created.
Comment created.
Comment created.
Comment created.
View created.
Comment created.
Comment created.
Comment created.
Comment created.
Comment created.
Comment created.
Session altered.
.. Creating Oracle IDCode Utility Package Specification in MGDSYS
Session altered.
Package created.
No errors.
Package created.
Session altered.
.. Creating Oracle IDCode Internal Utility Package Specification in MGDSYS
Session altered.
Package created.
No errors.
Package created.
Session altered.
.. Creating Oracle IDCode Type Body in MGDSYS
Session altered.
Type body created.
No errors.
Type body created.
Session altered.
.. Creating Oracle IDCode Utility Package Body in MGDSYS
Session altered.
Package body created.
No errors.
Package body created.
Session altered.
.. Creating Oracle IDCode Internal Utility Package Body in MGDSYS
Session altered.
Package body created.
No errors.
Package body created.
Session altered.
.. Creating Oracle IDCode triggers
Session altered.
.. Creating the user_mgd_id_scheme_ins_trig trigger for inserting into user_mgd_id_category view
Trigger created.
No errors.
.. Creating the user_mgd_id_category_del_trig trigger for deleting from user_mgd_id_category view
Trigger created.
No errors.
.. Creating the user_mgd_id_category_upd_trig trigger for updating user_mgd_id_category view
Trigger created.
No errors.
.. Creating the idcode_scheme_before_ins_trig trigger which validates each TDT before insertion and sets the type_name and encoding fields appropriately
Trigger created.
No errors.
.. Creating the idcode_scheme_before_upd_trig trigger which validates the new scheme after update and refreshes the category to which it belongs
Trigger created.
No errors.
.. Creating the user_mgd_id_scheme_ins_trig trigger for inserting into user_mgd_id_scheme view
Trigger created.
No errors.
.. Creating the user_mgd_id_scheme_del_trig trigger for deleting from user_mgd_id_scheme view
Trigger created.
No errors.
.. Creating the user_mgd_id_scheme_upd_trig trigger for updating user_mgd_id_scheme view
Trigger created.
No errors.
.. Creating the mgd_id_lookup_table_ins_trig trigger for inserting into mgd_id_lookup_table
Trigger created.
No errors.
.. Creating the mgd_id_lookup_table_upd_trig trigger for updating mgd_id_lookup_table
Trigger created.
No errors.
Session altered.
.. Creating Public Synonyms
Session altered.
.. Creating Oracle IDCode Privileges for Types and Packages
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
.. Creating Oracle IDCode Public Synonymns
Synonym created.
Synonym created.
Synonym created.
Synonym created.
Synonym created.
Synonym created.
Synonym created.
Synonym created.
Synonym created.
Synonym created.
Procedure created.
No errors.
Procedure created.
Session altered.
.. Load metadata
Session altered.
PL/SQL procedure successfully completed.
No errors.
PL/SQL procedure successfully completed.
No errors.
PL/SQL procedure successfully completed.
No errors.
Make sure these values look OK:
Call completed.
XML_VALIDATOR_CHAR_LENGTH
-------------------------
5780
URL
----------------------------------------------------------------
DBMS_LOB.GETLENGTH(CONTENT) L
--------------------------- -
http://www.onsepc.com/managertranslation.xml
9732 Y
CATEGORY_N CATEGORY_ID
---------- -----------
EPC 1
CATEGORY_ID TYPE_NAME ENCODINGS XML_TDTS_CHAR_LENGTH
----------- ---------- ---------------------- --------------------
1 GIAI-64 LEGACY,BINARY,PURE_IDE 14995
NTITY,TAG_ENCODING
1 GIAI-96 LEGACY,BINARY,PURE_IDE 14486
NTITY,TAG_ENCODING
1 GID-96 LEGACY,BINARY,PURE_IDE 2686
NTITY,TAG_ENCODING
1 GRAI-64 LEGACY,BINARY,PURE_IDE 18019
NTITY,TAG_ENCODING
CATEGORY_ID TYPE_NAME ENCODINGS XML_TDTS_CHAR_LENGTH
----------- ---------- ---------------------- --------------------
1 GRAI-96 LEGACY,BINARY,PURE_IDE 17590
NTITY,TAG_ENCODING
1 SGLN-64 LEGACY,BINARY,PURE_IDE 19454
NTITY,TAG_ENCODING
1 SGLN-96 LEGACY,BINARY,PURE_IDE 18995
NTITY,TAG_ENCODING
1 SGTIN-64 ONS_HOSTNAME,LEGACY,BI 22884
CATEGORY_ID TYPE_NAME ENCODINGS XML_TDTS_CHAR_LENGTH
----------- ---------- ---------------------- --------------------
NARY,PURE_IDENTITY,TAG
_ENCODING
1 SGTIN-96 ONS_HOSTNAME,LEGACY,BI 22531
NARY,PURE_IDENTITY,TAG
_ENCODING
1 SSCC-64 LEGACY,BINARY,PURE_IDE 16644
NTITY,TAG_ENCODING
1 SSCC-96 LEGACY,BINARY,PURE_IDE 16450
CATEGORY_ID TYPE_NAME ENCODINGS XML_TDTS_CHAR_LENGTH
----------- ---------- ---------------------- --------------------
NTITY,TAG_ENCODING
1 USDOD-64 LEGACY,BINARY,PURE_IDE 2273
NTITY,TAG_ENCODING
1 USDOD-96 LEGACY,BINARY,PURE_IDE 2293
NTITY,TAG_ENCODING
13 rows selected.
Session altered.
Session altered.
.. Revoking SYS privileges from MGDSYS
Revoke succeeded.
.. Validate MGD installation
MGD is valid
PL/SQL procedure successfully completed.
Session altered.
SQL> exit
Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.28.0.0.0
[oracle@proderpdb ~]$
Step 35: Convert database to Multitenant
Create the PDB descriptor
Perform the following commands to create the PDB descriptor file in the $ORACLE_HOME/dbs directory.
[oracle@proderpdb ~]$ . /home/oracle/19cdb.env
[oracle@proderpdb ~]$ echo $ORACLE_HOME
/oradata/prod/app/oracle/product/19.3.0
[oracle@proderpdb ~]$ cd $ORACLE_HOME/appsutil
[oracle@proderpdb appsutil]$ . ./txkSetCfgCDB.env dboraclehome=/oradata/prod/app/oracle/product/19.3.0
Oracle Home being passed: /oradata/prod/app/oracle/product/19.3.0
[oracle@proderpdb appsutil]$ export ORACLE_SID=PROD
[oracle@proderpdb appsutil]$ cd $ORACLE_HOME/appsutil/bin
[oracle@proderpdb bin]$ perl txkOnPremPrePDBCreationTasks.pl -dboraclehome=/oradata/prod/app/oracle/product/19.3.0 \
-outdir=/oradata/prod/app/oracle/product/19.3.0/appsutil/log -appsuser=apps -dbsid=PROD
Enter the APPS Password:
*** ALL THE FOLLOWING FILES ARE REQUIRED FOR RESOLVING RUNTIME ERRORS
*** Log File = /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_PRE_PDB_Tue_Dec_16_18_03_03_2025/txkOnPremPrePDBCreationTasks.log
Program : started @ Tue Dec 16 18:03:08 2025
*** Log File = /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_PRE_PDB_Tue_Dec_16_18_03_03_2025/txkOnPremPrePDBCreationTasks.log
Script Name : txkOnPremPrePDBCreationTasks.pl
Script Version : 120.0.12010000.11
Started : Tue Dec 16 18:03:08 IST 2025
Log File : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_PRE_PDB_Tue_Dec_16_18_03_03_2025/txkOnPremPrePDBCreationTasks.log
-----------
Values used
-----------
DB Oracle Home : /oradata/prod/app/oracle/product/19.3.0
OUT Directory : /oradata/prod/app/oracle/product/19.3.0/appsutil/log
Skip DB shutdown : No
EBS SID : PROD
APPS Schema Username : apps
Is RAC? : No
Logical Hostname :
=========================
Validating oracle home...
=========================
Oracle Home: /oradata/prod/app/oracle/product/19.3.0 exists.
===========================
Validating out directory...
===========================
Out directory: /oradata/prod/app/oracle/product/19.3.0/appsutil/log exists.
============================
Inside getDBHostDetails()...
============================
DB Hostname : proderpdb
DB Domain : nicsi.in
Logical hostname is not passed, hence using physical hostname details.
Logical hostname: proderpdb.nicsi.in
==========================
Inside setContextName()...
==========================
CONTEXT_NAME: PROD_proderpdb
============================
Inside setFileLocations()...
============================
=====================
Inside getDBName()...
=====================
Generating SQL file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_PRE_PDB_Tue_Dec_16_18_03_03_2025/get_db_name.sql
SQL output file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_PRE_PDB_Tue_Dec_16_18_03_03_2025/get_db_name.out
Spool File : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_PRE_PDB_Tue_Dec_16_18_03_03_2025/spool_get_db_name.log
==========================
Inside executeSQLFile()...
==========================
Executing the SQL...
Execute SYSTEM command : sqlplus /nolog @/oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_PRE_PDB_Tue_Dec_16_18_03_03_2025/get_db_name.sql
==============================
Inside searchFileContents()...
==============================
log_file: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_PRE_PDB_Tue_Dec_16_18_03_03_2025/get_db_name.out
pattern: ERROR
=============================
Could not find the pattern...
=============================
Removing the file: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_PRE_PDB_Tue_Dec_16_18_03_03_2025/get_db_name.sql
EXIT STATUS: 0
Getting the value of DB Name...
db_name: PROD
PDB_DESC_XML: /oradata/prod/app/oracle/product/19.3.0/dbs/PROD_PDBDesc.xml
INITPARAM_FILE: /oradata/prod/app/oracle/product/19.3.0/dbs/PROD_initparam.sql
DATATOP_FILE: /oradata/prod/app/oracle/product/19.3.0/dbs/PROD_datatop.txt
========================
Inside getDBVersion()...
========================
DB_VERSION = db190
=============================
Shutting down the database...
=============================
Shutdown mode : IMMEDIATE
Generating SQL file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_PRE_PDB_Tue_Dec_16_18_03_03_2025/shutdown_IMMEDIATE.sql
SQL output file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_PRE_PDB_Tue_Dec_16_18_03_03_2025/shutdown_IMMEDIATE.out
==========================
Inside executeSQLFile()...
==========================
Executing the SQL...
Execute SYSTEM command : sqlplus /nolog @/oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_PRE_PDB_Tue_Dec_16_18_03_03_2025/shutdown_IMMEDIATE.sql
==============================
Inside searchFileContents()...
==============================
log_file: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_PRE_PDB_Tue_Dec_16_18_03_03_2025/shutdown_IMMEDIATE.out
pattern: ERROR
=============================
Could not find the pattern...
=============================
EXIT STATUS: 0
SQL execution went through successfully.
LOG FILE: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_PRE_PDB_Tue_Dec_16_18_03_03_2025/shutdown_IMMEDIATE.out.
========================
Starting the database...
========================
Startup mode : MOUNT
Generating SQL file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_PRE_PDB_Tue_Dec_16_18_03_03_2025/startup_MOUNT.sql
SQL output file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_PRE_PDB_Tue_Dec_16_18_03_03_2025/startup_MOUNT.out
==========================
Inside executeSQLFile()...
==========================
Executing the SQL...
Execute SYSTEM command : sqlplus /nolog @/oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_PRE_PDB_Tue_Dec_16_18_03_03_2025/startup_MOUNT.sql
==============================
Inside searchFileContents()...
==============================
log_file: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_PRE_PDB_Tue_Dec_16_18_03_03_2025/startup_MOUNT.out
pattern: ERROR
=============================
Could not find the pattern...
=============================
EXIT STATUS: 0
SQL execution went through successfully.
LOG FILE: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_PRE_PDB_Tue_Dec_16_18_03_03_2025/startup_MOUNT.out.
==================================
Inside createPDBDescriptorXML()...
==================================
==================================
Inside backupPDBDescriptorXML()...
==================================
File /oradata/prod/app/oracle/product/19.3.0/dbs/PROD_PDBDesc.xml does not exist.
File /oradata/prod/app/oracle/product/19.3.0/dbs/PROD_PDBDesc.xml does not exist.
Generating SQL file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_PRE_PDB_Tue_Dec_16_18_03_03_2025/create_pdb_desc_xml.sql
SQL output file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_PRE_PDB_Tue_Dec_16_18_03_03_2025/create_pdb_desc_xml.out
==========================
Inside executeSQLFile()...
==========================
Executing the SQL...
Execute SYSTEM command : sqlplus /nolog @/oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_PRE_PDB_Tue_Dec_16_18_03_03_2025/create_pdb_desc_xml.sql
==============================
Inside searchFileContents()...
==============================
log_file: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_PRE_PDB_Tue_Dec_16_18_03_03_2025/create_pdb_desc_xml.out
pattern: ERROR
=============================
Could not find the pattern...
=============================
EXIT STATUS: 0
PDB Descriptor XML /oradata/prod/app/oracle/product/19.3.0/dbs/PROD_PDBDesc.xml created successfully.
LOG FILE: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_PRE_PDB_Tue_Dec_16_18_03_03_2025/create_pdb_desc_xml.out.
=============================
Shutting down the database...
=============================
Shutdown mode : IMMEDIATE
Generating SQL file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_PRE_PDB_Tue_Dec_16_18_03_03_2025/shutdown_IMMEDIATE.sql
SQL output file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_PRE_PDB_Tue_Dec_16_18_03_03_2025/shutdown_IMMEDIATE.out
==========================
Inside executeSQLFile()...
==========================
Executing the SQL...
Execute SYSTEM command : sqlplus /nolog @/oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_PRE_PDB_Tue_Dec_16_18_03_03_2025/shutdown_IMMEDIATE.sql
==============================
Inside searchFileContents()...
==============================
log_file: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_PRE_PDB_Tue_Dec_16_18_03_03_2025/shutdown_IMMEDIATE.out
pattern: ERROR
=============================
Could not find the pattern...
=============================
EXIT STATUS: 0
SQL execution went through successfully.
LOG FILE: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_PRE_PDB_Tue_Dec_16_18_03_03_2025/shutdown_IMMEDIATE.out.
****************************************************************************************
* *
* IMPORTANT NOTE: DO NOT START THE DB TILL THE DATA FILES ARE MIGRATED *
* *
* IF DB IS STARTED, THEN PDB DESCRIPTOR XML GENERATED BECOMES INVALID *
* *
****************************************************************************************
Exiting from the script.
Ended: Tue Dec 16 18:04:18 IST 2025
[oracle@proderpdb bin]$
Update the 19c CDB initialization parameters
On the database server node, copy the <source SID>_initparam.sql and <source SID>_datatop.txt files from the source $ORACLE_HOME/dbs
directory to the new $ORACLE_HOME/dbs directory. Created in Step 10 earlier. Then use SQL*Plus to connect to the CDB as SYSDBA,
and run the following commands to update the CDB initialization parameters:
$cp PROD_initparam.sql PROD_datatop.txt PROD_utlfiledir.txt $ORACLE_HOME/dbs
$. /home/oracle/19cdb.env
$cd $ORACLE_HOME/appsutil
$. ./txkSetCfgCDB.env dboraclehome=/oradata/prod/app/oracle/product/19.3.0
$export ORACLE_SID=PRODCDB
$sqlplus "/ as sysdba"
SQL> startup nomount;
SQL> @$ORACLE_HOME/dbs/<source SID>_initparam.sql
SQL> @$ORACLE_HOME/dbs/PROD_initparam.sql
SQL> alter system set LOCAL_LISTENER="<hostname>:<cdb port number>" scope=both;
SQL> alter system set LOCAL_LISTENER="proderpdb.nicsi.in:1536" scope=both;
SQL> shutdown;
SQL> startup;
SQL> select name,open_mode from v$database;
[oracle@proderpdb bin]$ . /home/oracle/19cdb.env
[oracle@proderpdb bin]$ cd $ORACLE_HOME/appsutil
[oracle@proderpdb appsutil]$ . ./txkSetCfgCDB.env dboraclehome=/oradata/prod/app/oracle/product/19.3.0
Oracle Home being passed: /oradata/prod/app/oracle/product/19.3.0
[oracle@proderpdb appsutil]$ export ORACLE_SID=PRODCDB
[oracle@proderpdb appsutil]$ sqlplus "/ as sysdba"
SQL*Plus: Release 19.0.0.0.0 - Production on Tue Dec 16 18:21:13 2025
Version 19.28.0.0.0
Copyright (c) 1982, 2025, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup nomount;
ORACLE instance started.
Total System Global Area 2147482312 bytes
Fixed Size 9181896 bytes
Variable Size 536870912 bytes
Database Buffers 1593835520 bytes
Redo Buffers 7593984 bytes
SQL> @$ORACLE_HOME/dbs/PROD_initparam.sql
.
.
.
System altered.
System altered.
SQL> alter system set LOCAL_LISTENER="proderpdb.nicsi.in:1536" scope=both;
System altered.
SQL> shutdown
ORA-01507: database not mounted
ORACLE instance shut down.
SQL> startup
ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance
ORACLE instance started.
Total System Global Area 1.0737E+10 bytes
Fixed Size 13922184 bytes
Variable Size 671088640 bytes
Database Buffers 1.0033E+10 bytes
Redo Buffers 19632128 bytes
Database mounted.
Database opened.
SQL> select name,open_mode from v$database;
NAME OPEN_MODE
--------- --------------------
PRODCDB READ WRITE
SQL>
Check for PDB violations
Use the following commands to run the txkChkPDBCompatability.pl script. This checks the PDB for any violations.
$. /home/oracle/19cdb.env
$cd $ORACLE_HOME/appsutil
$. ./txkSetCfgCDB.env dboraclehome=/oradata/prod/app/oracle/product/19.3.0
$export ORACLE_SID=PRODCDB
$cd $ORACLE_HOME/appsutil/bin
$perl txkChkPDBCompatability.pl -dboraclehome=/oradata/prod/app/oracle/product/19.3.0 \
-outdir=/oradata/prod/app/oracle/product/19.3.0/appsutil/log -cdbsid=PRODCDB \
-pdbsid=PROD -servicetype=onpremise
Fix any issues as reported.
[oracle@proderpdb appsutil]$ . /home/oracle/19cdb.env
[oracle@proderpdb appsutil]$ cd $ORACLE_HOME/appsutil
[oracle@proderpdb appsutil]$ . ./txkSetCfgCDB.env dboraclehome=/oradata/prod/app/oracle/product/19.3.0
Oracle Home being passed: /oradata/prod/app/oracle/product/19.3.0
[oracle@proderpdb appsutil]$ export ORACLE_SID=PRODCDB
[oracle@proderpdb appsutil]$ cd $ORACLE_HOME/appsutil/bin
[oracle@proderpdb bin]$ perl txkChkPDBCompatability.pl -dboraclehome=/oradata/prod/app/oracle/product/19.3.0 \
> -outdir=/oradata/prod/app/oracle/product/19.3.0/appsutil/log -cdbsid=PRODCDB \
> -pdbsid=PROD -servicetype=onpremise
*** ALL THE FOLLOWING FILES ARE REQUIRED FOR RESOLVING RUNTIME ERRORS
*** Log File = /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CHK_PDB_COMPTABILITY_Tue_Dec_16_18_30_35_2025/txkChkPDBCompatability.log
Program : started @ Tue Dec 16 18:30:35 2025
*** Log File = /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CHK_PDB_COMPTABILITY_Tue_Dec_16_18_30_35_2025/txkChkPDBCompatability.log
Script Name : txkChkPDBCompatability.pl
Script Version : 120.0.12010000.5
Started : Tue Dec 16 18:30:35 IST 2025
Log File : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CHK_PDB_COMPTABILITY_Tue_Dec_16_18_30_35_2025/txkChkPDBCompatability.log
-----------
Values used
-----------
Database Oracle Home : /oradata/prod/app/oracle/product/19.3.0
CDB SID : PRODCDB
PDB SID : PROD
OUT Directory : /oradata/prod/app/oracle/product/19.3.0/appsutil/log
Service Type : onpremise
=========================
Validating oracle home...
=========================
Oracle Home: /oradata/prod/app/oracle/product/19.3.0 exists.
===========================
Validating out directory...
===========================
Oracle Home: /oradata/prod/app/oracle/product/19.3.0/appsutil/log exists.
=============================
Validating DB service type...
=============================
Service Type: onpremise
Service type is valid.
============================
Inside setFileLocations()...
============================
PDB_DESC_XML: /oradata/prod/app/oracle/product/19.3.0/dbs/PROD_PDBDesc.xml
**** Setting ORACLE_SID to PRODCDB
========================
Inside getDBVersion()...
========================
DB_VERSION = db190
=================================
Inside checkPDBCompatibility()...
=================================
File /oradata/prod/app/oracle/product/19.3.0/dbs/PROD_PDBDesc.xml exists.
Generating SQL file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CHK_PDB_COMPTABILITY_Tue_Dec_16_18_30_35_2025/create_pdb_compatible.sql
SQL output file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CHK_PDB_COMPTABILITY_Tue_Dec_16_18_30_35_2025/create_pdb_compatible.out
==========================
Inside executeSQLFile()...
==========================
Executing the SQL...
Execute SYSTEM command : sqlplus /nolog @/oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CHK_PDB_COMPTABILITY_Tue_Dec_16_18_30_35_2025/create_pdb_compatible.sql
==============================
Inside searchFileContents()...
==============================
log_file: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CHK_PDB_COMPTABILITY_Tue_Dec_16_18_30_35_2025/create_pdb_compatible.out
pattern: ERROR
=============================
Could not find the pattern...
=============================
EXIT STATUS: 0
PDB compatability check executed successfully.
LOG FILE: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CHK_PDB_COMPTABILITY_Tue_Dec_16_18_30_35_2025/create_pdb_compatible.out.
====================================
Inside checkPDBPluginViolations()...
====================================
File /oradata/prod/app/oracle/product/19.3.0/dbs/PROD_PDBDesc.xml exists.
Generating SQL file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CHK_PDB_COMPTABILITY_Tue_Dec_16_18_30_35_2025/check_pdb_plugin_violations.sql
SQL output file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CHK_PDB_COMPTABILITY_Tue_Dec_16_18_30_35_2025/check_pdb_plugin_violations.out
==========================
Inside executeSQLFile()...
==========================
Executing the SQL...
Execute SYSTEM command : sqlplus /nolog @/oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CHK_PDB_COMPTABILITY_Tue_Dec_16_18_30_35_2025/check_pdb_plugin_violations.sql
==============================
Inside searchFileContents()...
==============================
log_file: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CHK_PDB_COMPTABILITY_Tue_Dec_16_18_30_35_2025/check_pdb_plugin_violations.out
pattern: ERROR
================
Pattern found...
================
EXIT STATUS: 1
Violations reported for the database 'PROD' to be plugged in. Cannot proceed further.
****************************************************************************************
CHECK THE BELOW LOG FILE FOR VIOLATIONS:
/oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CHK_PDB_COMPTABILITY_Tue_Dec_16_18_30_35_2025/check_pdb_plugin_violations.out
****************************************************************************************
===================================
Inside checkUNDOMgmtViolations()...
===================================
File /oradata/prod/app/oracle/product/19.3.0/dbs/PROD_PDBDesc.xml exists.
Generating SQL file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CHK_PDB_COMPTABILITY_Tue_Dec_16_18_30_35_2025/check_undo_mgmt.sql
SQL output file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CHK_PDB_COMPTABILITY_Tue_Dec_16_18_30_35_2025/check_undo_mgmt.out
==========================
Inside executeSQLFile()...
==========================
Executing the SQL...
Execute SYSTEM command : sqlplus /nolog @/oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CHK_PDB_COMPTABILITY_Tue_Dec_16_18_30_35_2025/check_undo_mgmt.sql
==============================
Inside searchFileContents()...
==============================
log_file: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CHK_PDB_COMPTABILITY_Tue_Dec_16_18_30_35_2025/check_undo_mgmt.out
pattern: ERROR|WARNING
=============================
Could not find the pattern...
=============================
EXIT STATUS: 0
No UNDO MANAGEMENT violations in the plugged in PDB 'PROD'. Proceed further.
****************************************************************************************
CHECK THE BELOW LOG FILE FOR VIOLATIONS:
/oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CHK_PDB_COMPTABILITY_Tue_Dec_16_18_30_35_2025/check_undo_mgmt.out
****************************************************************************************
****************************************************************************************
* *
* IMPORTANT NOTE: RESOLVE ALL VIOLATIONS BEFORE PROCEEDING TO CREATE PDB *
* *
* - All the errors except SQL PATCH ERRORS should be resolved *
* *
* - All the warnings except CHARACTER SET WARNINGS can be ignored *
* *
* - Review and set the INIT PARAMETERs to match the EBS requirements *
* *
****************************************************************************************
Exiting from the script.
Ended: Tue Dec 16 18:30:36 IST 2025
[oracle@proderpdb bin]$
Create the PDB
Load the environment variables by running the following commands:
$. /home/oracle/19cdb.env
$cd $ORACLE_HOME/appsutil
$. ./txkSetCfgCDB.env dboraclehome=/oradata/prod/app/oracle/product/19.3.0
$ cd $ORACLE_HOME/appsutil/bin
$perl txkCreatePDB.pl -dboraclehome=/oradata/prod/app/oracle/product/19.3.0 -outdir=/oradata/prod/app/oracle/product/19.3.0/appsutil/log \
-cdbsid=PRODCDB -pdbsid=PROD -dbuniquename=PRODCDB -servicetype=onpremise
[oracle@proderpdb bin]$ . /home/oracle/19cdb.env
[oracle@proderpdb bin]$ cd $ORACLE_HOME/appsutil
[oracle@proderpdb appsutil]$ . ./txkSetCfgCDB.env dboraclehome=/oradata/prod/app/oracle/product/19.3.0
Oracle Home being passed: /oradata/prod/app/oracle/product/19.3.0
[oracle@proderpdb appsutil]$ cd $ORACLE_HOME/appsutil/bin
[oracle@proderpdb bin]$ pwd
/oradata/prod/app/oracle/product/19.3.0/appsutil/bin
[oracle@proderpdb bin]$ perl txkCreatePDB.pl -dboraclehome=/oradata/prod/app/oracle/product/19.3.0 -outdir=/oradata/prod/app/oracle/product/19.3.0/appsutil/log \
> -cdbsid=PRODCDB -pdbsid=PROD -dbuniquename=PRODCDB -servicetype=onpremise
TDE is not enabled, WALLET credentials and SECRET KEY are not required.
*** ALL THE FOLLOWING FILES ARE REQUIRED FOR RESOLVING RUNTIME ERRORS
*** Log File = /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/txkCreatePDB.log
Program : started @ Wed Dec 17 11:18:50 2025
*** Log File = /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/txkCreatePDB.log
Script Name : txkCreatePDB.pl
Script Version : 120.0.12010000.14
Started : Wed Dec 17 11:18:50 IST 2025
Log File : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/txkCreatePDB.log
-----------
Values used
-----------
Database Oracle Home : /oradata/prod/app/oracle/product/19.3.0
CDB SID : PRODCDB
PDB SID : PROD
Non-CDB Name :
Non-CDB data directory :
PDB data directory :
Non-CDB undo tablespace :
PDB undo tablespace :
OUT Directory : /oradata/prod/app/oracle/product/19.3.0/appsutil/log
Ignore PDB State : No
Service Type : onpremise
Is TDE enabled : No
DB Unique Name : PRODCDB
=========================
Validating oracle home...
=========================
Oracle Home: /oradata/prod/app/oracle/product/19.3.0 exists.
===========================
Validating out directory...
===========================
Out directory: /oradata/prod/app/oracle/product/19.3.0/appsutil/log exists.
=============================
Validating DB service type...
=============================
Service Type: onpremise
Service type is valid.
============================
Inside getDBHostDetails()...
============================
DB Hostname : proderpdb
DB Domain : nicsi.in
============================
Inside setFileLocations()...
============================
PDB_DESC_XML: /oradata/prod/app/oracle/product/19.3.0/dbs/PROD_PDBDesc.xml
========================
Inside loadDataTops()...
========================
Reading the data tops from file /oradata/prod/app/oracle/product/19.3.0/dbs/PROD_datatop.txt
Processing entry for DATA_TOP_1-->/oradata/prod/db/data
============================
Inside promptDataTopDir()...
============================
Number of DATA_TOPs: 1
DATA_TOP_1
===========
Enter the non-CDB data top [/oradata/prod/db/data]:
Enter the corresponding PDB data top [/oradata/prod/db/data]:
======================
Inside setASMFlag()...
======================
data_first_char: /
DATA_ASM_FLAG: 0
Not checking keystore as TDE is not enabled.
============================
Inside validateDataTops()...
============================
================================
Validating data top directory...
================================
Data top directory /oradata/prod/db/data exists.
**** Setting ORACLE_SID to PRODCDB for PDB Creation.
========================
Inside getDBVersion()...
========================
DB_VERSION = db190
**** Setting ORACLE_SID to PRODCDB for PDB Creation.
=============================
Shutting down the database...
=============================
Shutdown mode : IMMEDIATE
Generating SQL file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/shutdown_IMMEDIATE.sql
SQL output file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/shutdown_IMMEDIATE.out
==========================
Inside executeSQLFile()...
==========================
Executing the SQL...
Execute SYSTEM command : sqlplus /nolog @/oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/shutdown_IMMEDIATE.sql
==============================
Inside searchFileContents()...
==============================
log_file: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/shutdown_IMMEDIATE.out
pattern: ERROR
=============================
Could not find the pattern...
=============================
EXIT STATUS: 0
SQL execution went through successfully.
LOG FILE: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/shutdown_IMMEDIATE.out.
========================
Starting the database...
========================
Startup mode : NONE
Generating SQL file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/startup_NONE.sql
SQL output file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/startup_NONE.out
==========================
Inside executeSQLFile()...
==========================
Executing the SQL...
Execute SYSTEM command : sqlplus /nolog @/oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/startup_NONE.sql
==============================
Inside searchFileContents()...
==============================
log_file: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/startup_NONE.out
pattern: ERROR
=============================
Could not find the pattern...
=============================
EXIT STATUS: 0
SQL execution went through successfully.
LOG FILE: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/startup_NONE.out.
=================================
Inside checkPDBCompatibility()...
=================================
File /oradata/prod/app/oracle/product/19.3.0/dbs/PROD_PDBDesc.xml exists.
Generating SQL file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/create_pdb_compatible.sql
SQL output file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/create_pdb_compatible.out
==========================
Inside executeSQLFile()...
==========================
Executing the SQL...
Execute SYSTEM command : sqlplus /nolog @/oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/create_pdb_compatible.sql
==============================
Inside searchFileContents()...
==============================
log_file: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/create_pdb_compatible.out
pattern: ERROR
=============================
Could not find the pattern...
=============================
EXIT STATUS: 0
PDB compatability check executed successfully.
LOG FILE: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/create_pdb_compatible.out.
==================================
Inside checkCharSetViolations()...
==================================
File /oradata/prod/app/oracle/product/19.3.0/dbs/PROD_PDBDesc.xml exists.
Generating SQL file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/check_char_set_violations.sql
SQL output file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/check_char_set_violations.out
==========================
Inside executeSQLFile()...
==========================
Executing the SQL...
Execute SYSTEM command : sqlplus /nolog @/oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/check_char_set_violations.sql
==============================
Inside searchFileContents()...
==============================
log_file: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/check_char_set_violations.out
pattern: ERROR|WARNING
=============================
Could not find the pattern...
=============================
EXIT STATUS: 0
No CHARACTER violations in the plugged in PDB 'PROD'. Proceed further.
====================================
Inside checkPDBPluginViolations()...
====================================
File /oradata/prod/app/oracle/product/19.3.0/dbs/PROD_PDBDesc.xml exists.
Generating SQL file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/check_pdb_plugin_violations.sql
SQL output file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/check_pdb_plugin_violations.out
==========================
Inside executeSQLFile()...
==========================
Executing the SQL...
Execute SYSTEM command : sqlplus /nolog @/oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/check_pdb_plugin_violations.sql
==============================
Inside searchFileContents()...
==============================
log_file: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/check_pdb_plugin_violations.out
pattern: ERROR
=============================
Could not find the pattern...
=============================
EXIT STATUS: 0
No violations for the database 'PROD' to be plugged in. Proceed further.
======================================
Inside checkPDBCaseSensitiveParam()...
======================================
Generating SQL file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/get_case_sensitive_param.sql
SQL output file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/get_case_sensitive_param.out
Spool File : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/spool_get_case_sensitive_param.log
==========================
Inside executeSQLFile()...
==========================
Executing the SQL...
Execute SYSTEM command : sqlplus /nolog @/oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/get_case_sensitive_param.sql
Removing the file: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/get_case_sensitive_param.sql
==============================
Inside searchFileContents()...
==============================
log_file: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/get_case_sensitive_param.out
pattern: ERROR
=============================
Could not find the pattern...
=============================
EXIT STATUS: 0
Getting the parameter value.
Parameter _PDB_NAME_CASE_SENSITIVE is set to TRUE.
=======================================
Inside createPDBUsingDescriptorXML()...
=======================================
File /oradata/prod/app/oracle/product/19.3.0/dbs/PROD_PDBDesc.xml exists.
==================================
Inside checkPDBAlreadyCreated()...
==================================
Generating SQL file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/check_pdb_created.sql
SQL output file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/check_pdb_created.out
Spool File : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/spool_check_pdb_created.log
==========================
Inside executeSQLFile()...
==========================
Executing the SQL...
Execute SYSTEM command : sqlplus /nolog @/oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/check_pdb_created.sql
Removing the file: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/check_pdb_created.sql
==============================
Inside searchFileContents()...
==============================
log_file: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/check_pdb_created.out
pattern: ERROR
=============================
Could not find the pattern...
=============================
EXIT STATUS: 0
Checking for PDB: PROD
================================
Inside genDataTopMappingStr()...
================================
dir_mapping_str: '/oradata/prod/db/data', '/oradata/prod/db/data'
Generating SQL file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/create_pdb_using_desc_xml.sql
SQL output file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/create_pdb_using_desc_xml.out
==========================
Inside executeSQLFile()...
==========================
Executing the SQL...
Execute SYSTEM command : sqlplus /nolog @/oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/create_pdb_using_desc_xml.sql
==============================
Inside searchFileContents()...
==============================
log_file: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/create_pdb_using_desc_xml.out
pattern: ERROR
=============================
Could not find the pattern...
=============================
EXIT STATUS: 0
PDB is successfully created using descriptor XML /oradata/prod/app/oracle/product/19.3.0/dbs/PROD_PDBDesc.xml
LOG FILE: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/create_pdb_using_desc_xml.out.
==============================
Inside convertNonCDBToPDB()...
==============================
Generating SQL file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/convert_noncdb_to_pdb.sql
SQL output file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/convert_noncdb_to_pdb.out
==========================
Inside executeSQLFile()...
==========================
Executing the SQL...
Execute SYSTEM command : sqlplus /nolog @/oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/convert_noncdb_to_pdb.sql
===========================
Inside searchSpoolFile()...
===========================
Spool file passed: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/spool_convert_noncdb_to_pdb.log
EXIT STATUS: 0
PDB conversion completed successfully.
LOG FILE: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/convert_noncdb_to_pdb.out.
================
Close the PDB...
================
==========================
Inside checkPDBStatus()...
==========================
Generating SQL file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/check_pdb_status.sql
SQL output file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/check_pdb_status.out
==========================
Inside executeSQLFile()...
==========================
Executing the SQL...
Execute SYSTEM command : sqlplus /nolog @/oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/check_pdb_status.sql
==============================
Inside searchFileContents()...
==============================
log_file: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/check_pdb_status.out
pattern: MOUNTED
================
Pattern found...
================
EXIT STATUS: 1
PDB already closed. Do nothing.
==================
Opening the PDB...
==================
Generating SQL file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/open_PDB.sql
SQL output file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/open_PDB.out
==========================
Inside executeSQLFile()...
==========================
Executing the SQL...
Execute SYSTEM command : sqlplus /nolog @/oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/open_PDB.sql
==============================
Inside searchFileContents()...
==============================
log_file: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/open_PDB.out
pattern: ERROR|WARNING
=============================
Could not find the pattern...
=============================
EXIT STATUS: 0
PDB opened successfully.
LOG FILE: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/open_PDB.out.
=======================
Saving the PDB state...
=======================
Generating SQL file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/save_PDB_state.sql
SQL output file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/save_PDB_state.out
==========================
Inside executeSQLFile()...
==========================
Executing the SQL...
Execute SYSTEM command : sqlplus /nolog @/oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/save_PDB_state.sql
==============================
Inside searchFileContents()...
==============================
log_file: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/save_PDB_state.out
pattern: ERROR
=============================
Could not find the pattern...
=============================
EXIT STATUS: 0
PDB state saved successfully.
LOG FILE: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_CREATE_PDB_Wed_Dec_17_11_18_50_2025/save_PDB_state.out.
Exiting from the script.
Ended: Wed Dec 17 11:31:54 IST 2025
[oracle@proderpdb bin]$
Run the post PDB script
Use the following commands to run the txkPostPDBCreationTasks.pl script. This updates the PDB configuration.
Add PROD entry in tnsnames.ora
Source 19c Environment
$. /home/oracle/19cdb.env
$export ORACLE_SID=PRODCDB
$cd $ORACLE_HOME/appsutil
$sqlplus / as sysdba
SQL> alter session set container=PROD;
Session altered.
SQL> grant SELECT_CATALOG_ROLE to apps;
Grant succeeded.
[oracle@proderpdb ~]$ . /home/oracle/19cdb.env
[oracle@proderpdb ~]$ export ORACLE_SID=PRODCDB
[oracle@proderpdb ~]$ sqlplus / as sysdba
SQL*Plus: Release 19.0.0.0.0 - Production on Wed Dec 17 14:33:41 2025
Version 19.28.0.0.0
Copyright (c) 1982, 2025, Oracle. All rights reserved.
Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.28.0.0.0
SQL> alter user system identified by manager container=all;
User altered.
SQL> exit
Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.28.0.0.0
[oracle@proderpdb ~]$ sqlplus system/manager
SQL*Plus: Release 19.0.0.0.0 - Production on Wed Dec 17 14:34:48 2025
Version 19.28.0.0.0
Copyright (c) 1982, 2025, Oracle. All rights reserved.
Last Successful login time: Mon Dec 15 2025 11:30:37 +05:30
Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.28.0.0.0
SQL> show user
USER is "SYSTEM"
---Change some values in CONTEXT_FILE on application tier side to avoid AutoConfig error on db tier side---
[applmgr@proderpappl ~]$ echo $CONTEXT_FILE
/apps/prod/apps/inst/apps/PROD_proderpappl/appl/admin/PROD_proderpappl.xml
[applmgr@proderpappl ~]$cd /apps/prod/apps/inst/apps/PROD_proderpappl/appl/admin
[applmgr@proderpappl admin]$vi $CONTEXT_FILE
[applmgr@proderpappl admin]$ grep -i applptmp $CONTEXT_FILE
<APPLPTMP oa_var="s_applptmp" osd="UNIX">/oradata/prod/app/oracle/product/temp/PROD</APPLPTMP>
[applmgr@proderpappl admin]$ grep -i s_apps_jdbc_connect_descriptor $CONTEXT_FILE
<jdbc_url oa_var="s_apps_jdbc_connect_descriptor"></jdbc_url>
[oracle@proderpdb ~]$ . /home/oracle/19cdb.env
[oracle@proderpdb ~]$ cd $ORACLE_HOME/appsutil
[oracle@proderpdb appsutil]$ . ./txkSetCfgCDB.env dboraclehome=/oradata/prod/app/oracle/product/19.3.0
Oracle Home being passed: /oradata/prod/app/oracle/product/19.3.0
[oracle@proderpdb appsutil]$ perl $ORACLE_HOME/appsutil/bin/txkPostPDBCreationTasks.pl -dboraclehome=/oradata/prod/app/oracle/product/19.3.0 \
-outdir=/oradata/prod/app/oracle/product/19.3.0/appsutil/log -cdbsid=PRODCDB -pdbsid=PROD \
-appsuser=apps -dbport=1536 -servicetype=onpremise
Enter the APPS Password:
Enter the CDB SYSTEM Password:
*** ALL THE FOLLOWING FILES ARE REQUIRED FOR RESOLVING RUNTIME ERRORS
*** Log File = /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/txkPostPDBCreationTasks.log
Program : started @ Wed Dec 17 14:40:04 2025
*** Log File = /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/txkPostPDBCreationTasks.log
Script Name : txkPostPDBCreationTasks.pl
Script Version : 120.0.12010000.26
Started : Wed Dec 17 14:40:04 IST 2025
Log File : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/txkPostPDBCreationTasks.log
-----------
Values used
-----------
Database Oracle Home : /oradata/prod/app/oracle/product/19.3.0
CDB NAME :
CDB SID : PRODCDB
DB Unique Name :
PDB SID : PROD
Database port : 1536
OUT Directory : /oradata/prod/app/oracle/product/19.3.0/appsutil/log
APPS Schema Username : apps
Service Type : onpremise
Is RAC? : No
Virtual Hostname :
Logical Hostname :
Scan Hostname :
Scan Port :
Ignore scan details : No
Generate UTL_FILE_DIR : No
=========================
Validating oracle home...
=========================
Oracle Home: /oradata/prod/app/oracle/product/19.3.0 exists.
===========================
Validating out directory...
===========================
Out directory: /oradata/prod/app/oracle/product/19.3.0/appsutil/log exists.
=============================
Validating DB service type...
=============================
Service Type: onpremise
Service type is valid.
============================
Inside getDBHostDetails()...
============================
DB Hostname : proderpdb
DB Domain : nicsi.in
Logical hostname is not passed, hence using physical hostname details.
Logical Hostname : proderpdb
Logical Domain : nicsi.in
==========================
Inside setContextName()...
==========================
CONTEXT_NAME: PROD_proderpdb
=====================
Inside getDBPort()...
=====================
DB Port passed as an argument, using the same.
DB Port: 1536
============================
Inside setFileLocations()...
============================
SYSTEM_PWD_REUSE_FILE: /oradata/prod/app/oracle/product/19.3.0/dbs/PRODCDB_pwd_reuse_prf.txt
========================
Inside getDBVersion()...
========================
DB_VERSION = db190
=================================
Inside getVirtualHostDetails()...
=================================
Non-RAC configuration, defaulting virtual hostname.
Virtual Hostname : proderpdb
**** Setting ORACLE_UNQNAME to PRODCDB
**** Setting ORACLE_SID to PRODCDB
**** Setting TNS_ADMIN to /oradata/prod/app/oracle/product/19.3.0/network/admin
===========================
Inside setListenerFlag()...
===========================
Before: START_STOP_LISTENER_FLAG: 0
After: START_STOP_LISTENER_FLAG: 1
===========================
Inside stopPDBListener()...
===========================
Executing SYSTEM command: lsnrctl stop PROD > /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/lsnrctl_PDB_stop.txt
PDB listener stopped successfully.
===========================
Inside stopCDBListener()...
===========================
Executing SYSTEM command: lsnrctl stop PRODCDB > /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/lsnrctl_CDB_stop.txt
=============================
Inside checkGridListener()...
=============================
log_file: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/lsnrctl_CDB_stop.txt
pattern: TNS-01190
==========================================================
Grid listener not used.
START/STOP of listener failed because of some other issue.
Check the logs for details.
==========================================================
============================
Inside checkListenerLog()...
============================
log_file: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/lsnrctl_CDB_stop.txt
Pattern NO LISTENER is found, error will be ignored.
CDB listener stopped.
LOG FILE: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/lsnrctl_CDB_stop.txt.
================================
Inside generateCDBSqlNetOra()...
================================
Creating the directory: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/tns_admin_cdb_bkp
Creating the directory: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/tns_admin_cdb_temp
File already exists. Skipping instantiation of sqlnet.ora.
Copying the file
----------------
SOURCE : /oradata/prod/app/oracle/product/19.3.0/network/admin/sqlnet.ora
TARGET : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/tns_admin_cdb_bkp/sqlnet.ora
==============================
Inside updateCDBSqlNetOra()...
==============================
Updating the IFILE entry...
======================================
Inside generatePDBTNSAdminContent()...
======================================
Creating the directory: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/tns_admin_pdb_bkp
Creating the directory: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/tns_admin_pdb_temp
Copying the file
----------------
SOURCE : /oradata/prod/app/oracle/product/19.3.0/appsutil/template/ad8ilsnr.ora
TARGET : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/tns_admin_pdb_temp/listener.ora
===================================
Inside replaceContextVariables()...
===================================
Copying the file
----------------
SOURCE : /oradata/prod/app/oracle/product/19.3.0/network/admin/PROD_proderpdb/listener.ora
TARGET : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/tns_admin_pdb_bkp/listener.ora
Copying the file
----------------
SOURCE : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/tns_admin_pdb_temp/listener.ora
TARGET : /oradata/prod/app/oracle/product/19.3.0/network/admin/PROD_proderpdb/listener.ora
Copying the file
----------------
SOURCE : /oradata/prod/app/oracle/product/19.3.0/appsutil/template/ad8itns.ora
TARGET : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/tns_admin_pdb_temp/tnsnames.ora
===================================
Inside replaceContextVariables()...
===================================
Copying the file
----------------
SOURCE : /oradata/prod/app/oracle/product/19.3.0/network/admin/PROD_proderpdb/tnsnames.ora
TARGET : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/tns_admin_pdb_bkp/tnsnames.ora
Copying the file
----------------
SOURCE : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/tns_admin_pdb_temp/tnsnames.ora
TARGET : /oradata/prod/app/oracle/product/19.3.0/network/admin/PROD_proderpdb/tnsnames.ora
================================
Inside generatePDBSqlNetOra()...
================================
Directory /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/tns_admin_pdb_bkp already exists.
Copying the file
----------------
SOURCE : /oradata/prod/app/oracle/product/19.3.0/network/admin/PROD_proderpdb/sqlnet.ora
TARGET : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/tns_admin_pdb_bkp/sqlnet.ora
Copying the file
----------------
SOURCE : /oradata/prod/app/oracle/product/19.3.0/network/admin/sqlnet.ora
TARGET : /oradata/prod/app/oracle/product/19.3.0/network/admin/PROD_proderpdb/sqlnet.ora
File /oradata/prod/app/oracle/product/19.3.0/network/admin/PROD_proderpdb/sqlnet_ifile.ora does not exist.
File /oradata/prod/app/oracle/product/19.3.0/network/admin/sqlnet_ifile.ora does not exist.
==============================
Inside updatePDBSqlNetOra()...
==============================
Updating the IFILE entry...
============================
Inside startCDBListener()...
============================
Executing SYSTEM command: lsnrctl start PRODCDB > /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/lsnrctl_CDB_start.txt
CDB listener started successfully.
=============================
Shutting down the database...
=============================
Shutdown mode : IMMEDIATE
Generating SQL file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/shutdown_IMMEDIATE.sql
SQL output file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/shutdown_IMMEDIATE.out
==========================
Inside executeSQLFile()...
==========================
Executing the SQL...
Execute SYSTEM command : sqlplus /nolog @/oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/shutdown_IMMEDIATE.sql
==============================
Inside searchFileContents()...
==============================
log_file: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/shutdown_IMMEDIATE.out
pattern: ERROR
=============================
Could not find the pattern...
=============================
EXIT STATUS: 0
SQL execution went through successfully.
LOG FILE: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/shutdown_IMMEDIATE.out.
========================
Starting the database...
========================
Startup mode : NONE
Generating SQL file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/startup_NONE.sql
SQL output file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/startup_NONE.out
==========================
Inside executeSQLFile()...
==========================
Executing the SQL...
Execute SYSTEM command : sqlplus /nolog @/oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/startup_NONE.sql
==============================
Inside searchFileContents()...
==============================
log_file: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/startup_NONE.out
pattern: ERROR
=============================
Could not find the pattern...
=============================
EXIT STATUS: 0
SQL execution went through successfully.
LOG FILE: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/startup_NONE.out.
================================
Inside setDbDomainParameter()...
================================
Generating SQL file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/get_db_domain.sql
SQL output file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/get_db_domain.out
==========================
Inside executeSQLFile()...
==========================
Executing the SQL...
Execute SYSTEM command : sqlplus /nolog @/oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/get_db_domain.sql
==============================
Inside searchFileContents()...
==============================
log_file: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/get_db_domain.out
pattern: ERROR
=============================
Could not find the pattern...
=============================
EXIT STATUS: 0
Updating DB_DOMAIN parameter.
LOG FILE: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/get_db_domain.out.
==============================
Inside searchFileContents()...
==============================
log_file: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/get_db_domain.out
pattern: NOT-EMPTY
=============================
Could not find the pattern...
=============================
DB_DOMAIN parameter not set. Do nothing.
=============================
Shutting down the database...
=============================
Shutdown mode : IMMEDIATE
Generating SQL file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/shutdown_IMMEDIATE.sql
SQL output file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/shutdown_IMMEDIATE.out
==========================
Inside executeSQLFile()...
==========================
Executing the SQL...
Execute SYSTEM command : sqlplus /nolog @/oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/shutdown_IMMEDIATE.sql
==============================
Inside searchFileContents()...
==============================
log_file: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/shutdown_IMMEDIATE.out
pattern: ERROR
=============================
Could not find the pattern...
=============================
EXIT STATUS: 0
SQL execution went through successfully.
LOG FILE: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/shutdown_IMMEDIATE.out.
========================
Starting the database...
========================
Startup mode : NONE
Generating SQL file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/startup_NONE.sql
SQL output file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/startup_NONE.out
==========================
Inside executeSQLFile()...
==========================
Executing the SQL...
Execute SYSTEM command : sqlplus /nolog @/oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/startup_NONE.sql
==============================
Inside searchFileContents()...
==============================
log_file: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/startup_NONE.out
pattern: ERROR
=============================
Could not find the pattern...
=============================
EXIT STATUS: 0
SQL execution went through successfully.
LOG FILE: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/startup_NONE.out.
========================
Inside copyNLSFiles()...
========================
Executing SYSTEM command: perl /oradata/prod/app/oracle/product/19.3.0/nls/data/old/cr9idata.pl
Directory /oradata/prod/app/oracle/product/19.3.0/nls/data/9idata already exist. Overwriting...
Copying files to /oradata/prod/app/oracle/product/19.3.0/nls/data/9idata...
Copy finished.
Please reset environment variable ORA_NLS10 to /oradata/prod/app/oracle/product/19.3.0/nls/data/9idata!
Script cr9idata.pl executed successfully.
=================================
Inside createOPatchDBObjects()...
=================================
Generating SQL file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/create_opatch_db_objects.sql
SQL output file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/create_opatch_db_objects.out
==========================
Inside executeSQLFile()...
==========================
Executing the SQL...
Execute SYSTEM command : sqlplus /nolog @/oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/create_opatch_db_objects.sql
==============================
Inside searchFileContents()...
==============================
log_file: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/create_opatch_db_objects.out
pattern: ERROR
=============================
Could not find the pattern...
=============================
EXIT STATUS: 0
OPATCH directories created successfully.
LOG FILE: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/create_opatch_db_objects.out.
**** Setting TNS_ADMIN to /oradata/prod/app/oracle/product/19.3.0/network/admin/PROD_proderpdb for PDB Connectivity.
===========================
Inside waitForListener()...
===========================
cmd: lsnrctl status PRODCDB | tr '[:lower:]' '[:upper:]' | awk '/\"PROD\"/{print;getline;print;}' | grep PRODCDB | grep -i READY
INSTANCE "PRODCDB", STATUS READY, HAS 1 HANDLER(S) FOR THIS SERVICE...
=============================
Inside checkDBConnection()...
=============================
Generating SQL file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/check_db_connection.sql
SQL output file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/check_db_connection.log
==========================
Inside executeSQLFile()...
==========================
Executing the SQL...
Execute SYSTEM command : sqlplus /nolog @/oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/check_db_connection.sql
Removing the file: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/check_db_connection.sql
==============================
Inside searchFileContents()...
==============================
log_file: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/check_db_connection.log
pattern: ORA-12514
=============================
Could not find the pattern...
=============================
EXIT STATUS: 0
Connection successful.
=====================================
Validating APPS schema credentials...
=====================================
Generating SQL file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/validate_apps_password.sql
SQL output file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/validate_apps_password.log
==========================
Inside executeSQLFile()...
==========================
Executing the SQL...
Execute SYSTEM command : sqlplus /nolog @/oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/validate_apps_password.sql
Removing the file: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/validate_apps_password.sql
==============================
Inside searchFileContents()...
==============================
log_file: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/validate_apps_password.log
pattern: ERROR
=============================
Could not find the pattern...
=============================
EXIT STATUS: 0
Validated APPS credentials.
=======================================
Validating SYSTEM schema credentials...
=======================================
======================================
Inside checkSecCaseSensitiveLogon()...
======================================
Generating SQL file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/get_sec_case_sensitive_logon.sql
SQL output file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/get_sec_case_sensitive_logon.out
==========================
Inside executeSQLFile()...
==========================
Executing the SQL...
Execute SYSTEM command : sqlplus /nolog @/oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/get_sec_case_sensitive_logon.sql
==============================
Inside searchFileContents()...
==============================
log_file: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/get_sec_case_sensitive_logon.out
pattern: ERROR
=============================
Could not find the pattern...
=============================
EXIT STATUS: 0
Getting the parameter SEC_CASE_SENSITIVE_LOGON.
Parameter SEC_CASE_SENSITIVE_LOGON is set to FALSE.
sec_case_sensitive_logon_flag: FALSE
Generating SQL file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/validate_system_password.sql
SQL output file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/validate_system_password.log
==========================
Inside executeSQLFile()...
==========================
Executing the SQL...
Execute SYSTEM command : sqlplus /nolog @/oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/validate_system_password.sql
Removing the file: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/validate_system_password.sql
==============================
Inside searchFileContents()...
==============================
log_file: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/validate_system_password.log
pattern: ERROR
=============================
Could not find the pattern...
=============================
EXIT STATUS: 0
Validated SYSTEM credentials.
==============================
Inside getEBSCustomTables()...
==============================
Generating SQL file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/get_user_table.sql
SQL output file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/get_user_table.out
==========================
Inside executeSQLFile()...
==========================
Executing the SQL...
Execute SYSTEM command : sqlplus /nolog @/oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/get_user_table.sql
Removing the file: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/get_user_table.sql
==============================
Inside searchFileContents()...
==============================
log_file: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/get_user_table.out
pattern: ERROR
=============================
Could not find the pattern...
=============================
EXIT STATUS: 0
Getting the user tables.
Creating EBS custom views...
================================
Inside createEBSCustomViews()...
================================
Generating SQL file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/create_utl_file_views.sql
SQL output file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/create_utl_file_views.out
============================
Inside checkTableExists()...
============================
check_table_name = ebs_utlfile_param
Table exists.
============================
Inside checkTableExists()...
============================
check_table_name = ebs_utlfile_param_bk
Table does not exist.
============================
Inside checkTableExists()...
============================
check_table_name = ebs_utlfile_param
Table exists.
============================
Inside checkTableExists()...
============================
check_table_name = ebs_utlfile_param_bk
Table exists.
============================
Inside checkTableExists()...
============================
check_table_name = ebs_utlfile_param2
Table exists.
============================
Inside checkTableExists()...
============================
check_table_name = ebs_utlfile_param2_bk
Table does not exist.
============================
Inside checkTableExists()...
============================
check_table_name = ebs_utlfile_param2
Table exists.
============================
Inside checkTableExists()...
============================
check_table_name = ebs_utlfile_param2_bk
Table exists.
==========================
Inside executeSQLFile()...
==========================
Executing the SQL...
Execute SYSTEM command : sqlplus /nolog @/oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/create_utl_file_views.sql
Removing the file: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/create_utl_file_views.sql
==============================
Inside searchFileContents()...
==============================
log_file: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/create_utl_file_views.out
pattern: ERROR
=============================
Could not find the pattern...
=============================
EXIT STATUS: 0
Table and view created succussfully.
=============================
Inside generateDBCtxFile()...
=============================
Creating the directory: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/ctx_bkp
==========================
Inside setADBldXMLEnv()...
==========================
Environment set
ORACLE_HOME : /oradata/prod/app/oracle/product/19.3.0
TNS_ADMIN : /oradata/prod/app/oracle/product/19.3.0/network/admin/PROD_proderpdb
ORACLE_SID : PROD
PATH : /oradata/prod/app/oracle/product/19.3.0/perl/bin:/oradata/prod/app/oracle/product/19.3.0/bin:/usr/bin:/usr/sbin:/oradata/prod/app/oracle/product/19.3.0/appsutil/jre/bin:/usr/ccs/bin:/bin:/usr/bin/X11:/usr/local/bin:/oradata/prod/app/oracle/product/19.3.0/perl/bin:/oradata/prod/app/oracle/product/19.3.0/bin:/usr/bin:/usr/sbin:/oradata/prod/app/oracle/product/19.3.0/appsutil/jre/bin:/usr/ccs/bin:/bin:/usr/bin/X11:/usr/local/bin:/oradata/prod/app/oracle/product/19.3.0/perl/bin:/oradata/prod/app/oracle/product/19.3.0/bin:/usr/bin:/usr/sbin:/oradata/prod/app/oracle/product/19.3.0/appsutil/jre/bin:/usr/ccs/bin:/bin:/usr/bin/X11:/usr/local/bin:/oradata/prod/app/oracle/product/19.3.0/perl/bin:/oradata/prod/app/oracle/product/19.3.0/bin:/usr/bin:/usr/sbin:/oradata/prod/app/oracle/product/19.3.0/appsutil/jre/bin:/usr/ccs/bin:/bin:/usr/bin/X11:/usr/local/bin:/oradata/prod/app/oracle/product/19.3.0/perl/bin:/oradata/prod/app/oracle/product/19.3.0/bin:/usr/bin:/usr/sbin:/oradata/prod/app/oracle/product/19.3.0/appsutil/jre/bin:/usr/ccs/bin:/bin:/usr/bin/X11:/usr/local/bin:/oradata/prod/app/oracle/product/19.3.0/perl/bin:/oradata/prod/app/oracle/product/19.3.0/bin:/usr/bin:/usr/sbin:/oradata/prod/app/oracle/product/19.3.0/appsutil/jre/bin:/usr/ccs/bin:/bin:/usr/bin/X11:/usr/local/bin:/oradata/prod/app/oracle/product/19.3.0/perl/bin:/oradata/prod/app/oracle/product/19.3.0/bin:/usr/bin:/usr/sbin:/oradata/prod/app/oracle/product/19.3.0/appsutil/jre/bin:/usr/ccs/bin:/bin:/usr/bin/X11:/usr/local/bin:/oradata/prod/app/oracle/product/19.3.0/perl/bin:/oradata/prod/app/oracle/product/19.3.0/bin:/usr/bin:/usr/sbin:/oradata/prod/app/oracle/product/19.3.0/appsutil/jre/bin:/usr/ccs/bin:/bin:/usr/bin/X11:/usr/local/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/oracle/.local/bin:/home/oracle/bin:/oradata/prod/app/oracle/product/19.3.0/bin:/oradata/prod/app/oracle/product/19.3.0/OPatch:/oradata/prod/app/oracle/product/19.3.0/perl/bin:/oradata/prod/app/oracle/product/19.3.0/bin:/oradata/prod/app/oracle/product/19.3.0/OPatch:/oradata/prod/app/oracle/product/19.3.0/perl/bin:/oradata/prod/app/oracle/product/19.3.0/bin:/oradata/prod/app/oracle/product/19.3.0/OPatch:/oradata/prod/app/oracle/product/19.3.0/perl/bin:/oradata/prod/app/oracle/product/19.3.0/bin:/oradata/prod/app/oracle/product/19.3.0/OPatch:/oradata/prod/app/oracle/product/19.3.0/perl/bin:/oradata/prod/app/oracle/product/19.3.0/bin:/oradata/prod/app/oracle/product/19.3.0/OPatch:/oradata/prod/app/oracle/product/19.3.0/perl/bin:/oradata/prod/app/oracle/product/19.3.0/bin:/oradata/prod/app/oracle/product/19.3.0/OPatch:/oradata/prod/app/oracle/product/19.3.0/perl/bin:/oradata/prod/app/oracle/product/19.3.0/bin:/oradata/prod/app/oracle/product/19.3.0/OPatch:/oradata/prod/app/oracle/product/19.3.0/perl/bin:/oradata/prod/app/oracle/product/19.3.0/bin:/oradata/prod/app/oracle/product/19.3.0/OPatch:/oradata/prod/app/oracle/product/19.3.0/perl/bin:/oradata/prod/app/oracle/product/19.3.0/bin:/oradata/prod/app/oracle/product/19.3.0/OPatch:/oradata/prod/app/oracle/product/19.3.0/perl/bin:/oradata/prod/app/oracle/product/19.3.0/bin:/oradata/prod/app/oracle/product/19.3.0/OPatch:/oradata/prod/app/oracle/product/19.3.0/perl/bin:/oradata/prod/app/oracle/product/19.3.0/bin:/oradata/prod/app/oracle/product/19.3.0/OPatch:/oradata/prod/app/oracle/product/19.3.0/perl/bin:/oradata/prod/app/oracle/product/19.3.0/bin:/oradata/prod/app/oracle/product/19.3.0/OPatch:/oradata/prod/app/oracle/product/19.3.0/perl/bin:/oradata/prod/app/oracle/product/19.3.0/bin:/oradata/prod/app/oracle/product/19.3.0/OPatch:/oradata/prod/app/oracle/product/19.3.0/perl/bin:/oradata/prod/app/oracle/product/19.3.0/bin:/oradata/prod/app/oracle/product/19.3.0/OPatch:/oradata/prod/app/oracle/product/19.3.0/perl/bin:/oradata/prod/app/oracle/product/19.3.0/bin:/oradata/prod/app/oracle/product/19.3.0/OPatch:/oradata/prod/app/oracle/product/19.3.0/perl/bin:/oradata/prod/app/oracle/product/19.3.0/bin:/oradata/prod/app/oracle/product/19.3.0/OPatch:/oradata/prod/app/oracle/product/19.3.0/perl/bin:/oradata/prod/app/oracle/product/19.3.0/bin:/oradata/prod/app/oracle/product/19.3.0/OPatch:/oradata/prod/app/oracle/product/19.3.0/perl/bin:/oradata/prod/app/oracle/product/19.3.0/bin:/oradata/prod/app/oracle/product/19.3.0/OPatch:/oradata/prod/app/oracle/product/19.3.0/perl/bin:/oradata/prod/app/oracle/product/19.3.0/bin:/oradata/prod/app/oracle/product/19.3.0/OPatch:/oradata/prod/app/oracle/product/19.3.0/perl/bin
LD_LIBRARY_PATH : /oradata/prod/app/oracle/product/19.3.0/lib:/usr/X11R6/lib:/usr/openwin/lib:/usr/dt/lib:/oradata/prod/app/oracle/product/19.3.0/ctx/lib
DB_LISTENER : PRODCDB
DISPLAY : localhost:10.0
Executing SYSTEM command: perl /oradata/prod/app/oracle/product/19.3.0/appsutil/bin/adbldxml.pl appsuser=apps servername=proderpdb.nicsi.in
Starting context file generation for db tier..
Using JVM from /oradata/prod/app/oracle/product/19.3.0/jdk/jre/bin/java to execute java programs..
APPS Password:
The log file for this adbldxml session is located at:
/oradata/prod/app/oracle/product/19.3.0/appsutil/log/adbldxml_12171442.log
s_pluggable_database : true
s_pdb_name : PROD
The context file has been created at:
/oradata/prod/app/oracle/product/19.3.0/appsutil/PROD_proderpdb.xml
/oradata/prod/app/oracle/product/19.3.0/appsutil/bin/adbldxml.pl is executed successfully.
**** Setting ORACLE_SID to PRODCDB
=====================
Inside getDBName()...
=====================
Generating SQL file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/get_db_name.sql
SQL output file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/get_db_name.out
==========================
Inside executeSQLFile()...
==========================
Executing the SQL...
Execute SYSTEM command : sqlplus /nolog @/oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/get_db_name.sql
==============================
Inside searchFileContents()...
==============================
log_file: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/get_db_name.out
pattern: ERROR
=============================
Could not find the pattern...
=============================
Removing the file: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/get_db_name.sql
EXIT STATUS: 0
Getting the value of DB Name...
db_name: PROD
Updating s_ecx_log_dir and s_bis_debug_log_dir...
==============================
Inside updateECXBISCtxVar()...
==============================
========================
Inside updateCtxVar()...
========================
NAME : s_ecx_log_dir
VALUE : /oradata/prod/app/oracle/product/temp/PROD
update_status: 1
Update successful
========================
Inside updateCtxVar()...
========================
NAME : s_bis_debug_log_dir
VALUE : /oradata/prod/app/oracle/product/temp/PROD
update_status: 1
Update successful
================================
Inside instantiateTemplates()...
================================
Creating the directory: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/actual_files_bkp
File /oradata/prod/app/oracle/product/19.3.0/PRODCDB_proderpdb.env does not exist.
===========================
Inside instantiateFile()...
===========================
**************************************************************
File Instantiation:
-------------------
Template: /oradata/prod/app/oracle/product/19.3.0/appsutil/template/adcdb_ux_env.tmp
Instantiated location: /oradata/prod/app/oracle/product/19.3.0/PRODCDB_proderpdb.env
**************************************************************
Executing SYSTEM command: /oradata/prod/app/oracle/product/19.3.0/jdk/jre/bin/java -classpath :/oradata/prod/app/oracle/product/19.3.0/jdbc/lib/ojdbc8.jar:/oradata/prod/app/oracle/product/19.3.0/appsutil/java/xmlparserv2.jar:/oradata/prod/app/oracle/product/19.3.0/appsutil/java:/oradata/prod/app/oracle/product/19.3.0/jlib/netcfg.jar:/oradata/prod/app/oracle/product/19.3.0/jlib/ldapjclnt12.jar oracle.apps.ad.autoconfig.InstantiateFile -e /oradata/prod/app/oracle/product/19.3.0/appsutil/PROD_proderpdb.xml -tmpl /oradata/prod/app/oracle/product/19.3.0/appsutil/template/adcdb_ux_env.tmp -out /oradata/prod/app/oracle/product/19.3.0/PRODCDB_proderpdb.env -promptmsg hide
File instantiation successful.
File /oradata/prod/app/oracle/product/19.3.0/appsutil/scripts/PROD_proderpdb/adcdblnctl.sh does not exist.
===========================
Inside instantiateFile()...
===========================
**************************************************************
File Instantiation:
-------------------
Template: /oradata/prod/app/oracle/product/19.3.0/appsutil/template/adcdblnctl_sh.tmp
Instantiated location: /oradata/prod/app/oracle/product/19.3.0/appsutil/scripts/PROD_proderpdb/adcdblnctl.sh
**************************************************************
Executing SYSTEM command: /oradata/prod/app/oracle/product/19.3.0/jdk/jre/bin/java -classpath :/oradata/prod/app/oracle/product/19.3.0/jdbc/lib/ojdbc8.jar:/oradata/prod/app/oracle/product/19.3.0/appsutil/java/xmlparserv2.jar:/oradata/prod/app/oracle/product/19.3.0/appsutil/java:/oradata/prod/app/oracle/product/19.3.0/jlib/netcfg.jar:/oradata/prod/app/oracle/product/19.3.0/jlib/ldapjclnt12.jar oracle.apps.ad.autoconfig.InstantiateFile -e /oradata/prod/app/oracle/product/19.3.0/appsutil/PROD_proderpdb.xml -tmpl /oradata/prod/app/oracle/product/19.3.0/appsutil/template/adcdblnctl_sh.tmp -out /oradata/prod/app/oracle/product/19.3.0/appsutil/scripts/PROD_proderpdb/adcdblnctl.sh -promptmsg hide
File instantiation successful.
===========================
Inside cleanupDBTables()...
===========================
Generating SQL file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/cleanup_db_tables.sql
SQL output file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/cleanup_db_tables.log
==========================
Inside executeSQLFile()...
==========================
Executing the SQL...
Execute SYSTEM command : sqlplus /nolog @/oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/cleanup_db_tables.sql
Removing the file: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/cleanup_db_tables.sql
==============================
Inside searchFileContents()...
==============================
log_file: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/cleanup_db_tables.log
pattern: ERROR
=============================
Could not find the pattern...
=============================
EXIT STATUS: 0
DB tables cleaned successfully.
LOG FILE: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/cleanup_db_tables.log.
################# BEGIN AUTOCONFIG RUN #################
Log file: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/acfg_log_Wed_Dec_17_14_39_53_2025.log
Execute SYSTEM command : /oradata/prod/app/oracle/product/19.3.0/perl/bin/perl /oradata/prod/app/oracle/product/19.3.0/appsutil/bin/adconfig.pl -contextfile=/oradata/prod/app/oracle/product/19.3.0/appsutil/PROD_proderpdb.xml ***************** -log=/oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/acfg_log_Wed_Dec_17_14_39_53_2025.log
The log file for this session is located at: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/acfg_log_Wed_Dec_17_14_39_53_2025.log
AutoConfig is configuring the Database environment...
AutoConfig will consider the custom templates if present.
Using ORACLE_HOME location : /oradata/prod/app/oracle/product/19.3.0
Classpath : :/oradata/prod/app/oracle/product/19.3.0/jdbc/lib/ojdbc8.jar:/oradata/prod/app/oracle/product/19.3.0/appsutil/java/xmlparserv2.jar:/oradata/prod/app/oracle/product/19.3.0/appsutil/java:/oradata/prod/app/oracle/product/19.3.0/jlib/netcfg.jar:/oradata/prod/app/oracle/product/19.3.0/jlib/ldapjclnt19.jar
Using Context file : /oradata/prod/app/oracle/product/19.3.0/appsutil/PROD_proderpdb.xml
Context Value Management will now update the Context file
Updating Context file...COMPLETED
Attempting upload of Context file and templates to database...COMPLETED
Updating rdbms version in Context file to db19
Updating rdbms type in Context file to 64 bits
Configuring templates from ORACLE_HOME ...
AutoConfig completed with errors.
AutoConfig did not run successfully.
Please check the log file /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/acfg_log_Wed_Dec_17_14_39_53_2025.log to resolve any errors and re-run AutoConfig.
################## END AUTOCONFIG RUN ##################
**** Setting ORACLE_UNQNAME to PRODCDB
**** Setting ORACLE_SID to PRODCDB
**** Setting TNS_ADMIN to /oradata/prod/app/oracle/product/19.3.0/network/admin
======================
Inside setASMFlag()...
======================
Generating SQL file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/get_datafile_location.sql
SQL output file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/get_datafile_location.out
==========================
Inside executeSQLFile()...
==========================
Executing the SQL...
Execute SYSTEM command : sqlplus /nolog @/oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/get_datafile_location.sql
==============================
Inside searchFileContents()...
==============================
log_file: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/get_datafile_location.out
pattern: ERROR
=============================
Could not find the pattern...
=============================
EXIT STATUS: 0
Getting the datafile location...
ASM_CDB_DATAFILE_LOC: /oradata/prod/app/oradata/PRODCDB
first_char: /
ASM_FLAG: 0
================================
Inside setSystemCredentials()...
================================
Generating SQL file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/set_system_credentials.sql
SQL output file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/set_system_credentials.out
==========================
Inside executeSQLFile()...
==========================
Executing the SQL...
Execute SYSTEM command : sqlplus /nolog @/oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/set_system_credentials.sql
Removing the file: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/set_system_credentials.sql
==============================
Inside searchFileContents()...
==============================
log_file: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/set_system_credentials.out
pattern: ERROR
=============================
Could not find the pattern...
=============================
EXIT STATUS: 0
SYSTEM credentials set successfully.
LOG FILE: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/set_system_credentials.out.
**** Setting ORACLE_PDB_SID to PROD
File /oradata/prod/app/oracle/product/19.3.0/dbs/PRODCDB_pwd_reuse_prf.txt does not exist.
**** Resetting ORACLE_PDB_SID to NULL
======================================
Inside checkPDBCaseSensitiveParam()...
======================================
Generating SQL file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/get_case_sensitive_param.sql
SQL output file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/get_case_sensitive_param.out
Spool File : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/spool_get_case_sensitive_param.log
==========================
Inside executeSQLFile()...
==========================
Executing the SQL...
Execute SYSTEM command : sqlplus /nolog @/oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/get_case_sensitive_param.sql
Removing the file: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/get_case_sensitive_param.sql
==============================
Inside searchFileContents()...
==============================
log_file: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/get_case_sensitive_param.out
pattern: ERROR
=============================
Could not find the pattern...
=============================
EXIT STATUS: 0
Getting the parameter value.
Parameter _PDB_NAME_CASE_SENSITIVE is set to TRUE.
=======================
Saving the PDB state...
=======================
Generating SQL file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/save_PDB_state.sql
SQL output file : /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/save_PDB_state.out
==========================
Inside executeSQLFile()...
==========================
Executing the SQL...
Execute SYSTEM command : sqlplus /nolog @/oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/save_PDB_state.sql
==============================
Inside searchFileContents()...
==============================
log_file: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/save_PDB_state.out
pattern: ERROR
=============================
Could not find the pattern...
=============================
EXIT STATUS: 0
PDB state saved successfully.
LOG FILE: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/TXK_POST_PDB_Wed_Dec_17_14_39_53_2025/save_PDB_state.out.
Exiting from the script.
Ended: Wed Dec 17 14:44:48 IST 2025
[oracle@proderpdb appsutil]$ sqlplus / as sysdba
SQL*Plus: Release 19.0.0.0.0 - Production on Wed Dec 17 15:27:31 2025
Version 19.28.0.0.0
Copyright (c) 1982, 2025, Oracle. All rights reserved.
Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.28.0.0.0
SQL> SELECT BANNER, BANNER_FULL FROM v$version;
BANNER
--------------------------------------------------------------------------------
BANNER_FULL
--------------------------------------------------------------------------------
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.28.0.0.0
SQL>
First of all, it updates important tables in the APPS schema. During an upgrade to 19c, the UTL_FILE_DIRS are no longer found in the
database init.ora file or the spfile. It is saved in the tables v$parameter and v$parameter2.
select name, value from v$parameter where name = 'utl_file_dir';
and
select name, value from v$parameter2 where name = 'utl_file_dir';
should yield the same output as the text file found in your $ORACLE_HOME/dbs/EBSTEST_utlfiledir.txt file.
In my case the
$ORACLE_HOME/dbs/PROD_utlfiledir.txt
showed
/oradata/prod/app/oracle/product/temp/PROD
/tmp
or
/oradata/prod/app/oracle/product/temp/PROD
/oradata/prod/app/oracle/product/19.3.0/appsutil/outbound/PROD_proderpdb
/oradata/prod/app/oracle/product/temp/PROD
Second, it creates two environment files in your $ORACLE_HOME that can be used to source the cdb and the PDB environments,respectively. The are called
PROD_proderpdb.env
PRODCDB_proderpdb.env
Third, it creates your database server's context file, $ORACLE_HOME/appsutil/PROD_proderpdb.xml
Without all of the above correctly done, you cannot proceed with running autoconfig on your apptier. It will keep failing until you fix the
database-part of your migration.
Step 36: Setup Application tier
As the user of the applications server node modify the $TNS_ADMIN/tnsnames.ora file to specify the CDB instance name.
The following shows the format of the new TNS entry.
<TWO_TASK> =
(DESCRIPTION =
(ADDRESS = (PROTOCOL=tcp)(HOST=<hostname>.<domain>)(PORT=<port number>))
(CONNECT_DATA = (SERVICE_NAME=ebs_<PDB SID>)(INSTANCE_NAME=<CDB SID>))
)
prodcdb =
(DESCRIPTION =
(ADDRESS = (PROTOCOL=tcp)(HOST=proderpdb.nicsi.in)(PORT=1536))
(CONNECT_DATA = (SERVICE_NAME=ebs_PROD)(INSTANCE_NAME=prodcdb))
)
Update the following values in the context file of every Applications tier server node.
Variable Name Value
s_dbport New database port
s_apps_jdbc_connect_descriptor NULL (blank entry)
s_applptmp Directory (not /usr/tmp) defined in UTL_FILE_DIR
To identify the allowable directories for s_applptmp use, connect to the Oracle E-Business Suite database instance as the apps user and run
the following query:
SQL> select value from v$parameter where name='utl_file_dir';
OR
SQL> select value from v$parameter2 where name='utl_file_dir';
Run AutoConfig on both patch and run APPL_TOPs using the following command.(If you were using 12.2.x other wise run AutoConfig simple 12.1.3)
[applmgr@proderpappl ~]$ echo $CONTEXT_FILE
/apps/prod/apps/inst/apps/PROD_proderpappl/appl/admin/PROD_proderpappl.xml
[applmgr@proderpappl ~]$cd /apps/prod/apps/inst/apps/PROD_proderpappl/appl/admin
[applmgr@proderpappl admin]$vi $CONTEXT_FILE
[applmgr@proderpappl admin]$ grep -i applptmp $CONTEXT_FILE
<APPLPTMP oa_var="s_applptmp" osd="UNIX">/oradata/prod/app/oracle/product/temp/PROD</APPLPTMP>
[applmgr@proderpappl admin]$ grep -i s_apps_jdbc_connect_descriptor $CONTEXT_FILE
<jdbc_url oa_var="s_apps_jdbc_connect_descriptor"></jdbc_url>
-----------Run Autoconfig on DB Tier--------------
[oracle@proderpdb ~]$ cd $ORACLE_HOME/appsutil/scripts/PROD_proderpdb
[oracle@proderpdb PROD_proderpdb]$ grep -i s_db_util_filedir $CONTEXT_FILE
<dbutilfiledir oa_var="s_db_util_filedir" osd="unix">/oradata/prod/app/oracle/product/temp/PROD,/tmp,or,/oradata/prod/app/oracle/product/temp/PROD,/oradata/prod/app/oracle/product/19.3.0/appsutil/outbound/PROD_proderpdb</dbutilfiledir>
Note: Remove Extra dbutilfiledir path keep only "/oradata/prod/app/oracle/product/temp/PROD"
[oracle@proderpdb PROD_proderpdb]$ grep -i s_db_util_filedir $CONTEXT_FILE
<dbutilfiledir oa_var="s_db_util_filedir" osd="unix">/oradata/prod/app/oracle/product/temp/PROD</dbutilfiledir>
[oracle@proderpdb PROD_proderpdb]$ ./adautocfg.sh
Enter the APPS user password:
The log file for this session is located at: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/PROD_proderpdb/12171848/adconfig.log
AutoConfig is configuring the Database environment...
AutoConfig will consider the custom templates if present.
Using ORACLE_HOME location : /oradata/prod/app/oracle/product/19.3.0
Classpath : :/oradata/prod/app/oracle/product/19.3.0/jdbc/lib/ojdbc8.jar:/oradata/prod/app/oracle/product/19.3.0/appsutil/java/xmlparserv2.jar:/oradata/prod/app/oracle/product/19.3.0/appsutil/java:/oradata/prod/app/oracle/product/19.3.0/jlib/netcfg.jar:/oradata/prod/app/oracle/product/19.3.0/jlib/ldapjclnt19.jar
Using Context file : /oradata/prod/app/oracle/product/19.3.0/appsutil/PROD_proderpdb.xml
Context Value Management will now update the Context file
Updating Context file...COMPLETED
Attempting upload of Context file and templates to database...COMPLETED
Updating rdbms version in Context file to db19
Updating rdbms type in Context file to 64 bits
Configuring templates from ORACLE_HOME ...
AutoConfig completed successfully.
[oracle@proderpdb PROD_proderpdb]$
----------Run Autoconfig on Appl Tier--------------
[applmgr@proderpappl admin]$ cd $ADMIN_SCRIPTS_HOME
[applmgr@proderpappl scripts]$ ls -l adauto*
-rwx------ 1 applmgr dba 1557 Dec 17 18:00 adautocfg.sh
[applmgr@proderpappl scripts]$ ./adautocfg.sh
Enter the APPS user password:
The log file for this session is located at: /apps/prod/apps/inst/apps/PROD_proderpappl/admin/log/12171759/adconfig.log
AutoConfig is configuring the Applications environment...
AutoConfig will consider the custom templates if present.
Using CONFIG_HOME location : /apps/prod/apps/inst/apps/PROD_proderpappl
Classpath : /apps/prod/apps/apps_st/comn/java/lib/appsborg2.zip:/apps/prod/apps/apps_st/comn/java/classes
Using Context file : /apps/prod/apps/inst/apps/PROD_proderpappl/appl/admin/PROD_proderpappl.xml
Context Value Management will now update the Context file
Updating Context file...COMPLETED
Attempting upload of Context file and templates to database...COMPLETED
Configuring templates from all of the product tops...
Configuring AD_TOP........COMPLETED
Configuring FND_TOP.......COMPLETED
Configuring ICX_TOP.......COMPLETED
Configuring MSC_TOP.......COMPLETED
Configuring IEO_TOP.......COMPLETED
Configuring BIS_TOP.......COMPLETED
Configuring AMS_TOP.......COMPLETED
Configuring CCT_TOP.......COMPLETED
Configuring WSH_TOP.......COMPLETED
Configuring CLN_TOP.......COMPLETED
Configuring OKE_TOP.......COMPLETED
Configuring OKL_TOP.......COMPLETED
Configuring OKS_TOP.......COMPLETED
Configuring CSF_TOP.......COMPLETED
Configuring IGS_TOP.......COMPLETED
Configuring IBY_TOP.......COMPLETED
Configuring JTF_TOP.......COMPLETED
Configuring MWA_TOP.......COMPLETED
Configuring CN_TOP........COMPLETED
Configuring CSI_TOP.......COMPLETED
Configuring WIP_TOP.......COMPLETED
Configuring CSE_TOP.......COMPLETED
Configuring EAM_TOP.......COMPLETED
Configuring FTE_TOP.......COMPLETED
Configuring ONT_TOP.......COMPLETED
Configuring AR_TOP........COMPLETED
Configuring AHL_TOP.......COMPLETED
Configuring OZF_TOP.......COMPLETED
Configuring IES_TOP.......COMPLETED
Configuring CSD_TOP.......COMPLETED
Configuring IGC_TOP.......COMPLETED
AutoConfig completed successfully.
[applmgr@proderpappl scripts]$
[applmgr@proderpappl scripts]$ curl -vvv --max-time 5 10.24.252.42:1536 or use telnet 10.24.252.42 1536----for connection check
Now my DB is upgraded to 19c with EBS 12.1 application.
The
Second part of upgrade I am going to upgrade the Applications to 12.2.14.
Step 1: My RHEL Linux version is 7.9 . I will ensure all the pre-requisites are installed in the server.
From root user
#dnf install oracle-ebs-server-R12-preinstall.x86_64
Step 2: Download the R12.2.0 software zip and keep on the server.
Download the R12.2.0 software
It will check if all the required zip files are downloaded and valid.
Make we have all the zip downloaded and placed at /apps/122_software.
[applmgr@proderpappl 122_software]$ pwd
/apps/122_software
[applmgr@proderpappl 122_software]$ ll
total 39009192
-rw-r--r-- 1 applmgr dba 760534546 Nov 7 15:04 V100052-01_1of3.zip
-rw-r--r-- 1 applmgr dba 85594608 Sep 13 01:25 V100052-01_2of3.zip
-rw-r--r-- 1 applmgr dba 101976210 Sep 13 01:37 V100052-01_3of3.zip
-rw-r--r-- 1 applmgr dba 54512461 Sep 13 00:38 V100053-01_1of2.zip
-rw-r--r-- 1 applmgr dba 3692113511 Sep 13 01:15 V100053-01_2of2.zip
-rw-r--r-- 1 applmgr dba 3237595211 Sep 13 01:31 V100054-01.zip
-rw-r--r-- 1 applmgr dba 3010486025 Sep 13 01:36 V100055-01.zip
-rw-r--r-- 1 applmgr dba 2778325559 Sep 13 02:16 V100056-01.zip
-rw-r--r-- 1 applmgr dba 2601909076 Sep 13 02:17 V100057-01.zip
-rw-r--r-- 1 applmgr dba 2151318561 Sep 13 02:00 V100058-01.zip
-rw-r--r-- 1 applmgr dba 1055894090 Sep 13 01:47 V100059-01_1of2.zip
-rw-r--r-- 1 applmgr dba 1672719763 Sep 13 01:50 V100059-01_2of2.zip
-rw-r--r-- 1 applmgr dba 1668307260 Sep 13 02:35 V100060-01_1of3.zip
-rw-r--r-- 1 applmgr dba 1149559854 Sep 13 02:46 V100060-01_2of3.zip
-rw-r--r-- 1 applmgr dba 1085501805 Sep 13 02:11 V100060-01_3of3.zip
-rw-r--r-- 1 applmgr dba 880721070 Sep 13 00:46 V100061-01.zip
-rw-r--r-- 1 applmgr dba 502134497 Sep 13 01:36 V1041910-01.zip
-rw-r--r-- 1 applmgr dba 1067931167 Sep 13 00:49 V29856-01.zip
-rw-r--r-- 1 applmgr dba 746176239 Sep 13 01:33 V35802-01.zip
-rw-r--r-- 1 applmgr dba 1301604194 Sep 13 02:49 V35803-01_1of3.zip
-rw-r--r-- 1 applmgr dba 1072459718 Sep 13 02:54 V35803-01_2of3.zip
-rw-r--r-- 1 applmgr dba 1439731111 Sep 13 02:56 V35803-01_3of3.zip
-rw-r--r-- 1 applmgr dba 1305341704 Sep 13 02:25 V35804-01_1of2.zip
-rw-r--r-- 1 applmgr dba 1722651490 Sep 13 02:34 V35804-01_2of2.zip
-rw-r--r-- 1 applmgr dba 1673544724 Sep 13 01:05 V46095-01_1of2.zip
-rw-r--r-- 1 applmgr dba 1014530602 Sep 13 00:57 V46095-01_2of2.zip
-rw-r--r-- 1 applmgr dba 2112186868 Sep 13 02:46 V75792-01.zip
[applmgr@proderpappl 122_software]$
Step 3: Once the software is downloaded, Please build the stage area.
steps to create a build stage area
Copy below zip file from 12.2.x software downloaded diretory to /apps/stage122
[applmgr@proderpappl 122_software]$ make -p /apps/stage122
[applmgr@proderpappl 122_software]$ cp -rp p22066363_R12_GENERIC.zip V100052-01_1of3.zip V100052-01_2of3.zip V100052-01_3of3.zip /apps/stage122
[applmgr@proderpappl 122_software]$ cd /apps/stage122
[applmgr@proderpappl stage122]$ ll
total 1668604
-rw-r--r-- 1 applmgr dba 760534546 Nov 7 12:46 p22066363_R12_GENERIC.zip
-rw-r--r-- 1 applmgr dba 760534546 Nov 7 15:05 V100052-01_1of3.zip
-rw-r--r-- 1 applmgr dba 85594608 Sep 13 01:25 V100052-01_2of3.zip
-rw-r--r-- 1 applmgr dba 101976210 Sep 13 01:37 V100052-01_3of3.zip
[applmgr@proderpappl stage122]$ unzip -o V100052-01_1of3.zip
[applmgr@proderpappl stage122]$ unzip -o V100052-01_2of3.zip
[applmgr@proderpappl stage122]$ unzip -o V100052-01_3of3.zip
[applmgr@proderpappl stage122]$ unzip -o p22066363_R12_GENERIC.zip
After Unziping files then its create startCD new folder. Let's check the version of start CD.
[applmgr@proderpappl stage122]$ cd /apps/stage122/startCD/Disk1/rapidwiz
[applmgr@proderpappl rapidwiz]$ ./RapidWizVersion
Oracle E-Business Suite Rapid Install Wizard
Version 12.2.0.51
(c) Copyright 2000-2011 Oracle Corporation. All rights reserved.
[applmgr@proderpappl rapidwiz]$ cd /apps/CD_patch -------download required patch for startCD zipFiles.dat issue
[applmgr@proderpappl CD_patch]$ ll
total 16
-rw-r--r-- 1 applmgr dba 15255 Nov 5 15:11 p36541996_R12_GENERIC.zip
[applmgr@proderpappl CD_patch]$ unzip -o p36541996_R12_GENERIC.zip
[applmgr@proderpappl CD_patch]$ ll
total 16
drwxr-xr-x 4 applmgr dba 120 Apr 29 2024 36541996
-rw-r--r-- 1 applmgr dba 15255 Nov 5 15:11 p36541996_R12_GENERIC.zip
[applmgr@proderpappl CD_patch]$ cd 36541996
[applmgr@proderpappl 36541996]$ ll
total 20
drwxr-xr-x 3 applmgr dba 22 Apr 26 2024 Disk1
drwxr-xr-x 3 applmgr dba 18 Apr 26 2024 oracle
-rwxr-xr-x 1 applmgr dba 2047 Feb 12 2021 patchRIStage.cmd
-rwxr-xr-x 1 applmgr dba 4334 Feb 12 2021 patchRIStage.sh
-rwxr-xr-x 1 applmgr dba 1609 Apr 29 2024 Readme.txt
-rwxr-xr-x 1 applmgr dba 741 Apr 29 2024 ri36541996.drv
[applmgr@proderpappl 36541996]$ sh patchRIStage.sh
Patch directory is /apps/CD_patch/36541996
Enter the location of the Rapid Install Stage area:/apps/stage122
Copied /apps/CD_patch/36541996/Disk1/rapidwiz/bin/stageData/zipFiles.dat to /apps/stage122/startCD/Disk1/rapidwiz/bin/stageData/zipFiles.dat
Completed patching of the Rapid Install Stage area /apps/stage122
The logfile is patchRIStage.log
[applmgr@proderpappl 36541996]$
[applmgr@proderpappl stage122]$ cd /apps/stage122/startCD/Disk1/rapidwiz/bin
[applmgr@proderpappl bin]$ pwd
/apps/stage122/startCD/Disk1/rapidwiz/bin
[applmgr@proderpappl bin]$ ll
total 2860
-rwxr-xr-x 1 applmgr dba 2624 Jan 20 2016 adaixchk.sh
-rwxr-xr-x 1 applmgr dba 1022 Jan 20 2016 adchkutl.cmd
-rwxr-xr-x 1 applmgr dba 5333 Jan 20 2016 adchkutl.sh
-rwxr-xr-x 1 applmgr dba 16384 May 21 2015 adgetreg.exe
-rwxr-xr-x 1 applmgr dba 1768 May 21 2015 adgetreg.pl
-rwxr-xr-x 1 applmgr dba 45607 Jan 20 2016 AFSCJAV8.pls
-rwxr-xr-x 1 applmgr dba 16183 Jan 20 2016 AFSCJAVS.pls
-rwxr-xr-x 1 applmgr dba 6373 Jan 20 2016 buildStage.cmd
-rwxr-xr-x 1 applmgr dba 17325 Jan 20 2016 buildStage.sh
-rwxr-xr-x 1 applmgr dba 2004 Jan 20 2016 checkOS.cmd
-rwxr-xr-x 1 applmgr dba 2135 Jan 20 2016 checkOS.sh
-rwxr-xr-x 1 applmgr dba 40960 May 21 2015 filespace.exe
-rwxr-xr-x 1 applmgr dba 40448 May 21 2015 JNLSLib3.dll
-rwxr-xr-x 1 applmgr dba 30720 May 21 2015 JNLSTool.dll
-rwxr-xr-x 1 applmgr dba 28672 May 21 2015 launch.exe
-rwxr-xr-x 1 applmgr dba 77882 May 21 2015 NMAKE.EXE
-rwxr-xr-x 1 applmgr dba 7536 Jan 20 2016 orpass.sql
-rwxr-xr-x 1 applmgr dba 2420736 May 21 2015 perl510.dll
-rwxr-xr-x 1 applmgr dba 7680 May 21 2015 perl.exe
-rwxr-xr-x 1 applmgr dba 8842 Jan 20 2016 racvalidations.sh
-rwxr-xr-x 1 applmgr dba 646 May 21 2015 riwipu.sh
-rwxr-xr-x 1 applmgr dba 14 May 21 2015 riwperl.pl
-rwxr-xr-x 1 applmgr dba 1588 Jan 20 2016 riwTDBup.cmd
-rwxr-xr-x 1 applmgr dba 1703 Jan 20 2016 riwTDBup.sh
-rwxr-xr-x 1 applmgr dba 136 May 21 2015 riwTDBup.sql
-rwxr-xr-x 1 applmgr dba 917 May 21 2015 riwTXdis.sh
-rwxr-xr-x 1 applmgr dba 4826 Jan 20 2016 runWizard.sh
drwxr-xr-x 2 applmgr dba 26 Dec 18 15:22 stageData
-rwxr-xr-x 1 applmgr dba 7562 Jan 20 2016 syspass.sql
-rwxr-xr-x 1 applmgr dba 58368 May 21 2015 WizOSD.dll
-rwxr-xr-x 1 applmgr dba 3642 Jan 20 2016 WTPrereqs.cmd
-rwxr-xr-x 1 applmgr dba 4253 Jan 20 2016 WTPrereqs.sh
[applmgr@proderpappl bin]$ ./buildStage.sh
Copyright (c) 2002, 2013 Oracle Corporation
Redwood Shores, California, USA
Oracle E-Business Suite Rapid Install
Version 12.2.0
Press Enter to continue...
Build Stage Menu
------------------------------------------------------
1. Create new stage area
2. Copy patches to existing stage area
3. List files in TechPatches directory
4. Exit menu
Enter your choice [4]: 1
Rapid Install Platform Menu
------------------------------------------------------
1. Oracle Solaris SPARC (64-bit)
2. Linux x86 (64-bit)
3. IBM AIX on Power Systems (64-bit)
4. HP-UX Itanium
5. Exit Menu
Enter your choice [5]: 2
Running command:
/ojdbc14.jar:/apps/stage122/startCD/Disk1/rapidwiz/bin/../jlib/OraInstaller.jar:/apps/stage122/startCD/Disk1/rapidwiz/bin/../jlib/java oracle.apps.ad.rapidwiz.util.StageBuilder /apps/stage122/startCD/Disk1/rapidwiz/bin Linux_x64 Linux_x64
Specify the directory containing the zipped installation media:
/apps/122_software
File list:
/apps/stage122/startCD/Disk1/rapidwiz/bin/stageData/zipFiles.dat
The set of zip files is complete.
Unzip command is: /apps/stage122/startCD/Disk1/rapidwiz/unzip/Linux_x64/unzip -o
Unzipping V35802-01.zip
Unzipping V35803-01_1of3.zip
Unzipping V35803-01_2of3.zip
Unzipping V35803-01_3of3.zip
Unzipping V35804-01_1of2.zip
Unzipping V35804-01_2of2.zip
Unzipping V46095-01_1of2.zip
Unzipping V46095-01_2of2.zip
Unzipping V100059-01_1of2.zip
Unzipping V100059-01_2of2.zip
Unzipping V100060-01_1of3.zip
Unzipping V100060-01_2of3.zip
Unzipping V100060-01_3of3.zip
Unzipping V100053-01_1of2.zip
Unzipping V100053-01_2of2.zip
Unzipping V100054-01.zip
Unzipping V100055-01.zip
Unzipping V100056-01.zip
Unzipping V100057-01.zip
Unzipping V100058-01.zip
Unzipping V100061-01.zip
Unzipping V1041910-01.zip
Unzipping V75792-01.zip
Unzipping V29856-01.zip
Unzip command is: /apps/stage122/startCD/Disk1/rapidwiz/unzip/Linux_x64/unzip -o
All files have been unzipped successfully.
Stage area is confirmed to be complete.
Command = cp /apps/122_software/V100061-01.zip /apps/stage122/startCD/Disk1/rapidwiz/bin/stageData/epdFiles/epdLinux_x64.zip
Finished unzipping shiphome.
Directory /apps/stage122/TechPatches
Unzipping Oracle Software Delivery Cloud one-off patches...
Command: /apps/stage122/startCD/Disk1/rapidwiz/bin/../unzip/Linux_x64/unzip -o /apps/stage122/startCD/Disk1/rapidwiz/bin/stageData/epdFiles/epdLinux_x64.zip -d /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/..
Press Enter to continue...
Archive: /apps/stage122/startCD/Disk1/rapidwiz/bin/stageData/epdFiles/epdLinux_x64.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/MiddleTier/14272383/p14272383_1036_Generic.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/MiddleTier/20484781/p20484781_111190_Generic.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/MiddleTier/14577216/p14577216_101231_Generic.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/MiddleTier/16241466/p16241466_10123_LINUX.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/MiddleTier/13579719/p13579719_10123_LINUX.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/MiddleTier/12949905/p12949905_10105_LINUX.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/MiddleTier/20474010/p20474010_1036_Generic.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/MiddleTier/17284368/p17284368_111190_Generic.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/MiddleTier/14825718/p14825718_10123_LINUX.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/MiddleTier/10152652/p10152652_10123_LINUX.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/MiddleTier/17319481/p17319481_103607_Generic.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/MiddleTier/17645157/p17645157_10123_LINUX.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/MiddleTier/4047619/p4047619_10105_LINUX.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/MiddleTier/16271876/p16271876_10123_LINUX.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/MiddleTier/7572595/p7572595_111070_Linux-x86-64.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/MiddleTier/17495356/p17495356_1036_Generic.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/MiddleTier/17572726/p17572726_1036_Generic.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/MiddleTier/15900214/p15900214_10123_LINUX.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/MiddleTier/17303472/p17303472_101232_LINUX.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/MiddleTier/6880880/p6880880_111000_Linux-x86-64.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/MiddleTier/14029881/p14029881_10123_LINUX.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/MiddleTier/13417321/p13417321_111070_Linux-x86-64.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/MiddleTier/13417321/p13417321_10105_LINUX.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/MiddleTier/8528194/p8528194_10123_LINUX.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/MiddleTier/14621810/p14621810_1036_Generic.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/MiddleTier/16209520/p16209520_10123_GENERIC.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/MiddleTier/17893334/p17893334_1036_Generic.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/MiddleTier/19434967/p19434967_101232_LINUX.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/MiddleTier/17653437/p17653437_10123_LINUX.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/MiddleTier/13964737/p13964737_1036_Generic.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/MiddleTier/11669923/p11669923_10123_GENERIC.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/MiddleTier/11781879/p11781879_103607_Generic.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/MiddleTier/14353879/p14353879_10123_LINUX.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/MiddleTier/11835003/p11835003_R12_GENERIC.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/MiddleTier/13642485/p13642485_1036_Generic.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/MiddleTier/18620223/p18620223_101232_LINUX.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/MiddleTier/16778382/p16778382_10123_LINUX.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/MiddleTier/16275529/p16275529_10105_LINUX.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/MiddleTier/13729611/p13729611_103607_Generic.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/MiddleTier/19600486/p19600486_1036_Generic.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/MiddleTier/19687084/p19687084_103607_Generic.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/MiddleTier/17339725/p17339725_R12_LINUX.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/MiddleTier/8943095/p8943095_10123_LINUX.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/MiddleTier/7695070/p7695070_111070_Linux-x86-64.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/MiddleTier/5659594/p5659594_10123_GENERIC.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/MiddleTier/12873715/p12873715_R12_GENERIC.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/MiddleTier/14374587/p14374587_10123_GENERIC.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/MiddleTier/20922780/p20922780_111190_Generic.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/MiddleTier/17239083/p17239083_R12_LINUX.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/MiddleTier/13337000/p13337000_103607_Generic.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/MiddleTier/13367912/p13367912_10123_GENERIC.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/MiddleTier/8300196/p8300196_10123_GENERIC.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/MiddleTier/14614795/p14614795_101231_LINUX.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/MiddleTier/17907988/p17907988_10123_LINUX.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/MiddleTier/5604120/p5604120_10105_LINUX.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/MiddleTier/13845626/p13845626_1036_Generic.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/DB/19627012/p19627012_121020_Linux-x86-64.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/DB/19393542/p19393542_121020_Linux-x86-64.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/DB/21443504/p21443504_121020_Linux-x86-64.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/DB/19291380/p19291380_121020_Linux-x86-64.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/DB/21188532/p21188532_121020_Linux-x86-64.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/DB/20476776/p20476776_121020_Generic.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/DB/19835133/p19835133_121020_Linux-x86-64.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/DB/18966843/p18966843_121020_Generic.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/DB/18485835/p18485835_121020_Linux-x86-64.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/DB/6880880/p6880880_121010_Linux-x86-64.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/DB/19649152/p19649152_121020_Linux-x86-64.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/DB/18689530/p18689530_121020_Linux-x86-64.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/DB/17257305/p17257305_R12_LINUX.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/DB/20798891/p20798891_121020_Linux-x86-64.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/DB/20830911/p20830911_121020_Linux-x86-64.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/DB/18893947/p18893947_121020_Linux-x86-64.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/DB/19472320/p19472320_121020_Linux-x86-64.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/DB/22223463/p22223463_121020_Linux-x86-64.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/DB/20181016/p20181016_121020_Linux-x86-64.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/DB/19896336/p19896336_121020_Linux-x86-64.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/DB/20093776/p20093776_121020_Linux-x86-64.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/DB/20294666/p20294666_121020_Linux-x86-64.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/DB/19779059/p19779059_121020_Linux-x86-64.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/DB/20204035/p20204035_121020_Generic.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/DB/21153266/p21153266_121020_Linux-x86-64.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/../TechPatches/DB/20887355/p20887355_121020_Generic.zip
Finished unzipping Oracle Software Delivery Cloud one-off patches.
Press Enter to continue...
Stage Builder will now stage the one-off patches for Linux_x64...
Press Enter to continue...
Copying latest one-off patches to stage area...
Running command:
/apps/stage122/startCD/Disk1/rapidwiz/bin/../unzip/Linux_x64/unzip -o /apps/stage122/startCD/Disk1/rapidwiz/bin/../Xpatches/Linux_x64.zip -d /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches
Press Enter to continue...
Archive: /apps/stage122/startCD/Disk1/rapidwiz/bin/../Xpatches/Linux_x64.zip
Finished copying additional patches.
Verifying stage area...
Directory /apps/stage122/TechInstallMedia is valid.
Directory /apps/stage122/TechPatches/DB is valid.
Directory /apps/stage122/TechPatches/MiddleTier is valid.
Directory /apps/stage122/EBSInstallMedia/AppDB is valid.
Directory /apps/stage122/EBSInstallMedia/Apps is valid.
Directory /apps/stage122/EBSInstallMedia/AS10.1.2 is valid.
Directory /apps/stage122/TechInstallMedia/database is valid.
Directory /apps/stage122/TechInstallMedia/ohs11119 is valid.
Directory /apps/stage122/TechInstallMedia/wls1036_generic is valid.
Stage area verified.
Press Enter to continue...
Build Stage Menu
------------------------------------------------------
1. Create new stage area
2. Copy patches to existing stage area
3. List files in TechPatches directory
4. Exit menu
Enter your choice [4]: 4
Stage Builder exiting...
[applmgr@proderpappl bin]$
Our Build stage was successful.
Step 4: Patch the Stage Area
After creating the stage area using startCD 12.2.0.51, follow the readme of the startCD 12.2.0.51 Consolidated Patch 32947483
to patch the Rapid Install stage area:
Patch 32947483: RAPID INSTALL CONSOLIDATED BUNDLE PATCH ON TOP OF STARTCD 51 (OCTOBER 2021)
After patching the Rapid Install stage area with the startCD 12.2.0.51 Consolidated Patch 32947483, patch the Rapid Install
stage area with the following patches:
Download the patches and unzip.
p32947483_R12_GENERIC.zip
p36332179_R12_GENERIC.zip
Unzip patches and apply in startCD
Apply patches to stage area
[applmgr@proderpappl ~]$ cd /apps/CD_patch
[applmgr@proderpappl ~]$ unzip p32947483_R12_GENERIC.zip
[applmgr@proderpappl ~]$ unzip p36332179_R12_GENERIC.zip
[applmgr@proderpappl CD_patch]$ ll
total 368060
drwxr-xr-x 4 applmgr dba 150 Jul 18 2021 32947483
drwxr-xr-x 4 applmgr dba 174 Dec 19 11:59 36332179
drwxr-xr-x 4 applmgr dba 144 Dec 18 16:01 36541996
-rw-r--r-- 1 applmgr dba 376641040 Nov 7 12:21 p32947483_R12_GENERIC.zip
-rw-r--r-- 1 applmgr dba 232737 Nov 7 11:52 p36332179_R12_GENERIC.zip
-rw-r--r-- 1 applmgr dba 15255 Nov 5 15:11 p36541996_R12_GENERIC.zip
[applmgr@proderpappl CD_patch]$ cd 32947483
[applmgr@proderpappl 32947483]$ sh patchRIStage.sh
Patch directory is /apps/CD_patch/32947483
Enter the location of the Rapid Install Stage area:/apps/stage122
Copied /apps/CD_patch/32947483/Disk1/rapidwiz/bin/stageData/ to /apps/stage122/startCD/Disk1/rapidwiz/bin/stageData/
|
|
Completed patching of the Rapid Install Stage area /apps/stage122
The logfile is patchRIStage.log
[applmgr@proderpappl 32947483]$ cd /apps/stage122/startCD/Disk1/rapidwiz/bin
[applmgr@proderpappl bin]$ sh buildStage.sh
Copyright (c) 2002, 2013 Oracle Corporation
Redwood Shores, California, USA
Oracle E-Business Suite Rapid Install
Version 12.2.0
Press Enter to continue...
Build Stage Menu
------------------------------------------------------
1. Create new stage area
2. Copy patches to existing stage area
3. List files in TechPatches directory
4. Exit menu
Enter your choice [4]: 2
Rapid Install Platform Menu
------------------------------------------------------
1. Oracle Solaris SPARC (64-bit)
2. Linux x86 (64-bit)
3. IBM AIX on Power Systems (64-bit)
4. HP-UX Itanium
5. Exit Menu
Enter your choice [5]: 2
Directory /apps/stage122/TechPatches
Stage Builder will now stage the one-off patches for Linux_x64...
Press Enter to continue...
Copying latest one-off patches to stage area...
Running command:
/apps/stage122/startCD/Disk1/rapidwiz/bin/../unzip/Linux_x64/unzip -o /apps/stage122/startCD/Disk1/rapidwiz/bin/../Xpatches/Linux_x64.zip -d /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches
Press Enter to continue...
Archive: /apps/stage122/startCD/Disk1/rapidwiz/bin/../Xpatches/Linux_x64.zip
creating: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/DB/21626377/
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/DB/21626377/p21626377_121020_Linux-x86-64.zip
creating: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/MiddleTier/31136426/
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/MiddleTier/31136426/p31136426_1036_Generic.zip
creating: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/MiddleTier/31090393/
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/MiddleTier/31090393/p31090393_1036_Linux-x86-64.zip
Finished copying additional patches.
Press Enter to continue...
Build Stage Menu
------------------------------------------------------
1. Create new stage area
2. Copy patches to existing stage area
3. List files in TechPatches directory
4. Exit menu
Enter your choice [4]: 4
Stage Builder exiting...
[applmgr@proderpappl bin]$
[applmgr@proderpappl CD_patch]$ cd 36332179
[applmgr@proderpappl 36332179]$ sh patchRIStage.sh
Patch directory is /apps/CD_patch/36332179
Enter the location of the Rapid Install Stage area:/apps/stage122
Copied /apps/CD_patch/36332179/Disk1/rapidwiz/bin/stageData/ to /apps/stage122/startCD/Disk1/rapidwiz/bin/stageData/
|
|
Completed patching of the Rapid Install Stage area /apps/stage122
The logfile is patchRIStage.log
[applmgr@proderpappl 36332179]$ cd /apps/stage122/startCD/Disk1/rapidwiz/bin
[applmgr@proderpappl bin]$ sh buildStage.sh
Copyright (c) 2002, 2013 Oracle Corporation
Redwood Shores, California, USA
Oracle E-Business Suite Rapid Install
Version 12.2.0
Press Enter to continue...
Build Stage Menu
------------------------------------------------------
1. Create new stage area
2. Copy patches to existing stage area
3. List files in TechPatches directory
4. Exit menu
Enter your choice [4]: 2
Rapid Install Platform Menu
------------------------------------------------------
1. Oracle Solaris SPARC (64-bit)
2. Linux x86 (64-bit)
3. IBM AIX on Power Systems (64-bit)
4. HP-UX Itanium
5. Exit Menu
Enter your choice [5]: 2
Directory /apps/stage122/TechPatches
Stage Builder will now stage the one-off patches for Linux_x64...
Press Enter to continue...
Copying latest one-off patches to stage area...
Running command:
/apps/stage122/startCD/Disk1/rapidwiz/bin/../unzip/Linux_x64/unzip -o /apps/stage122/startCD/Disk1/rapidwiz/bin/../Xpatches/Linux_x64.zip -d /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches
Press Enter to continue...
Archive: /apps/stage122/startCD/Disk1/rapidwiz/bin/../Xpatches/Linux_x64.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/DB/21626377/p21626377_121020_Linux-x86-64.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/MiddleTier/31136426/p31136426_1036_Generic.zip
extracting: /apps/stage122/startCD/Disk1/rapidwiz/bin/../../../../TechPatches/MiddleTier/31090393/p31090393_1036_Linux-x86-64.zip
Finished copying additional patches.
Press Enter to continue...
Build Stage Menu
------------------------------------------------------
1. Create new stage area
2. Copy patches to existing stage area
3. List files in TechPatches directory
4. Exit menu
Enter your choice [4]: 4
Stage Builder exiting...
[applmgr@proderpappl bin]$
When asked for path, give the path where all R12.2.0 zip are placed.
After executing patchRIStage.sh/cmd to patch the existing Rapid Install stage area, you must re-run buildStage.sh/cmd with the
option 'Copy patches to existing stage area'. This is to incorporate additional platform-specific Technology patches into the Rapid Install Stage area.
Step 5: Run ETCC DB Check on Database
Download Patch 17537119 on the server and run on DB
[oracle@proderpdb ~]$ cd /oradata/EURC-DT
[oracle@proderpdb EURC-DT]$ ll
total 160
-rw-r--r-- 1 oracle dba 115397 Dec 4 22:30 p17537119_R12_GENERIC.zip
-rw-r--r-- 1 oracle dba 41729 Dec 4 22:30 p32288423_R12_GENERIC.zip
[oracle@proderpdb EURC-DT]$ unzip -o p17537119_R12_GENERIC.zip
[oracle@proderpdb EURC-DT]$ ll
total 452
-rwxrwxrwx 1 oracle dba 56890 Oct 31 00:57 checkDBpatch.cmd
-rwxrwxrwx 1 oracle dba 124184 Nov 7 21:23 checkDBpatch.sh
-rwxrwxrwx 1 oracle dba 56699 Oct 10 21:12 checkMTpatch.cmd
-rwxrwxrwx 1 oracle dba 52718 Oct 10 21:12 checkMTpatch.sh
drwxr-xr-x 4 oracle dba 33 May 8 2018 db
drwxr-xr-x 2 oracle dba 73 Jan 14 2023 mw
-rw-r--r-- 1 oracle dba 115397 Dec 4 22:30 p17537119_R12_GENERIC.zip
-rw-r--r-- 1 oracle dba 41729 Dec 4 22:30 p32288423_R12_GENERIC.zip
-rwxrwxrwx 1 oracle dba 234 Jul 24 20:02 README.txt
[oracle@proderpdb EURC-DT]$ ./checkDBpatch.sh
No patch needed as our DB as it is on 19.28 latest.
If patches are recommended please apply on Database.
Step 6: Add Space to the Database tablespaces
APPS_TS_SEED should be 5 GB FREE
System should be 25 GB FREE
SYSAUX should be 5GB FREE
I have Enable Autoextend on
select file_id,file_name,autoextensible from dba_data_Files;
select file_id,file_name,autoextensible from dba_temp_Files;
select 'alter database datafile '||file_id ||' autoextend on;' from dba_data_Files;
select 'alter database tempfile '||file_id ||' autoextend on;' from dba_temp_Files;
select file_id,file_name,autoextensible from dba_data_Files;
select file_id,file_name,autoextensible from dba_temp_Files;
[oracle@proderpdb ~]$ . PRODCDB_proderpdb.env
[oracle@proderpdb ~]$ sqlplus / as sysdba
SQL*Plus: Release 19.0.0.0.0 - Production on Fri Dec 19 14:13:27 2025
Version 19.28.0.0.0
Copyright (c) 1982, 2025, Oracle. All rights reserved.
Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.28.0.0.0
SQL> alter database datafile '/oradata/prod/db/data/apps_ts_seed_RPT1' resize 8G;
alter database datafile '/oradata/prod/db/data/apps_ts_seed_RPT1' resize 8G
*
ERROR at line 1:
ORA-01516: nonexistent log file, data file, or temporary file
"/oradata/prod/db/data/apps_ts_seed_RPT1" in the current container
SQL> show pdbs
CON_ID CON_NAME OPEN MODE RESTRICTED
---------- ------------------------------ ---------- ----------
2 PDB$SEED READ ONLY NO
3 PROD READ WRITE NO
SQL> alter session set container=PROD;
Session altered.
SQL> alter database datafile '/oradata/prod/db/data/apps_ts_seed_RPT1' resize 8G;
Database altered.
SQL> alter database datafile '/oradata/prod/db/data/system1.dbf' resize 30G;
Database altered.
SQL> ALTER TABLESPACE APPS_TS_TX_DATA ADD DATAFILE '/oradata/prod/db/data/apps_ts_tx_data30.dbf' size 30G;
Tablespace altered.
Step 7: With the Stage are run rapidwiz and create the layout for R12.2 Filesystem on application server.
[applmgr@proderpappl ~]$ cd /apps/stage122/startCD/Disk1/rapidwiz
[applmgr@proderpappl rapidwiz]$ ll
total 64
drwxr-xr-x 3 applmgr dba 4096 Dec 18 15:22 bin
-rwxr-xr-x 1 applmgr dba 556 Jan 20 2016 ClientWiz.cmd
drwxr-xr-x 6 applmgr dba 56 Jan 20 2016 driver
drwxr-xr-x 3 applmgr dba 4096 Dec 19 11:59 etc
drwxr-xr-x 2 applmgr dba 22 Dec 18 15:22 File
drwxr-xr-x 4 applmgr dba 47 Dec 18 15:22 images
drwxr-xr-x 5 applmgr dba 4096 Dec 18 15:22 jlib
drwxr-xr-x 10 applmgr dba 120 Dec 18 15:21 jre
drwxr-xr-x 3 applmgr dba 21 Jan 20 2016 oui
-rwxr-xr-x 1 applmgr dba 6710 Jan 20 2016 rapidwiz
-rwxr-xr-x 1 applmgr dba 1929 Jan 20 2016 RapidWiz.cmd
-rwxr-xr-x 1 applmgr dba 23268 Jan 20 2016 RapidWiz.ini
-rwxr-xr-x 1 applmgr dba 1092 Jan 20 2016 RapidWizVersion
-rwxr-xr-x 1 applmgr dba 357 Jan 20 2016 RapidWizVersion.cmd
drwxr-xr-x 4 applmgr dba 48 Dec 31 2015 TechInstallers
drwxr-xr-x 2 applmgr dba 4096 Dec 18 15:22 template
drwxr-xr-x 9 applmgr dba 102 Jan 20 2016 unzip
drwxr-xr-x 2 applmgr dba 96 Dec 18 15:22 Xpatches
[applmgr@proderpappl rapidwiz]$
[applmgr@proderpappl rapidwiz]$ ./rapidwiz
R12.2 Upgrade: Rapidwiz Prerequisite Check Fails DB service_names Check has failed
Issue:
DB service_names Check
DB service_names Check has failed.
Add ebs_patch as an entry in Database service_names parameter before proceeding.
Solution:
Modify the service_names parameter to include ebs_patch as shown below and retry.
SQL> show parameter service
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
service_names string PRODCDB
SQL> show parameter spfile
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
spfile string /oradata/prod/app/oracle/product/19.3.0/dbs/spfilePRODCDB.ora
SQL> select name from v$database;
NAME
---------
PROD
SQL> alter system set service_names='PRODCDB','ebs_patch','prod','ebs_PROD' scope=both;
System altered.
SQL> show parameter service
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
service_names string PROD, ebs_patch, prod, ebs_PROD
SQL> shut immediate
SQL> startup
Based on Server resources the File layout will take time. For Me it took 2 hrs.
Verify the new EBS12.2 file system layout has been created.
Step 8: Run ETCC on the application and apply required patches on 12.2 file system.
[applmgr@proderpappl ~]cd /apps/ETCC_Application_patches
[applmgr@proderpappl ETCC_Application_patches]$ . /apps/EBS122/fs1/EBSapps/appl/APPSPROD_proderpappl.env
[applmgr@proderpappl ETCC_Application_patches]$ ls -lrth
total 408K
drwxr-xr-x 4 applmgr dba 33 May 8 2018 db
drwxr-xr-x 2 applmgr dba 73 Jan 14 2023 mw
-rwxrwxrwx 1 applmgr dba 234 Jul 24 20:02 README.txt
-rwxrwxrwx 1 applmgr dba 52K Oct 10 21:12 checkMTpatch.sh
-rwxrwxrwx 1 applmgr dba 56K Oct 10 21:12 checkMTpatch.cmd
-rwxrwxrwx 1 applmgr dba 56K Oct 31 00:57 checkDBpatch.cmd
-rwxrwxrwx 1 applmgr dba 122K Nov 7 21:23 checkDBpatch.sh
-rw-r--r-- 1 applmgr dba 113K Nov 24 12:59 p17537119_R12_GENERIC.zip
drwxr-xr-x 2 applmgr dba 36 Dec 22 16:16 log
[applmgr@proderpappl ETCC_Application_patches]$ sh checkMTpatch.sh
Apply Latest Application Tier Technology Patches to Run File System
Immediately after the successful installation of the 12.2.0 file system using the latest startCD, you must apply the latest application tier technology patches to the run file system.
After the release of the startCD, new required patches may have been discovered: it is important to perform this step.
Now EBS 12.2.0 Upgrade File System is Created. We have to Apply latest patches. We do not have to apply patches manually. We will use EBS Technology Patch Automation Tool.
I will use ETPAT-AT tool which is available from My Oracle Support as Patch 32208510. For applying the patches.
Download the patches as suggested by the ETCC tool
Patch 38286345
- EBS RELEASE 12.2 CONSOLIDATED FMW FIXES FOR OCT 2025
Step 9: Applying patches using the ETPAT-AT Tool
Now Patch Apps Tier using ETPAT-AT:
mkdir -p /apps/EBS122/fs_ne/EBSapps/patch/etpat-at
mkdir -p /apps/EBS122/fs_ne/EBSapps/patch/stage
Download Patch 32208510 and place it under ettpat-at and unzip
cd /apps/EBS122/fs_ne/EBSapps/patch/etpat-at
Download the following patches and place it under Stage Area:
Note: "These are the patches mentioned in my etcc report that I ran on previous
step, You have to download the patches as per your etcc report"
/apps/EBS122/fs_ne/EBSapps/patch/stage
[applmgr@proderpappl etpat-at]$ cd /apps/EBS122/fs_ne/EBSapps/patch/stage
[applmgr@proderpappl stage]$ ll
total 2439152
-rw-r--r-- 1 applmgr dba 115397 Dec 2 21:44 p17537119_R12_GENERIC.zip --ETCC Patch
-rw-r--r-- 1 applmgr dba 4022850 Dec 3 00:55 p33845432_R12_GENERIC.zip
-rw-r--r-- 1 applmgr dba 149816591 Dec 1 17:06 p33946345_R12_GENERIC.zip
-rw-r--r-- 1 applmgr dba 157839264 Dec 3 01:00 p38073442_R12_GENERIC.zip
-rw-r--r-- 1 applmgr dba 1948271535 Dec 1 17:11 p38286345_R12_LINUX.zip --EBS RELEASE 12.2 CONSOLIDATED FMW FIXES FOR OCT 2025
-rw-r--r-- 1 applmgr dba 26365981 Dec 2 21:44 p6880880_101000_Linux-x86-64.zip
-rw-r--r-- 1 applmgr dba 26365981 Dec 2 21:44 p6880880_101000_LINUX.zip
-rw-r--r-- 1 applmgr dba 54867592 Dec 2 21:44 p6880880_111000_Linux-x86-64.zip
-rw-r--r-- 1 applmgr dba 54867592 Dec 2 21:44 p6880880_111000_LINUX.zip
-rw-r--r-- 1 applmgr dba 74830567 Dec 1 17:16 p6880880_112000_Linux-x86-64.zip
[applmgr@proderpappl stage]$
Note: Download Patches according to your ETCC report. Do not unzip above
patches.
Run ETPAT-AT and Start patching:
$. /apps/EBS122/fs1/EBSapps/appl/APPSPROD_proderpappl.env
$cd /apps/EBS122/fs_ne/EBSapps/patch/etpat-at
$perl etpat_at.pl
Enter 12.2.0 Run edition file system context file:
/apps/EBS122/fs1/inst/apps/PROD_proderpappl/appl/admin/PROD_proderpappl.xml
Enter APPS schema name [APPS]:
Enter password for apps schema:
Enter directory where you downloaded ETCC Patch 17537119:
/apps/EBS122/fs_ne/EBSapps/patch/stage
Current stage area: /apps/EBS122/fs_ne/EBSapps/patch/stage
Enter 'Yes' to Continue (Yes/No): Yes
Note: It is strongly recommended to uptake latest WLS PSU.
Select the WLS PSU you want to upgrade to:
1. JUL25 [10.3.6.0.250715] - Recommended
2. OCT23 [10.3.6.0.231017]
3. APR23 [10.3.6.0.230418]
4. JAN23 [10.3.6.0.230117]
5. JUL22 [10.3.6.0.220719]
6. APR22 [10.3.6.0.220419]
Enter your choice (1 or 2 or 3 or 4 or 5 or 6): 1
You have selected option: 1
You have opted to apply WLS PSU version: 10.3.6.0.250715
Enter 'Yes' to Continue (Yes/No): Yes
Generating pre-update appstier inventory report...
*** ALL THE FOLLOWING FILES ARE REQUIRED FOR RESOLVING RUNTIME ERRORS
*** STDOUT = /apps/EBS122/fs1/inst/apps/PROD_proderpappl/logs/appl/rgf/TXK/txkInventory_Mon_Dec_22_17_33_47_2025_stdout.log
Reportfile /apps/EBS122/fs_ne/EBSapps/patch/etpat-at/PROD_etpat_at/log/Appstier_Pre_Inventory_Report.html generated successfully.
Pre-update Inventory report generated successfully...
Pre-update Inventory report file: /apps/EBS122/fs_ne/EBSapps/patch/etpat-at/PROD_etpat_at/log/Appstier_Pre_Inventory_Report.html
Not capturing wallet checks as this is an upgrade Scenario...
Enter patch stage area:
/apps/EBS122/fs_ne/EBSapps/patch/stage
===========================================Summary=====================================================================
Summary report text file location: /apps/EBS122/fs_ne/EBSapps/patch/etpat-at/PROD_etpat_at/log/ETPAT-AT_Report_PROD.txt
Summary report html file location: /apps/EBS122/fs_ne/EBSapps/patch/etpat-at/PROD_etpat_at/log/ETPAT-AT_Report_PROD.html
End Time: Mon Dec 22 18:27:21 IST 2025
Script etpat_at.pl ran successfully.
Check the log file /apps/EBS122/fs_ne/EBSapps/patch/etpat-at/PROD_etpat_at/log/etpat_at_PROD.log for more information.
[applmgr@proderpappl etpat-at]$
Step 10: Validate the weblogic version
From RUN base execute below command
[applmgr@proderpappl ~]$ . /apps/EBS122/fs1/EBSapps/appl/APPSPROD_proderpappl.env
[applmgr@proderpappl ~]$ . $FMW_HOME/wlserver_10.3/server/bin/setWLSEnv.sh
[applmgr@proderpappl ~]$ java weblogic.version
WebLogic Server Temporary Patch for BUG13845626 Fri Jul 11 02:26:10 UTC 2025
WebLogic Server 10.3.6.0.250715 PSU Patch for BUG37927515 Mon Jun 30 07:11:53 UTC 2025
WebLogic Server Temporary Patch for BUG20474010 Sun Mar 01 17:22:18 IST 2015
WebLogic Server Temporary Patch for ${CRS} Mon Jul 30 16:45:20 EDT 2012
WebLogic Server Temporary Patch for ${CRS} Mon Jul 30 16:45:20 EDT 2012
WebLogic Server 10.3.6.0 Tue Nov 15 08:52:36 PST 2011 1441050
[applmgr@proderpappl ~]$
Step 11: EBS 12.2 Upgrade Readiness Checker - Database Tier (EURC-DT)
The EBS 12.2 Upgrade Readiness Checker - Database Tier (EURC-DT) performs checks based on key technical requirements as described in the EBS Release 12.2 upgrade guides.
Specifically, EURC-DT:
Can be used when upgrading to Oracle E-Business Suite Release 12.2 from any previous release.
Is available for all platforms on which Oracle E-Business Suite is supported.
Verifies that critical system administration and other pre-upgrade technical steps have been performed.
Provides both a summary report and detailed log files for all checks performed.
Can be used for on-premises EBS instances, or instances on Oracle Cloud Infrastructure (all database services).
Is compatible with Oracle Database 19c, 12cR1, and 11gR2.
You can run EURC-DT when planning upgrades, performing test upgrades, or performing production upgrades.
Using Multitenant Architecture
If you are using the multitenant architecture, source the EBS PDB environment file with the appropriate command for your platform.
UNIX:
$ . ./<RDBMS ORACLE_HOME>/<EBS PDB Name>_<NODE_NAME>.env
EURC-DT is available from My Oracle Support as Patch 32288423. Download and unzip this patch under your patching stage area, specifying -o unzip option to overwrite any older version.
$ cd <patching stage area>
$ cd /oradata/prod/app/oracle/product/19.3.0/appsutil/patchstage/eurc-dt/PROD_eurc-dt/
$ unzip -o p32288423_R12_GENERIC.zip
Run the following command to start EURC-DT:
[oracle@proderpdb ~]$ . $ORACLE_HOME/PROD_proderpdb.env
[oracle@proderpdb ~]$ echo $ORACLE_HOME
/oradata/prod/app/oracle/product/19.3.0
[oracle@proderpdb ~]$ echo $ORACLE_SID
PROD
[oracle@proderpdb ~]$ cd /oradata/prod/app/oracle/product/19.3.0/appsutil/patchstage/eurc-dt
[oracle@proderpdb eurc-dt]$ ll
total 680
-rwxrwxrwx 1 oracle dba 56890 Oct 31 00:57 checkDBpatch.cmd
-rwxrwxrwx 1 oracle dba 124184 Nov 7 21:23 checkDBpatch.sh
-rwxrwxrwx 1 oracle dba 56699 Oct 10 21:12 checkMTpatch.cmd
-rwxrwxrwx 1 oracle dba 52718 Oct 10 21:12 checkMTpatch.sh
drwxr-xr-x 4 oracle dba 33 May 8 2018 db
-rwxrwxrwx 1 oracle dba 195317 Oct 16 14:54 eurc_dt.pl
-rwxrwxrwx 1 oracle dba 33677 Oct 16 14:54 eurc_dt.xml
drwxr-xr-x 2 oracle dba 73 Jan 14 2023 mw
-rw-r--r-- 1 oracle dba 115397 Dec 4 22:30 p17537119_R12_GENERIC.zip
-rw-r--r-- 1 oracle dba 41729 Dec 4 22:30 p32288423_R12_GENERIC.zip
-rwxrwxrwx 1 oracle dba 234 Jul 24 20:02 README.txt
[oracle@proderpdb eurc-dt]$ perl eurc_dt.pl
Logs will be created under /oradata/prod/app/oracle/product/19.3.0/appsutil/patchstage/eurc-dt/PROD_eurc-dt/
Enter SYSTEM password:
Validating SYSTEM credentials...
Enter APPS schema password:
Validating APPS schema credentials...
****** Generating the Report ...... It will take couple of mins .... ******
Report generated by EBS 12.2 Upgrade Readiness Checker - Database Tier (EURC-DT) running in "check" mode
=======================================
Status of the system prior to upgrade
=======================================
Host Name is: proderpdb.nicsi.in
CDB SID: PRODCDB
PDB SID: PROD
Database Version: 19.28.0.0.0
EBS Version: 12.1.3
Platform: LINUX_X86-64
RAC Database: FALSE
==============
BEFORE UPGRADE
==============
Required Details:
=================
2. Check Name : Online Patching Readiness Report
Refer: Chapter 3: Planning and Performing Pre-Upgrade Tasks => Preparing Customization's => Run the Online Patching Readiness Reports of 12.0 and 12.1 to 12.2 Upgrade Guide
12.1 customers should ensure that the online patching readiness report patch 31026891:R12.AD.B is applied on the instance.
The patch is not yet applied on the instance. Apply the patch before the upgrade.
Note: Refer to Using the Online Patching Readiness Report in Oracle E-Business Suite Release 12.2 (Doc ID 1531121.1)
for details on execution of the scripts.
Re-execute the script to confirm all the custom code violations are fixed before proceeding further with the upgrade.
3. Check Name : Check for Invalid objects
Refer: Chapter 4: Performing the upgrade => Performing the Upgrade to Release 12.2.0
There should be no INVALID objects in APPS schema or user schema before EBS upgrades.
There are 14 APPS invalids present in the instance before the upgrade.Refer APPS_Pre_Invalids.log.
4. Check Name : Check for Unusable Indexes
Refer: Chapter 4: Performing the upgrade => Performing the Upgrade to Release 12.2.0
There should not be any UNUSABLE indexes prior to upgrade.
There are 1 UNUSABLE indexes on the instance before the upgrade.Refer UnusableIndexList_Pre_Compilation.log.
5. Check Name : Failed Domain Indexes
Refer: Chapter 4: Performing the upgrade => Performing the Upgrade to Release 12.2.0
There are no Failed Domain indexes present in the instance.
6. Check Name : Logical corruptions and time stamp mismatch in the Database
Refer: Chapter 4: Performing the upgrade => Performing the Upgrade to Release 12.2.0
The instance has the below logical corruptions and time stamp mismatch in the database.
Please take appropriate action prior to upgrade.
Data Dictionary Corruptions (dependency) : 0
Data Dictionary Corruptions (procedure info) : 0
Data Dictionary Corruptions (procedure plsql) : 0
Data Dictionary Corruptions (Source) : 0
7. Check Name : Materialized View Refresh
Refer: Chapter 4: Performing the upgrade => Performing the Upgrade to Release 12.2.0
You should run ADZDMVREFRESHNEEDED.sql prior to the upgrade to get information on MVs which require refresh and need to make
sure all the MV's are refreshed so that there is no data in mlog\$ tables.
Execute $AD_TOP/patch/115/sql/ADZDMVREFRESHNEEDED.sql
It is available in the Consolidated Online Patching Enablement Readiness Report Patch Patch 31026891:R12.AD.B for 12.1.
8. Check Name : Upgrade your Database to Oracle Database 19c
Refer: Chapter 4: Performing the upgrade => Upgrade Your Database and Apply Mandatory E-Business Suite Release 12.2 Database Patches
Database version on the instance is 19.28.0.0.0.
The instance is already at the certified oracle DB version for 12.2 upgrade.
Follow the instructions in Database Preparation Guidelines for an Oracle E-Business Suite Release 12.2 Upgrade (Doc ID:1349240.1) for upgrading Oracle Database 19c with latest RU.
Refer to Path-D in 'Section 2: Upgrade Paths' in Doc ID:1349240.1
9. Check Name : Review Sizes of Old and New Tablespaces
Refer: Chapter 4: Performing the upgrade => Upgrade Your Database and Apply Mandatory E-Business Suite Release 12.2 Database Patches
Ensure that all critical tablespaces contain sufficient space (below the threshold).
Complete Tablespace status can be found at : CompleteTablespace.log
Temp Tablespace status can be found at : Temp_Tablespace.log
Resize the tablespace as necessary. For guidelines, see Oracle E-Business Suite Release 12.2:Upgrade Sizing and Best Practices (Doc ID: 1597531.1).
10. Check Name : Validate GUEST Account
Refer: Chapter 4: Performing the upgrade => Preparing the System for Upgrade
Ensure that the GUEST account is valid and active and that the fnd_user USER_ID for the GUEST account is set to a value of '6'.
The value of GUEST account is "Y" in the instance.No further action.
Execute the below query to gather more information and take action to validate.
SQL> select fnd_message.get from dual;
12. Check Name : Check for Patch 13420532:R12.XLA.B application
Refer: Chapter 4: Performing the upgrade => Preparing the System for Upgrade => Subledger Accounting
Apply patch 13420532:R12.XLA.B when upgrading from Release 12.0.x to clean up temporary advance queues that were created
by prior Create Accounting program processes.
Instance doesnt have 13420532:R12.XLA.B applied, ensure its applied.
13. Check Name : Gather SYS schema statistics
Refer: Chapter 4: Performing the upgrade => Database and System Administration Tasks => Gather SYS schema statistics => Fixed Object and Dictionary Statistics
Execute the below command as SYSDBA user to gather the stale stats. This increases the performance of the upgrade.
dbms_stats.gather_schema_stats( 'SYS',options=>'GATHER STALE',estimate_percent =>$ DBMS_STATS.AUTO_SAMPLE_SIZE,
method_opt => 'FOR ALL COLUMNS SIZE AUTO',cascade => TRUE);
14. Check Name : Fixed Object and Dictionary Statistics
Refer: Chapter 4: Performing the upgrade => Database and System Administration Tasks => Gather SYS schema statistics => Fixed Object and Dictionary Statistics
These should have been previously gathered, correct and up-to-date on the pre-upgrade environment.
Execute the below as SYSDBA user again to gain the performance benifit during upgrade.
exec dbms_stats.gather_fixed_objects_stats;
exec dbms_stats.gather_dictionary_stats;
15. Check Name : Gather Schema statistics
Refer: Chapter 4: Performing the upgrade => Database and System Administration Tasks
Schema statistics are gathered by the FND_STATS process, which you can execute by running the Gather Schema Statistics concurrent program.
From your Release 12 APPL_TOP, perform the following steps:
1. Log in to Oracle E-Business Suite as the System Administrator.
2. Navigate to the Submit Request window (Requests > Run).
3. Submit the Gather Schema Statistics program.
Alternatively, run the following procedure manually as apps user:
FND_STATS.GATHER_SCHEMA_STATISTICS('ALL', 10, :parallel_degree, 'NOBACKUP', NULL, 'LASTRUN', 'GATHER AUTO', 10, 'N');
Where: parallel_degree is set to the value of the database initialization (init.ora) parameter parallel_max_servers for your instance.
The parameters for FND_STATS.GATHER_SCHEMA_STATISTICS are as follows:
FND_STATS.GATHER_SCHEMA_STATISTICS ({schema name}, {estimate percent}, {degree of parallelism}, {backup flag},{restart request ID,
if applicable}, {history mode},{gather options}, {modificationsthreshold}, {invalidate dependent cursors});
16. Check Name : Update init.ora with upgrade parameters -> Common Database Initialization Parameters For All Releases
Refer: Chapter 4: Performing the upgrade => Performing the Upgrade to Release 12.2.0 => See Database Initialization Parameters for Oracle Applications Release 12.2 (Doc ID: 396009.1)
Initialization parameters required at each stage of an upgrade may vary depending on when you upgrade your database.
Set the appropriate parameters now. The important common DB parameters are:
processes
sessions
_SYSTEM_TRIG_ENABLED=TRUE
Note:If your processes and sessions values in the init.ora file is the default values provided by the E-Business installation of 300 and 600,
then you should consider doubling these during the upgrade process to avoid connection issues.
Note: The instance should have _system_trig_enabled set to TRUE. If its sets to FALSE it will prevent from system triggers from being executed.
The value of _system_trig_enabled is set to "FALSE" on the instance. Set it to TRUE.
DB parameters can be further fine tuned as per the guidelines, see Oracle E-Business Suite Release 12.2:Upgrade Sizing and
Best Practices (Doc ID: 1597531.1).
17. Check Name : Update init.ora with upgrade parameters -> Release-Specific Database Initialization Parameters for Oracle 19c
Refer: Chapter 4: Performing the upgrade => Performing the Upgrade to Release 12.2.0 => See Database Initialization Parameters for Oracle Applications Release 12.2 (Doc ID: 396009.1)
Initialization parameters required at each stage of an upgrade may vary depending on when you upgrade your database.
Set the appropriate parameters now. The important 19c DB specific parameters are:
optimizer_adaptive_plans = TRUE
optimizer_adaptive_statistics = FALSE
_disable_actualization_for_grant = TRUE
Some of the important Initialization parameters are not set or not valid. Please set the appropriate parameters now.
Current parameters are:
optimizer_adaptive_plans = TRUE
optimizer_adaptive_statistics = FALSE
_disable_actualization_for_grant =
Follow the instructions in Database Initialization Parameters for Oracle E-Business Suite Release 12.2 (Doc ID: 396009.1)
and reset the init.ora parameters as required.
18. Check Name : Additional Database Initialization Parameters For Oracle E-Business Suite Release 12.2
Refer: Chapter 4: Performing the upgrade => Performing the Upgrade to Release 12.2.0 => See Database Initialization Parameters for Oracle Applications Release 12.2 (Doc ID: 396009.1)
Initialization parameters required at each stage of an upgrade may vary depending on when you upgrade your database.
Set the appropriate parameters now.
The important 12.2 specific parameters are:
recyclebin = off
service_names=%s_dbSid%,ebs_patch
Some of the Additional Database Initialization parameters are not set or not valid. Please set the appropriate parameters now.
Current set parameters are:
recyclebin = on
service_names = PRODCDB,
Note: For Oracle Database 19c with a single tenant (1 CDB:1 PDB) configuration : -
service_names: The value for this parameter is auto-populated when CDB is created. This parameter should not be modified manually.
Follow the instructions in Database Initialization Parameters for Oracle E-Business Suite Release 12.2 (Doc ID: 396009.1)
and reset the init.ora parameters as required.
19. Check Name : Set FAILED_LOGIN_ATTEMPTS to UNLIMITED
Refer: Chapter 4: Performing the upgrade => Performing the Upgrade to Release 12.2.0
The database provides parameters to enforce password management policies.
However, some of the database password policy parameters may lock out the E-Business Suite schema.
The LIMIT value for the resource FAILED_LOGIN_ATTEMPTS with profile as DEFAULT on the instance is :"UNLIMITED". No further action.
Recommended Details:
====================
1. Check Name : Migrate Existing Objects to New Tablespace Model
Refer: Chapter 4: Performing the upgrade => Prepare Release 12.2 Tablespaces => Migrate Existing Objects to New Tablespace Model
Your instance is already OATM enabled. We have checked some of the FND core tables and ALR product and it seems the instances is already migrated to
OATM, however you may cross check and ensure that you have migrated all your tables to OATM model.
If you previously upgraded your environment from Release 11i to Release 12,then the
upgrade process created tablespaces for all new products, configured the database for the new tablespace model, and created new objects.
However, it did not automatically migrate your existing objects. If you have not already done so,
Oracle strongly recommends that you use the Tablespace Migration Utility to perform this migration now.
Note that this utility is not supported for use after you enable Online Patching,so you cannot perform the migration after your
environment is upgraded to Release 12.2.If you choose not to migrate to OATM now,then you must continue to manage your tablespaces separately.
2. Check Name : Disable Database Audit Trail
Refer: Chapter 4: Performing the upgrade => Performing the Upgrade to Release 12.2.0
Before perform the upgrade, ensure to Disable database audit trail, or else it would impatch the upgrade job execution.
Conditional Details:
=====================
2. Check Name : Set the parameter sec_case_sensitive_logon
Refer: Chapter 4: Performing the upgrade => Upgrade Your Database and Apply Mandatory E-Business Suite Release 12.2 Database Patches
For Release 12.1+ based environments (both 11204,12c and 19c), customers have a choice to set it as either TRUE or FALSE.
The value of sec_case_sensitive_logon in the instance is "FALSE". No Action Needed.
For Database 19c, the value for SQLNET.ALLOWED_LOGON_VERSION_SERVER should be 10 irrespective of the value of the sec_case_sensitive_logon parameter.
The value of SQLNET.ALLOWED_LOGON_VERSION_SERVER in the instance is "10". No Action Needed.
3. Check Name : Apply required database patches for Oracle E-Business Release 12.2
Refer: Chapter 4: Performing the upgrade => Upgrade Your Database and Apply Mandatory E-Business Suite Release 12.2 Database Patches
Ensure that the required database patches for Oracle E-Business Release 12.2 have been applied.
Follow the instructions in the Oracle E-Business Suite Release 12.2: Consolidated List of Patches and Technology
Bug Fixes (Doc ID: 1594274.1) to do the following.
1) Check for missing database patches by executing the Oracle E-Business Suite Technology Codelevel Checker (ETCC) script..
Running command: sh /oradata/prod/app/oracle/product/19.3.0/appsutil/patchstage/eurc-dt/PROD_eurc-dt//etcc/checkDBpatch.sh > /oradata/prod/app/oracle/product/19.3.0/appsutil/patchstage/eurc-dt/PROD_eurc-dt//etcc/checkDBpatch_etcc.log
Executing ETCC script...
Successfully completed.........
Patch Recommendation Summary: /oradata/prod/app/oracle/product/19.3.0/appsutil/patchstage/eurc-dt/PROD_eurc-dt//etcc/checkDBpatch_etcc.log
2) Apply the latest database patches identified in the report as missing.
3) Confirm successful application or required database patches by re-executing the Oracle E-Business Suite Technology
Codelevel Checker (ETCC) script.
5. Check Name : Install JRE on the database tier
Refer: Chapter 4: Performing the upgrade => Database and System Administration Tasks
If you are planning to run Rapid Install in Upgrade Mode by using the Use Existing ORACLE HOME option,
then you must install JRE in the Database ORACLE_HOME/appsutil.
Download the latest JRE 7 Update. For optimum stability, performance, scalability, and OS vendor support,use the latest available update of
JRE for the Oracle E-Business Suite database tier.
The JRE download location is: http://www.oracle.com/technetwork/java/javase/downloads/index.html
Refer to Using the Latest JDK 7.0 Update with Oracle E-Business Suite Release 12.2 (Doc ID 1530033.1)
The jre version on the Database Tier is: 1.8.0_451
For Oracle Database 19c, install JRE 8 on the database tier using the following instructions:
cp -r <RDBMS ORACLE_HOME>/jdk/jre <RDBMS ORACLE_HOME>/appsutil
cp <RDBMS ORACLE_HOME>/jlib/orai18n.jar <RDBMS ORACLE_HOME>/appsutil/jre/lib/ext
6. Check Name : Synchronize value of APPLPTMP with Database Directories for PL/SQL File I/Obased Concurrent Requests
Refer: Chapter 4: Performing the upgrade => Database and System Administration Tasks
Ensure to have the APPLPTMP value in APPL_TOP is in synch with utl_file_dir value in the database.
The current value of utl_file_dir in the database tier is "/oradata/prod/app/oracle/product/temp/PROD" and value of APPLPTMP on the 12.1.3 Apps tier is "/oradata/prod/app/oracle/product/temp/PROD".
Ensure that the values are in synch with respect to 12.2 APPL_TOP once RI is laid down.
Refer to My Oracle Support Knowledge Document 2525754.1, Using UTL_FILE_DIR or Database Directories for PL/SQL File I/O
in Oracle E-Business Suite Releases 12.1 and 12.2 for more information.
7. Check Name : Disable AOL Audit Trail
Refer: Chapter 4: Performing the upgrade => Performing the Upgrade to Release 12.2.0
If you use the Oracle Applications Object Library Audit Trail feature, then you must disable it before the upgrade.
The DB contains the values as "E (Enabled)" or "R (Enable Requested)". AOL Audit Trail is ENABLED on the instance.
Please Refer DISABLEAOLAudit_complete.log for more details and take the below action.
From the System Administrator responsibility under the R12.0 or 12.1 APPL_TOP, navigate to Security > Audit Trail > Groups.
In the Audit Groups window, set the Group State field to Disable - Prepare for Archive for each audit group defined.
Run the Audit Trail Update Tables report from the Submit Requests window (Requests >Run).
Note: See Audit Trail in Oracle E-Business Suite Security Guide.
8. Check Name : Disable custom triggers, constraints, indexes, business events, and VPD
Refer: Chapter 4: Performing the upgrade => Performing the Upgrade to Release 12.2.0
Disable custom triggers or constraints on Oracle E-Business Suite tables. Re-enable these triggers after the upgrade.
If you have custom indexes on Applications tables, then determine whether they can affect performance during the upgrade, and drop them if necessary.
If you are not sure, then it is best to drop the indexes and add them after the upgrade, if the new release has not created a similar index.
IMPORTANT NOTE: For more information, please refer to Oracle E-Business Suite Upgrade Guide Release 12.0 and 12.1 to 12.2 from Oracle E-Business Suite Documentation Web Library Release 12.2.
Please refer to the PROD_EURC-DT_Report.html report for the checks/validations performed and refer to the PROD_eurc-dt.log for complete details hosted in the /oradata/prod/app/oracle/product/19.3.0/appsutil/patchstage/eurc-dt/PROD_eurc-dt/ directory.
[oracle@proderpdb eurc-dt]$
Fix the issues as reported by the Report.
Action taken:
Apply patch 31026891,13420532 on application using adpatch 12.1
On database connect to CDB and execute below
[oracle@proderpdb ~]$ . PRODCDB_proderpdb.env
[oracle@proderpdb ~]$ sqlplus / as sysdba
SQL*Plus: Release 19.0.0.0.0 - Production on Tue Dec 23 17:33:57 2025
Version 19.28.0.0.0
Copyright (c) 1982, 2025, Oracle. All rights reserved.
Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.28.0.0.0
SQL> alter system set sessions=1500 scope=spfile;
System altered.
SQL> alter system set processes=1000 scope=spfile;
System altered.
SQL> alter system set "_disable_actualization_for_grant"=TRUE;
System altered.
SQL> alter system set recyclebin=off scope=spfile;
System altered.
SQL> alter system set audit_trail=NONE scope=spfile;
System altered.
SQL> alter system set event='10946 trace name context forever, level 8454144' scope=spfile;
System altered.
SQL> alter system set "_system_trig_enabled" = TRUE;
System altered.
SQL> Alter session set container=PROD;
Session altered.
SQL> grant DROP ANY PROCEDURE to apps;
Grant succeeded.
DB Restart
[oracle@proderpdb ~]$ . PRODCDB_proderpdb.env
[oracle@proderpdb ~]$ sqlplus / as sysdba
SQL*Plus: Release 19.0.0.0.0 - Production on Tue Dec 23 18:22:18 2025
Version 19.28.0.0.0
Copyright (c) 1982, 2025, Oracle. All rights reserved.
Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.28.0.0.0
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance
ORACLE instance started.
Total System Global Area 1.6106E+10 bytes
Fixed Size 18664288 bytes
Variable Size 1946157056 bytes
Database Buffers 1.4126E+10 bytes
Redo Buffers 14888960 bytes
Database mounted.
Database opened.
[oracle@proderpdb ~]$ . PRODCDB_proderpdb.env
[oracle@proderpdb ~]$ sqlplus / as sysdba
SQL*Plus: Release 19.0.0.0.0 - Production on Tue Dec 23 19:23:03 2025
Version 19.28.0.0.0
Copyright (c) 1982, 2025, Oracle. All rights reserved.
Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.28.0.0.0
SQL> show con_name;
CON_NAME
------------------------------
PROD
SQL> exec dbms_stats.gather_fixed_objects_stats;
PL/SQL procedure successfully completed.
SQL> exec dbms_stats.gather_dictionary_stats;
PL/SQL procedure successfully completed.
SQL> begin
dbms_stats.gather_schema_stats( 'SYS',
options=>'GATHER STALE', estimate_percent =>
DBMS_STATS.AUTO_SAMPLE_SIZE,
method_opt => 'FOR ALL COLUMNS SIZE AUTO',
cascade => TRUE);
end;
/
PL/SQL procedure successfully completed.
SQL>
application tier
[applmgr@proderpappl ~]$ sqlplus apps/appsvis
SQL*Plus: Release 10.1.0.5.0 - Production on Wed Dec 24 10:22:09 2025
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
SQL> exec FND_STATS.GATHER_SCHEMA_STATISTICS('ALL', 10, 16, 'NOBACKUP', NULL, 'LASTRUN', 'GATHER AUTO', 10, 'N');
PL/SQL procedure successfully completed.
Install JRE on the database tier (conditional)
cp -r $ORACLE_HOME/jdk/jre $ORACLE_HOME/appsutil
cp $ORACLE_HOME/jlib/orai18n.jar $ORACLE_HOME/appsutil/jre/lib/ext
Step 12: Apply Consolidated Upgrade Patch and Run 12.2.0 Upgrade
As a 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 33526872:R12.AD.C), CUP 13.
The AD Upgrade Patch for Release 12.2 (Patch 10117518) Readme contains information about the latest CUP for the additional AD Patch 33526872:R12.AD.C patch and instructions.
Follow the Patch 10117518 Readme, and apply the patch by merging it with the latest Consolidated Upgrade Patch for AD and any other patches mentioned in the Readme, as instructed in the Readme and by referring to the Upgrade Guides when relevant.
On Application Tier:
mkdir -p /apps/EBS122/fs_ne/EBSapps/patch/10117518_CUP13
mkdir -p /apps/EBS122/fs_ne/EBSapps/patch/AD_source
cd /apps/EBS122/fs_ne/EBSapps/patch/AD_source
Download below patches and upload it on AS_source
Patch 10117518: R12.AD.C: Oracle Application DBA 12.2 PATCH
Patch 33526872: ORACLE APPLICATIONS DBA CONSOLIDATED UPGRADE PATCH 13
(AD CUP13) FOR R12.2.0
UNZIP both patches and then delete zip files:
cd /apps/EBS122/fs_ne/EBSapps/patch/AD_source
unzip p10117518_R12_LINUX.zip
unzip p33526872_R12.AD.C_R12_LINUX.zip
rm -rf p10117518_R12_LINUX.zip p33526872_R12.AD.C_R12_LINUX.zip
cd /apps/EBS122/fs_ne/EBSapps/patch
. /apps/EBS122/fs1/EBSapps/appl/APPSPROD_proderpappl.env
Run below command:
admrgpch -s AD_source -d 10117518_CUP13 -merge_name 10117518_cup13 -admode
[applmgr@proderpappl ~]$ cd /apps/EBS122/fs_ne/EBSapps/patch
[applmgr@proderpappl patch]$ ll
total 4
drwxr-xr-x 2 applmgr dba 6 Dec 24 12:39 10117518_CUP13
drwxr-xr-x 4 applmgr dba 167 Dec 24 12:47 AD_source
drwxr-xr-x 3 applmgr dba 166 Dec 22 17:33 etpat-at
drwxr-xr-x 8 applmgr dba 4096 Dec 22 18:00 stage
[applmgr@proderpappl patch]$ . /apps/EBS122/fs1/EBSapps/appl/APPSPROD_proderpappl.env
[applmgr@proderpappl patch]$ admrgpch -s AD_source -d 10117518_CUP13 -merge_name 10117518_cup13 -admode
Executing the merge of the patch drivers
-- Processing patch: AD_source/10117518
-- Processing file: AD_source/10117518/u10117518.drv
-- Done processing file: AD_source/10117518/u10117518.drv
-- Done processing patch: AD_source/10117518
-- Processing patch: AD_source/33526872
-- Processing file: AD_source/33526872/u33526872.drv
-- Done processing file: AD_source/33526872/u33526872.drv
-- Done processing patch: AD_source/33526872
Copying files...
5% complete. Copied 47 files of 925...
10% complete. Copied 93 files of 925...
15% complete. Copied 139 files of 925...
20% complete. Copied 185 files of 925...
25% complete. Copied 232 files of 925...
30% complete. Copied 278 files of 925...
35% complete. Copied 324 files of 925...
40% complete. Copied 370 files of 925...
45% complete. Copied 417 files of 925...
50% complete. Copied 463 files of 925...
55% complete. Copied 509 files of 925...
60% complete. Copied 555 files of 925...
65% complete. Copied 602 files of 925...
70% complete. Copied 648 files of 925...
75% complete. Copied 694 files of 925...
80% complete. Copied 740 files of 925...
85% complete. Copied 787 files of 925...
90% complete. Copied 833 files of 925...
95% complete. Copied 879 files of 925...
100% complete. Copied 925 files of 925...
Character-set converting files...
2 unified drivers merged.
Patch merge completed successfully
Please check the log file at ./admrgpch.log.
[applmgr@proderpappl patch]$
Copy Adgrants from CUP13 and paste it in DB Appsutil and fs1
cd /apps/EBS122/fs_ne/EBSapps/patch/10117518_CUP13/admin
cp adgrants.sql /apps/EBS122/fs1/EBSapps/appl/admin/
scp adgrants.sql oracle@DbIP:/oradata/prod/app/oracle/product/19.3.0/appsutil/admin
On Database Tier: Run adgrants
[oracle@proderpdb ~]$ cd /oradata/prod/app/oracle/product/19.3.0/appsutil/admin/
[oracle@proderpdb admin]$ ll
total 244
-rw-r--r-- 1 oracle dba 108545 Dec 24 12:49 adgrants.sql
-rw-r--r-- 1 oracle dba 61867 Jan 1 2002 adgrants.sql_old
-rw-r--r-- 1 oracle dba 65007 Nov 28 18:26 adgrants.sql_old1
-rw-r--r-- 1 oracle dba 5621 Jan 1 2002 adzddtsfix.sql
[oracle@proderpdb admin]$ strings -a adgrants.sql | grep '$Header'
REM $Header: adgrants.sql 120.67.12020000.69 2020/03/20 00:56:38 jwsmith ship $
/* $Header: adgrants.sql 120.67.12020000.69 2020/03/20 00:56:38 jwsmith ship $ */
/* $Header: adgrants.sql 120.67.12020000.69 2020/03/20 00:56:38 jwsmith ship $ */
/* $Header: adgrants.sql 120.67.12020000.69 2020/03/20 00:56:38 jwsmith ship $ */
/* $Header: adgrants.sql 120.67.12020000.69 2020/03/20 00:56:38 jwsmith ship $ */
/* $Header: adgrants.sql 120.67.12020000.69 2020/03/20 00:56:38 jwsmith ship $ */
/* $Header: adgrants.sql 120.67.12020000.69 2020/03/20 00:56:38 jwsmith ship $ */
[oracle@proderpdb admin]$ . /oradata/prod/app/oracle/product/19.3.0/PRODCDB_proderpdb.env
[oracle@proderpdb admin]$ export ORACLE_PDB_SID=PROD
[oracle@proderpdb admin]$ ll
total 244
-rw-r--r-- 1 oracle dba 108545 Dec 24 12:49 adgrants.sql
-rw-r--r-- 1 oracle dba 61867 Jan 1 2002 adgrants.sql_old
-rw-r--r-- 1 oracle dba 65007 Nov 28 18:26 adgrants.sql_old1
-rw-r--r-- 1 oracle dba 5621 Jan 1 2002 adzddtsfix.sql
[oracle@proderpdb admin]$ pwd
/oradata/prod/app/oracle/product/19.3.0/appsutil/admin
[oracle@proderpdb admin]$ sqlplus '/nolog'
SQL*Plus: Release 19.0.0.0.0 - Production on Wed Dec 24 14:41:22 2025
Version 19.28.0.0.0
Copyright (c) 1982, 2025, Oracle. All rights reserved.
SQL> @adgrants.sql apps
Connected.
....
...
....
..
The following ERRORS and WARNINGS have been encountered during this adgrants session:
O
-
Grants given by this script have been written to the ad_zd_logs table.
You can run $AD_TOP/sql/ADZDSHOWLOG.sql to produce a report showing these grants.
Commit complete.
Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.28.0.0.0
Enable maintenance mode from 12.2 file system
[applmgr@proderpappl ~]$ . /apps/EBS122/fs1/EBSapps/appl/APPSPROD_proderpappl.env
[applmgr@proderpappl ~]$ adadmin (Enable maintenance from 12.2 file system)
[applmgr@proderpappl ~]$ cd /apps/EBS122/fs_ne/EBSapps/patch/10117518_CUP13
[applmgr@proderpappl 10117518_CUP13]$ adpatch
Driver name u_10117518_cup13.drv
AutoPatch may have written informational messages to the file
/apps/EBS122/fs1/EBSapps/appl/admin/PROD/log/u_10117518_cup13.lgi
Errors and warnings are listed in the log file
/apps/EBS122/fs1/EBSapps/appl/admin/PROD/log/u_10117518_cup13.log
Compile apps schema using adadmin from 12.2
Run Adadmin:
adadmin
Compile/Reload Applications Database Entities menu -> Compile APPS schema
"Type "No" when prompt for Run Invoker Rights processing in incremental mode [No] ?”No
Apply the Consolidated Upgrade Patch (CUP) for Release 12.2.0 (Patch 34754463:12.2.0) in pre-installation mode on the run edition file system
download and place it in patch directory.
[applmgr@proderpappl ~]$ . /apps/EBS122/fs1/EBSapps/appl/APPSPROD_proderpappl.env
[applmgr@proderpappl ~]$ cd /apps/EBS122/fs_ne/EBSapps/patch
[applmgr@proderpappl patch]$ ll
total 6712
drwxr-xr-x 7 applmgr dba 4096 Dec 24 17:14 10117518_CUP13
-rw-r--r-- 1 applmgr dba 142331 Dec 24 12:49 admrgpch.log
drwxr-xr-x 4 applmgr dba 167 Dec 24 12:47 AD_source
drwxr-xr-x 3 applmgr dba 166 Dec 22 17:33 etpat-at
-rw-r--r-- 1 applmgr dba 6720961 Dec 9 21:43 p34754463_12.2.0_R12_LINUX.zip
drwxr-xr-x 8 applmgr dba 4096 Dec 22 18:00 stage
[applmgr@proderpappl patch]$ unzip p34754463_12.2.0_R12_LINUX.zip
[applmgr@proderpappl patch]$ ll
total 6716
drwxr-xr-x 7 applmgr dba 4096 Dec 24 17:14 10117518_CUP13
drwxr-xr-x 103 applmgr dba 4096 Dec 24 17:30 34754463
-rw-r--r-- 1 applmgr dba 142331 Dec 24 12:49 admrgpch.log
drwxr-xr-x 4 applmgr dba 167 Dec 24 12:47 AD_source
drwxr-xr-x 3 applmgr dba 166 Dec 22 17:33 etpat-at
-rw-r--r-- 1 applmgr dba 6720961 Dec 9 21:43 p34754463_12.2.0_R12_LINUX.zip
drwxr-xr-x 8 applmgr dba 4096 Dec 22 18:00 stage
[applmgr@proderpappl ~]$ cd /apps/EBS122/fs_ne/EBSapps/patch/34754463
[applmgr@proderpappl 34754463]$ adpatch preinstall=y
Merge the patch drivers in <APPL_TOP>/admin/<TWO_TASK>/preinstall directory with the 12.2.0 upgrade driver $AU_TOP/patch/115/driver/u10124646.drv.
Note: All the patch driver files located under <APPL_TOP>/admin/<TWO_TASK>/preinstall are merged with the 12.2.0
upgrade driver <AU_TOP>/patch/115/driver/u10124646.drv. Therefore, you should evaluate the content of the <APPL_TOP>/admin/<TWO_TASK>/preinstall
directory and retain only those patch drivers (including u34754463.drv) that are to be merged with 12.2.0 upgrade driver, u10124646.drv.
Merge patch drivers in the run file system <APPL_TOP>/admin/<TWO_TASK>/preinstall directory with <AU_TOP>/patch/115/driver/u10124646.drv as follows.
Change directory to <AU_TOP>/patch/115/driver and run the following commands:
$ cd $AU_TOP/patch/115/driver
$ admrgpch -d . -preinstall -master u10124646.drv
The default merged driver by name u_merged.drv is then created in the specified destination directory.
[applmgr@proderpappl 34754463]$ cd $APPL_TOP/admin/$TWO_TASK/preinstall
[applmgr@proderpappl preinstall]$ ll
total 344
-rw-r--r-- 1 applmgr dba 351440 Dec 24 17:38 u34754463.drv
[applmgr@proderpappl preinstall]$ cd $AU_TOP/patch/115/driver
[applmgr@proderpappl driver]$ ll
total 95484
-rwxr-xr-x 1 applmgr dba 242 Dec 24 17:34 augenmsg.drvx
-rwxr-xr-x 1 applmgr dba 755 Nov 24 2012 ausstats.drvx
-rw-r--r-- 1 applmgr dba 83457868 Nov 25 2012 u10124646.drv
-rw-r--r-- 1 applmgr dba 14305818 Nov 25 2012 u10201000.drv
[applmgr@proderpappl driver]$ pwd
/apps/EBS122/fs1/EBSapps/appl/au/12.0.0/patch/115/driver
[applmgr@proderpappl driver]$ admrgpch -d . -preinstall -master u10124646.drv
Executing the merge of the patch drivers
-- Processing file: /apps/EBS122/fs1/EBSapps/appl/admin/PROD/preinstall/u34754463.drv
-- Done processing file: /apps/EBS122/fs1/EBSapps/appl/admin/PROD/preinstall/u34754463.drv
-- Processing file: u10124646.drv
-- Done processing file: u10124646.drv
2 unified drivers merged.
Patch merge completed successfully
Please check the log file at ./admrgpch.log.
Apply merge driver the patch
[applmgr@proderpappl driver]$ ll
total 177384
-rw-r--r-- 1 applmgr dba 1083 Dec 31 12:36 admrgpch.log
-rwxr-xr-x 1 applmgr dba 242 Dec 24 17:34 augenmsg.drvx
-rwxr-xr-x 1 applmgr dba 755 Nov 24 2012 ausstats.drvx
-rw-r--r-- 1 applmgr dba 83457868 Nov 25 2012 u10124646.drv
-rw-r--r-- 1 applmgr dba 14305818 Nov 25 2012 u10201000.drv
-rw-r--r-- 1 applmgr dba 83860487 Dec 31 12:36 u_merged.drv
[applmgr@proderpappl driver]$ adpatch options=nocopyportion,nogenerateportion
The default directory is [/apps/EBS122/fs1/EBSapps/appl/au/12.0.0/patch/115/driver] :
u_merged.drv
Do you want to run AutoPatch with these actions turned off [Yes] ?
enter
Done purging timing information for prior sessions.
AutoPatch is complete.
AutoPatch may have written informational messages to the file
/apps/EBS122/fs1/EBSapps/appl/admin/PROD/log/u_merged.lgi
Errors and warnings are listed in the log file
/apps/EBS122/fs1/EBSapps/appl/admin/PROD/log/u_merged.log
and in other log files in the same directory.
[applmgr@proderpappl driver]$
Runs apporx 4 hrs
Disable Maintenance Mode:
On run file system fs1
Using adadmin
[applmgr@proderpappl driver]$ adadmin
Step 13: Make appsutil on application node
Fs1 environment file
perl $AD_TOP/bin/admkappsutil.pl
[applmgr@proderpappl driver]$ perl $AD_TOP/bin/admkappsutil.pl
Starting the generation of appsutil.zip
Log file located at /apps/EBS122/fs1/inst/apps/PROD_proderpappl/admin/log/MakeAppsUtil_12311637.log
output located at /apps/EBS122/fs1/inst/apps/PROD_proderpappl/admin/out/appsutil.zip
MakeAppsUtil completed successfully.
[applmgr@proderpappl driver]$
Transfer to database node oracle home and unzip appsutil.zip in $ORACLE_HOME
[oracle@proderpdb ~]$ cd /oradata/prod/app/oracle/product/19.3.0
[oracle@proderpdb 19.3.0]$ unzip -o appsutil.zip
Step 14: On DB node
[oracle@proderpdb 19.3.0]$ sqlplus apps/appsvis@PROD
SQL*Plus: Release 19.0.0.0.0 - Production on Wed Dec 31 16:51:10 2025
Version 19.28.0.0.0
Copyright (c) 1982, 2025, Oracle. All rights reserved.
Last Successful login time: Wed Dec 31 2025 16:48:52 +05:30
Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.28.0.0.0
SQL> EXEC FND_CONC_CLONE.SETUP_CLEAN;
PL/SQL procedure successfully completed.
SQL> commit;
Commit complete.
SQL> exit
Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.28.0.0.0
[oracle@proderpdb 19.3.0]$
Source PDB environment file
[oracle@proderpdb 19.3.0]$ cd /oradata/prod/app/oracle/product/19.3.0/appsutil/bin
Run Autoconfig on database
[oracle@proderpdb bin]$ sh adconfig.sh contextfile=/oradata/prod/app/oracle/product/19.3.0/appsutil/PROD_proderpdb.xml
Enter the APPS user password:
The log file for this session is located at: /oradata/prod/app/oracle/product/19.3.0/appsutil/log/PROD_proderpdb/12311700/adconfig.log
AutoConfig is configuring the Database environment...
AutoConfig will consider the custom templates if present.
Using ORACLE_HOME location : /oradata/prod/app/oracle/product/19.3.0
Classpath : :/oradata/prod/app/oracle/product/19.3.0/jdbc/lib/ojdbc8.jar:/oradata/prod/app/oracle/product/19.3.0/appsutil/java/xmlparserv2.jar:/oradata/prod/app/oracle/product/19.3.0/appsutil/java:/oradata/prod/app/oracle/product/19.3.0/jlib/netcfg.jar:/oradata/prod/app/oracle/product/19.3.0/jlib/ldapjclnt19.jar
Using Context file : /oradata/prod/app/oracle/product/19.3.0/appsutil/PROD_proderpdb.xml
Context Value Management will now update the Context file
Updating Context file...COMPLETED
Attempting upload of Context file and templates to database...COMPLETED
Updating rdbms version in Context file to db19
Updating rdbms type in Context file to 64 bits
Configuring templates from ORACLE_HOME ...
AutoConfig completed successfully.
[oracle@proderpdb bin]$
Step 15: On Application Tier:
. Source run file system
[applmgr@proderpappl driver]$. /apps/EBS122/fs1/EBSapps/appl/APPSPROD_proderpappl.env
[applmgr@proderpappl driver]$ cd $AD_TOP/patch/115/sql
[applmgr@proderpappl sql]$ sqlplus apps/appsvis @txkDropAdxPreAutoConfig.sql
SQL*Plus: Release 10.1.0.5.0 - Production on Wed Dec 31 17:08:03 2025
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Table ADX_PRE_AUTOCONFIG dropped
Synonym ADX_PRE_AUTOCONFIG does not exist
PL/SQL procedure successfully completed.
Commit complete.
Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
[applmgr@proderpappl sql]$
[applmgr@proderpappl sql]$ sqlplus apps/appsvis
SQL*Plus: Release 10.1.0.5.0 - Production on Wed Dec 31 17:14:54 2025
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
SQL> DROP INDEX JTF.JTF_AMV_ITEMS_URL_CTX;
Index dropped.
SQL> exit
Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
[applmgr@proderpappl sql]$ cd $ADMIN_SCRIPTS_HOME
[applmgr@proderpappl scripts]$ pwd
/apps/EBS122/fs1/inst/apps/PROD_proderpappl/admin/scripts
[applmgr@proderpappl scripts]$ ll
total 192
-rwx------ 1 applmgr dba 10457 Dec 24 17:37 adadminsrvctl.sh
-rwx------ 1 applmgr dba 7649 Dec 24 17:37 adalnctl.sh
-rwx------ 1 applmgr dba 7924 Dec 24 17:37 adapcctl.sh
-rwx------ 1 applmgr dba 1526 Dec 24 17:37 adautocfg.sh
-rwx------ 1 applmgr dba 18405 Dec 24 17:37 adcmctl.sh
-rwx------ 1 applmgr dba 7472 Dec 24 17:37 adexecsql.pl
-rwx------ 1 applmgr dba 10566 Dec 24 17:37 adformsrvctl.sh
-rwx------ 1 applmgr dba 13770 Dec 24 17:37 admanagedsrvctl.sh
-rwx------ 1 applmgr dba 8241 Dec 24 17:37 adnodemgrctl.sh
-rwx------ 1 applmgr dba 9060 Dec 24 17:37 adopmnctl.sh
-rwx------ 1 applmgr dba 17853 Dec 24 17:37 adpreclone.pl
-rwx------ 1 applmgr dba 10805 Dec 24 17:37 adstpall.sh
-rwx------ 1 applmgr dba 10698 Dec 24 17:37 adstrtal.sh
-rwx------ 1 applmgr dba 2620 Dec 24 17:37 cz64bitengine.pl
-rwx------ 1 applmgr dba 2221 Dec 24 17:37 gsmstart.sh
drwxr-xr-x 2 applmgr dba 158 Dec 22 15:33 ieo
-rwx------ 1 applmgr dba 2548 Dec 24 17:37 java.sh
-rwx------ 1 applmgr dba 7154 Dec 24 17:37 jtffmctl.sh
drwxr-xr-x 2 applmgr dba 26 Dec 22 15:33 msc
-rwxrwxr-- 1 applmgr dba 6644 Dec 24 17:37 mwactl.sh
-rwxrwxr-- 1 applmgr dba 6629 Dec 24 17:37 mwactlwrpr.sh
[applmgr@proderpappl scripts]$ sh adautocfg.sh
Enter the APPS user password:
The log file for this session is located at: /apps/EBS122/fs1/inst/apps/PROD_proderpappl/admin/log/12311724/adconfig.log
AutoConfig is configuring the Applications environment...
AutoConfig will consider the custom templates if present.
Using CONFIG_HOME location : /apps/EBS122/fs1/inst/apps/PROD_proderpappl
Classpath : /apps/EBS122/fs1/FMW_Home/Oracle_EBS-app1/shared-libs/ebs-appsborg/WEB-INF/lib/ebsAppsborgManifest.jar:/apps/EBS122/fs1/EBSapps/comn/java/classes
Using Context file : /apps/EBS122/fs1/inst/apps/PROD_proderpappl/appl/admin/PROD_proderpappl.xml
Context Value Management will now update the Context file
Updating Context file...COMPLETED
Attempting upload of Context file and templates to database...COMPLETED
Configuring templates from all of the product tops...
Configuring AD_TOP........COMPLETED
Configuring FND_TOP.......COMPLETED
Configuring ICX_TOP.......COMPLETED
Configuring MSC_TOP.......COMPLETED
Configuring IEO_TOP.......COMPLETED
Configuring BIS_TOP.......COMPLETED
Configuring CZ_TOP........COMPLETED
Configuring AMS_TOP.......COMPLETED
Configuring CCT_TOP.......COMPLETED
Configuring WSH_TOP.......COMPLETED
Configuring CLN_TOP.......COMPLETED
Configuring OKE_TOP.......COMPLETED
Configuring OKL_TOP.......COMPLETED
Configuring OKS_TOP.......COMPLETED
Configuring CSF_TOP.......COMPLETED
Configuring IBY_TOP.......COMPLETED
Configuring JTF_TOP.......COMPLETED
Configuring MWA_TOP.......COMPLETED
Configuring CN_TOP........COMPLETED
Configuring CSI_TOP.......COMPLETED
Configuring WIP_TOP.......COMPLETED
Configuring CSE_TOP.......COMPLETED
Configuring EAM_TOP.......COMPLETED
Configuring FTE_TOP.......COMPLETED
Configuring ONT_TOP.......COMPLETED
Configuring AR_TOP........COMPLETED
Configuring AHL_TOP.......COMPLETED
Configuring IES_TOP.......COMPLETED
Configuring OZF_TOP.......COMPLETED
Configuring CSD_TOP.......COMPLETED
Configuring IGC_TOP.......COMPLETED
AutoConfig completed successfully.
[applmgr@proderpappl scripts]$
Make sure autoconfig is completed successfully.
Step 16: Run Rapidwiz: applmgr to upgrade the Application now.
[applmgr@proderpappl scripts]$ cd /apps/stage122/startCD/Disk1/rapidwiz
[applmgr@proderpappl rapidwiz]$ ll
total 68
drwxr-xr-x 3 applmgr dba 4096 Dec 18 15:22 bin
-rw-r--r-- 1 root root 2135 Jan 20 2016 checkOS.sh
-rwxr-xr-x 1 applmgr dba 556 Jan 20 2016 ClientWiz.cmd
drwxr-xr-x 6 applmgr dba 56 Jan 20 2016 driver
drwxr-xr-x 3 applmgr dba 4096 Dec 19 11:59 etc
drwxr-xr-x 2 applmgr dba 22 Dec 18 15:22 File
drwxr-xr-x 4 applmgr dba 47 Dec 18 15:22 images
drwxr-xr-x 5 applmgr dba 4096 Dec 18 15:22 jlib
drwxr-xr-x 10 applmgr dba 120 Dec 18 15:21 jre
drwxr-xr-x 3 applmgr dba 21 Jan 20 2016 oui
-rwxr-xr-x 1 applmgr dba 6710 Jan 20 2016 rapidwiz
-rwxr-xr-x 1 applmgr dba 1929 Jan 20 2016 RapidWiz.cmd
-rwxr-xr-x 1 applmgr dba 23268 Jan 20 2016 RapidWiz.ini
-rwxr-xr-x 1 applmgr dba 1092 Jan 20 2016 RapidWizVersion
-rwxr-xr-x 1 applmgr dba 357 Jan 20 2016 RapidWizVersion.cmd
drwxr-xr-x 4 applmgr dba 48 Dec 31 2015 TechInstallers
drwxr-xr-x 2 applmgr dba 4096 Dec 18 15:22 template
drwxr-xr-x 9 applmgr dba 102 Jan 20 2016 unzip
drwxr-xr-x 2 applmgr dba 96 Dec 18 15:22 Xpatches
[applmgr@proderpappl rapidwiz]$ ./rapidwiz
Rapid Install Wizard is validating your file system......
CMDDIR=/apps/stage122/startCD/Disk1/rapidwiz
Rapid Install Wizard will now launch the Java Interface.....
[applmgr@proderpappl rapidwiz]$
Second Appltop logfile - /apps/EBS122/fs2/inst/apps/PROD_proderpappl/logs/12311733.log
First Appltop logfile - /apps/EBS122/fs1/inst/apps/PROD_proderpappl/logs/12311733.log
[applmgr@proderpappl rapidwiz]$
Tooks 1 hrs to complete.
Step 17: Run Adadmin after rapidwiz completes:
Source run file system
adadmin
[applmgr@proderpappl ~]$. /apps/EBS122/fs1/EBSapps/appl/APPSPROD_proderpappl.env
[applmgr@proderpappl ~]$ adadmin
Regenerate jar files:
1 > 4
Do you wish to force regeneration of all jar files? [No] ? Yes
Recompile APPS
3 > 1
Type "No" when prompt for Run Invoker Rights processing in incremental mode [No] ? Press Enter
Regenerate forms and pll's
1 > 2
All Enter Enter Enter
Recompile Menus
3 > 2
Do you wish to force compilation of all menus? [No] ? Yes
Recompile APPS
3 > 1
Type "No" when prompt for Run Invoker Rights processing in incremental mode [No] ? Press Enter
Exit
Step 18: Run ChkFormsDeployment:
. Source run file system
. /apps/EBS122/fs1/EBSapps/appl/APPSPROD_proderpappl.env
perl $FND_TOP/bin/txkrun.pl -script=ChkFormsDeployment
*** LaTEST frmall.jar has NOT been copied ***
Copying the laTEST JAR file...
=============================================
Copying the laTEST JAR file
Successfully Completed the script
cd $ORACLE_HOME/forms/lib
make -f ins_forms.mk sharedlib
make -f ins_forms.mk install
cd $ORACLE_HOME/reports/lib
make -f ins_reports.mk install
adrelink.sh force=y link_debug=y "fnd fndfmxit.so"
adrelink is exiting with status 0
cd $ADMIN_SCRIPTS_HOME
sh adautocfg.sh
AutoConfig completed successfully.
Step 19: Database Node Run Autoconfig and Restart DB.
. /oradata/prod/app/oracle/product/19.3.0/PROD_proderpdb.env
cd /oradata/prod/app/oracle/product/19.3.0/appsutil/scripts/PROD_proderpdb
sh adautocfg.sh
AutoConfig completed successfully.
Bounce the Database:
. /oradata/prod/app/oracle/product/19.3.0/PRODCDB_proderpdb.env
sqlplus / as sysdba
shu immediate;
startup;
Step 20: Gather Stats on Database
Connect as sys dba and run gather stats
Source CDB environment
. /oradata/prod/app/oracle/product/19.3.0/PRODCDB_proderpdb.env
export ORACLE_PDB_SID=PROD
sqlplus / as sysdba
begin
dbms_stats.gather_schema_stats(
'SYS',
options=>'GATHER STALE',
estimate_percent =>
DBMS_STATS.AUTO_SAMPLE_SIZE,
method_opt => 'FOR ALL COLUMNS SIZE AUTO',
cascade => TRUE);
end;
/
commit;
exit;
Step 21: Run adgrants on database and provide few manually.
make sure we have latest adgrants file on DB server (In $ORACLE_HOME/appsutil/admin). else copy latest version from apps server.
Source CDB environment
. /oradata/prod/app/oracle/product/19.3.0/PRODCDB_proderpdb.env
export ORACLE_PDB_SID=PROD
cd /oradata/prod/app/oracle/product/19.3.0/appsutil/admin
strings -a adgrants.sql | grep '$Header'
REM $Header: adgrants.sql 120.67.12020000.69 2020/03/20 00:56:38 jwsmith ship $
sqlplus /nolog
@adgrants.sql apps
ignore warnings
exit
Source CDB environment
. /oradata/prod/app/oracle/product/19.3.0/PRODCDB_proderpdb.env
export ORACLE_PDB_SID=PROD
sqlplus / as sysdba
CREATE OR REPLACE PUBLIC SYNONYM "V$SYSTEM_PARAMETER2" FOR "SYS"."V_$SYSTEM_PARAMETER2" ;
grant select on sys.V_$SYSTEM_PARAMETER2 to apps ;
grant select on sys.AUX_STATS$ to apps;
grant select on DBA_STAT_EXTENSIONS to apps;
grant select on DBA_TABLES to apps;
grant select on WRI$_OPTSTAT_TAB_HISTORY to apps;
grant select on WRI$_OPTSTAT_IND_HISTORY to apps;
grant select on DBA_INDEXES to apps;
grant select on DBA_OBJECTS to apps;
grant select on DBA_SCHEDULER_JOBS to apps;
grant select on sys.V$CELL_STATE to apps;
Step 22: Run Online patch readiness script and validate. If required fix the issues.
Create the Online Patching log file location and set it as the current directory and run the following Readiness reports:
. RUN file system
. /apps/EBS122/fs1/EBSapps/appl/APPSPROD_proderpappl.env
mkdir $LOG_HOME/appl/op
cd $LOG_HOME/appl/op
sqlplus system/manager @$AD_TOP/sql/ADZDPSUM.sql
mv adzdpsum.txt adzdpsum_pre_dbprep.txt
sqlplus system/manager @$AD_TOP/sql/ADZDPMAN.sql
mv adzdpman.txt adzdpman_pre_dbprep.txt
sqlplus system/manager @$AD_TOP/sql/ADZDPAUT.sql
mv adzdpaut.txt adzdpaut_pre_dbprep.txt
sqlplus apps/appsvis @$AD_TOP/sql/ADZDEXRPT.sql
mv adzdexrpt.txt adzdexrpt_pre_dbprep.txt
Register the custom schemas as editioned.
$sqlplus apps/<apps pwd>
sqlplus apps/<appspassword> @$AD_TOP/patch/115/sql/ADZDREG.sql <system-password> <apps-username> CUSTOM_SCHEMA
sqlplus apps/appsvis @$AD_TOP/patch/115/sql/ADZDREG.sql manager apps XXNICSI
sqlplus apps/appsvis @$AD_TOP/patch/115/sql/ADZDREG.sql manager apps NICSI_CM
sqlplus apps/apps
exec sys.utl_recomp.recomp_parallel;
commit;
exit
Step 23: Verify database tablespace free space
On application node and Source the application run environment file. 12.2
perl $AD_TOP/bin/adzdreport.pl apps
a) Enter apps password (apps) when prompt to enter.
b) Select option 3 - 'Other Generic Reports'
Select the next option 3 - 'Free Space in Important Tablespaces
Step 24: Run the Online Patching Enablement - Status Report run file
This report provides an overall status of the enabling online patching process. You can run it before, during, and after the enablement patch is applied.
At this stage, you will receive report results before you enable online patching.
1. Set the current directory to $LOG_HOME/appl/op: $ cd $LOG_HOME/appl/op
2. Run the report using the following command. Ensure that you verify any invalid objects at this stage. Take special note to ensure that all
online patching objects (objects that match the pattern 'AD_ZD%') are valid:
sqlplus apps/appsvis @$AD_TOP/sql/ADZDEXRPT.sql
Step 25: Validate the Packages
validate XDB is VALID in 19c CDB
col COMP_NAME format a40
col version format a11
set pagesize 150
select comp_name, version, status from dba_registry;
Run the following scripts from the 19c oracle_home
Run database XDB scripts in PDB as SYSDBA
source $ORACLE_HOME/<CDB SID>_<HOST>.env
export ORACLE_PDB_SID=<PDB SID>
. /oradata/prod/app/oracle/product/19.3.0/PRODCDB_proderpdb.env
export ORACLE_PDB_SID=PROD
sqlplus / as sysdba
SQL> @?/rdbms/admin/dbmsxdbschmig.sql
SQL> @?/rdbms/admin/prvtxdbschmig.plb
sqlplus / as sysdba
GRANT SELECT, UPDATE, DELETE, INSERT on sys.xdb$moveSchemaTab to apps;
compile invalids using adadmin connect to the middletier as applmgr, and run:
adadmin (4 > 2) Re-create grants and synonyms for APPS schema
adadmin (3 > 1) compile APPS schema
cd /oradata/prod/app/oracle/product/19.3.0/appsutil/admin
sqlplus /nolog
@adgrants.sql apps
sqlplus apps/appsvis
select owner,object_name,object_type from dba_objects where status='INVALID' and object_name like'%ADOP%';
select owner,object_name,object_type from dba_objects where status='INVALID' and object_name like'%PREP%';
ALTER PACKAGE AD_ZD_ADOP COMPILE BODY;
alter package apps.AD_ZD_PREP compile body;
select owner,object_name,object_type from dba_objects where status='INVALID' and object_name like'%PREP%';
Step 26: Delete if any ebs_patch service exists in Database
Connect to CDB as sysdba
. /oradata/prod/app/oracle/product/19.3.0/PRODCDB_proderpdb.env
sqlplus / as sysdba
SQL> alter session set container=cdb$root;
SQL> exec DBMS_SERVICE.STOP_SERVICE('ebs_patch');
SQL> exec dbms_service.delete_service('ebs_patch');
PL/SQL procedure successfully completed.
SQL> commit;
Commit complete.
Step 27: Apply the Online Patching Enablement patch
Download patch 33993716
Download patch 13543062
On the application node and source the environment file.
Apply 33993716 Patch
. /oradata/prod/app/oracle/product/19.3.0/PRODCDB_proderpdb.env
export ORACLE_PDB_SID=PROD
cd /oradata/prod/app/oracle/product/19.3.0/appsutil/admin
sqlplus /nolog
SQL> @adgrants.sql apps
. /apps/EBS122/fs1/EBSapps/appl/APPSPROD_proderpappl.env
cd /apps/EBS_ALL_PATCH/33993716
adpatch
============================
apply 36266266 patch
apply 36663388 patch
apply 37982779 patch
apply 38222650 patch
apply 38301378 patch
Usage:
adpatch preinstall=y
============================
Apply 13543062 Patch
cd /apps/EBS_ALL_PATCH/ONLINE_ENABLEMENT_PATCH/13543062
adpatch options=hotpatch,forceapply
Monitor the Online Patching Enablement patch application. The enablement patch application may take several hours to finish.
You can monitor its progress at any time by running the DDL Status Report (ADZDSHOWDDLS.sql) as follows:
sqlplus apps/appsvis @$AD_TOP/sql/ADZDSHOWDDLS.sql
Step 28: Compile Invalid Objects Connect to sqlplus as 'apps' and run the following:
. /apps/EBS122/fs1/EBSapps/appl/APPSPROD_proderpappl.env
sqlplus apps/appsvis
exec sys.utl_recomp.recomp_parallel;
Step 29: Re-run the Online Patching Enablement Status Report after the Online Patching Enablement patch has been applied:
. Run file system
. /apps/EBS122/fs1/EBSapps/appl/APPSPROD_proderpappl.env
cd $LOG_HOME/appl/op
sqlplus apps/appsvis @$AD_TOP/sql/ADZDEXRPT.sql
mv adzdexrpt.txt adzdexrpt_post_dbprep.txt
sqlplus system/manager @$AD_TOP/sql/ADZDPSUM.sql
mv adzdpsum.txt adzdpsum_post_dbprep.txt
sqlplus system/manager @$AD_TOP/sql/ADZDPMAN.sql
mv adzdpman.txt adzdpman_post_dbprep.txt
sqlplus system/manager @$AD_TOP/sql/ADZDPAUT.sql
mv adzdpaut.txt adzdpaut_post_dbprep.txt
==============================================
SQL> @$AD_TOP/sql/ADZDDDLERROR.sql
==============================================
Review the report outputs
Step 30: Run the Online Patching Database Compliance Checker report to check for coding standards violations:
. RUN file system
. /apps/EBS122/fs1/EBSapps/appl/APPSPROD_proderpappl.env
cd $LOG_HOME/appl/op
sqlplus apps/appsvis @$AD_TOP/sql/ADZDDBCC.sql
Step 31: On Database Node:
Make sure below parameters are included in database pfile and spfile if not enter in the spfile and bounce the database by adding them.
recyclebin=off
_SYSTEM_TRIG_ENABLED=true
SQL> show parameter recycle;
SQL> show parameter _SYSTEM_TRIG_ENABLE
=============================================================================
SQL> show parameter service;
SQL> alter system set service_names='CDBPROD','PROD','ebs_patch' scope=both;
SQL> alter system register;
SQL> show parameter service;
=============================================================================
Step 32: Copy ADFIXUSER.sql from Apps Node to DB node:
. RUN file system
. /apps/EBS122/fs1/EBSapps/appl/APPSPROD_proderpappl.env
cd $AD_TOP/patch/115/sql
Copy the ADFIXUSER.sql to DB server ORACLE_HOME/appsutil/admin
On Database Node:
CBD_ENVIRONMNET
. /oradata/prod/app/oracle/product/19.3.0/PRODCDB_proderpdb.env
export ORACLE_PDB_SID=PROD
mkdir -p /oradata/prod/app/oracle/product/19.3.0/appsutil/etcc
cd /oradata/prod/app/oracle/product/19.3.0/appsutil/admin
sqlplus / as sysdba
@ADFIXUSER.sql
Step 33: Apply latest AD and TXK patches
Release 12.2: Suite-Wide Release Update Pack and AD/TXK Delta Information (Doc ID: 1583092.1) to apply the latest AD/TXK patchsets.
AD and TXK 17 version
The latest RUPs are:
p37197085_R12.AD.C_R12_LINUX.zip(R12.AD.C.Delta.17) Patch 37197085
p37204510_R12.TXK.C_R12_GENERIC_1of3.zip(R12.TXK.C.Delta.17) Patch 37204510
p37204510_R12.TXK.C_R12_GENERIC_2of3.zip(R12.TXK.C.Delta.17) Patch 37204510
p37204510_R12.TXK.C_R12_GENERIC_3of3.zip(R12.TXK.C.Delta.17) Patch 37204510
Download the patches and keep on patch top
Download and keep all patches to the default patch location, $NE_BASE/EBSapps/patch, which is pointed to by the $PATCH_TOP environment variable and
is also where patches should be unzipped. The location must be accessible to all application tier nodes.
As per ETCC all required DB patches applied, if not then apply.
Start up the Oracle Weblogic Admin Server on the run edition application tier file system by entering the appropriate command for your platform.
. /apps/EBS122/fs1/EBSapps/appl/APPSPROD_proderpappl.env
$ sh $ADMIN_SCRIPTS_HOME/adadminsrvctl.sh start
Weblogic$123
Copy the adgrants.sql script from Patch 37197085 to the database tier server,
source $ORACLE_HOME/<CDB_NAME>_<HOSTNAME>.env
. /oradata/prod/app/oracle/product/19.3.0/PRODCDB_proderpdb.env
$ export ORACLE_PDB_SID=PROD
Run the adgrants.sql script using the appropriate command for your platform:
$ sqlplus /nolog
SQL> @$ORACLE_HOME/appsutil/admin/adgrants.sql apps
OR
SQL> @adgrants.sql apps
Please note after this adgrant.sql EBS_SYSTEM schema is created in database. it creates the EBS_SYSTEM user in a locked state.
source $ORACLE_HOME/<CDB_NAME>_<HOSTNAME>.env
. /oradata/prod/app/oracle/product/19.3.0/PRODCDB_proderpdb.env
$ export ORACLE_PDB_SID=PROD
sqlplus '/as sysdba'
ALTER USER EBS_SYSTEM ACCOUNT UNLOCK;
ALTER USER EBS_SYSTEM IDENTIFIED BY manager;
Validate that the EBS_SYSTEM and SYSTEM passwords are the same by running the adValidateEbssystemSchema.pl script from from the run edition file system, with the appropriate command for your system:
[applmgr@proderpappl ~]$ perl /apps/EBS122/fs_ne/EBSapps/patch/37197085/ad/bin/adValidateEbssystemSchema.pl
Enter the APPS password:
Enter the SYSTEM password:
Validating APPS credentials...validated successfully
Validating SYSTEM credentials...validated successfully
Validating EBS_SYSTEM user
ebssys entity is not registered
All required validations completed successfully
[applmgr@proderpappl ~]$
ON DB Server.
source $ORACLE_HOME/<CDB_NAME>_<HOSTNAME>.env
. /oradata/prod/app/oracle/product/19.3.0/PRODCDB_proderpdb.env
$ export ORACLE_PDB_SID=PROD
$ sqlplus as sysdba
SQL> grant execute on SYS.DBMS_RESULT_CACHE to APPS;
Grant succeeded.
SQL> alter package apps.AD_ZD compile body;
Package body altered.
SQL> @?/rdbms/admin/utlrp.sql
if patch issues comes then we can create below
sqlplus '/as sysdba'
create synonym apps.ADOP_VALID_NODES for applsys.ADOP_VALID_NODES;
Apply the Patch now
unset which (Issue in Linux 8)
Source run file system
. /apps/EBS122/fs1/EBSapps/appl/APPSPROD_proderpappl.env
unzip -o p37197085_R12.AD.C_R12_LINUX.zip
cd /apps/EBS122/fs_ne/EBSapps/patch/37197085
adop phase=apply patches=37197085 hotpatch=yes
unzip p37204510_R12.TXK.C_R12_GENERIC_1of3.zip
unzip p37204510_R12.TXK.C_R12_GENERIC_2of3.zip
unzip p37204510_R12.TXK.C_R12_GENERIC_3of3.zip
cd /apps/EBS122/fs_ne/EBSapps/patch/37204510
adop phase=apply patches=37204510 hotpatch=yes
Step 34: Make Appsutil directory
Source the run edition file system environment file.
$ . <EBS_ROOT>/EBSapps.env run
. /apps/EBS122/EBSapps.env run
Run the Middle Tier EBS Technology Codelevel Checker (MT-ETCC).
MT-ETCC is run as checkMTpatch.sh (UNIX) (checkMTpatch.cmd (Windows) on the run edition file system.
cd /apps/ETCC_Application_patches
./checkMTpatch.sh
Stop the Oracle WebLogic Server's Admin Server and Node Manager services
Stop the Oracle Weblogic Server Admin Server on the run edition file system.
sh $ADMIN_SCRIPTS_HOME/adadminsrvctl.sh stop
Weblogic$123
sh $ADMIN_SCRIPTS_HOME/adnodemgrctl.sh stop
Weblogic$123
perl $AD_TOP/bin/admkappsutil.pl
And copy to db tier and run autoconfig on DB and APPS:
. /oradata/prod/app/oracle/product/19.3.0/PRODCDB_proderpdb.env
cd /oradata/prod/app/oracle/product/19.3.0/appsutil/bin
sh adconfig.sh
Enter the full path to the Context file: /oradata/prod/app/oracle/product/19.3.0/appsutil/PROD_proderpdb.xml
Apply EBS 12.2.12 patch on Application:
. /apps/EBS122/fs1/EBSapps/appl/APPSPROD_proderpappl.env
cd $ADMIN_SCRIPTS_HOME
sh adautocfg.sh
Note: Chnage s_applptmp parameter in $CONTEXT_FILE: /oradata/prod/app/oracle/product/temp/PROD
=========================================================================================================================================
Step 35: Apply EBS 12.2.14 Release Update Patch
Apply Oracle E-Business Suite 12.2.14 Release Update Pack Patch 36026788 on the run edition application environment, using downtime mode.
p36026788_R12_LINUX_1of13.zip
p36026788_R12_LINUX_2of13.zip
p36026788_R12_LINUX_3of13.zip
p36026788_R12_LINUX_4of13.zip
p36026788_R12_LINUX_5of13.zip
p36026788_R12_LINUX_6of13.zip
p36026788_R12_LINUX_7of13.zip
p36026788_R12_LINUX_8of13.zip
p36026788_R12_LINUX_9of13.zip
p36026788_R12_LINUX_10of13.zip
p36026788_R12_LINUX_11of13.zip
p36026788_R12_LINUX_12of13.zip
p36026788_R12_LINUX_13of13.zip
unzipping all files
unzip -o p36026788_R12_LINUX_1of13.zip
unzip -o p36026788_R12_LINUX_2of13.zip
unzip -o p36026788_R12_LINUX_3of13.zip
unzip -o p36026788_R12_LINUX_4of13.zip
unzip -o p36026788_R12_LINUX_5of13.zip
unzip -o p36026788_R12_LINUX_6of13.zip
unzip -o p36026788_R12_LINUX_7of13.zip
unzip -o p36026788_R12_LINUX_8of13.zip
unzip -o p36026788_R12_LINUX_9of13.zip
unzip -o p36026788_R12_LINUX_10of13.zip
unzip -o p36026788_R12_LINUX_11of13.zip
unzip -o p36026788_R12_LINUX_12of13.zip
unzip -o p36026788_R12_LINUX_13of13.zip
Source the run edition applications environment.
$ . /apps/EBS122/EBSapps.env run
cd /apps/EBS122/fs_ne/EBSapps/patch/36026788
adop phase=apply apply_mode=downtime patches=36026788
If Patch fail(Mostly MTL_SYSTEM_ITEMS_B_KFV view related error)
adop phase=apply apply_mode=downtime patches=36026788 wait_on_failed_job=yes restart=yes
If Again Patch fail(Mostly MTL_SYSTEM_ITEMS_B_KFV view related error)
adop phase=apply apply_mode=downtime patches=36026788 wait_on_failed_job=yes restart=yes abandon=no
Step 36: Apply Oracle E-Business Suite Release 12.2.14 Online Help Patch
Using adop hotpatch mode on the run file system, apply Oracle E-Business Suite Release 12.2.14 Online Help Patch 36026775.
Source the run edition applications environment.
$ . /apps/EBS122/EBSapps.env run
Start admin server
sh $ADMIN_SCRIPTS_HOME/adadminsrvctl.sh start
unzip -o p36026775_R12_GENERIC.zip
cd /apps/EBS122/fs_ne/EBSapps/patch/36026775
$ adop phase=apply patches=36026775 hotpatch=yes
Step 37: Apply patches 35583866 as identified in my environment and download other required patch.
Source the run edition applications environment.
$ . /apps/EBS122/EBSapps.env run
$unzip -o p35583866_R12_GENERIC.zip
$cd /apps/EBS122/fs_ne/EBSapps/patch
$sqlplus apps/appsvis @ECPUC.sql
The following patches are required for this EBS CPU
---------------------------------------------------
p38298685_12.2.0_R12_LINUX.zip
p38261439_R12.FWK.C_R12_GENERIC.zip
p37450688_R12.OWF.C_R12_GENERIC.zip
p38180394_R12.FND.C_R12_GENERIC.zip
p38500628_R12.XDO.C_R12_GENERIC.zip
p36589745_R12.IBE.C_R12_GENERIC.zip
p38050166_R12.IEU.C_R12_GENERIC.zip
p37327694_R12.UMX.C_R12_GENERIC.zip
p37078895_R12.ATG_PF.C_R12_GENERIC.zip
p37068559_R12.GMD.C_R12_GENERIC.zip
Step 38: Perform the adop cleanup actions.
$ adop phase=cleanup
Synchronize file systems.
Synchronize the file systems using the command shown below. This action will copy the new run edition code and configuration to the other file system,
to ensure that both file systems are in sync before applying patches using the regular adop cycle on the other file system.
$ adop phase=fs_clone
Step 39: Custom Schema
Section 1: Create Custom Application Using AD Splice
Download Patch 3636980 from My Oracle Support. (This Support Diagnostics patch for AD Splice can be used with any 12.x release, not just 12.2.)
Manually copy the three .txt files from the 3636980\izu\admin directory to your own temporary directory.
Rename izuprod.txt to XXNprod.txt. In this example, we will use xxnprod.txt.
Rename izterr.txt to XXNterr.txt. In this example, we will use xxnterr.txt.
Open newprods.txt in a text editor.
In this example, the modified version of the newprods.txt file will look like the following:
[applmgr@proderpappl ~]$ cd /apps/EBS_ALL_PATCH/CUSTOM_TOP
[applmgr@proderpappl CUSTOM_TOP]$ ll
total 16
-rw-r--r-- 1 applmgr dba 13049 Dec 18 23:29 p3636980_R12_GENERIC.zip
drwxr-xr-x 2 applmgr dba 185 Jan 6 12:31 XXN
[applmgr@proderpappl CUSTOM_TOP]$ unzip -o p3636980_R12_GENERIC.zip
Archive: p3636980_R12_GENERIC.zip
inflating: 3636980/README.html
inflating: 3636980/README.txt
inflating: 3636980/patch_metadata.xml
inflating: 3636980/u3636980.drv
inflating: 3636980/f3636980.ldt
inflating: 3636980/izu/patch/115/manualsteps/izu_splice_extra.xml
inflating: 3636980/izu/patch/115/manualsteps/izu_splice_tasks.xml
inflating: 3636980/izu/admin/izuprod.txt
inflating: 3636980/izu/admin/izuterr.txt
inflating: 3636980/izu/admin/newprods.txt
inflating: 3636980/izu/admin/driver/izufile.drv
extracting: 3636980/marker1.txt
inflating: 3636980/b3636980.ldt
[applmgr@proderpappl CUSTOM_TOP]$ echo $XXN_TOP
/apps/prod/apps/apps_st/appl/XXN/12.0.0
[applmgr@proderpappl CUSTOM_TOP]$
[applmgr@proderpappl CUSTOM_TOP]$ . /apps/EBS122/EBSapps.env run
E-Business Suite Environment Information
----------------------------------------
RUN File System : /apps/EBS122/fs1/EBSapps/appl
PATCH File System : /apps/EBS122/fs2/EBSapps/appl
Non-Editioned File System : /apps/EBS122/fs_ne
DB Host: proderpdb.nicsi.in Service/SID: PROD
Sourcing the RUN File System ...
[applmgr@proderpappl CUSTOM_TOP]$ echo $XXN_TOP
/apps/prod/apps/apps_st/appl/XXN/12.0.0
[applmgr@proderpappl CUSTOM_TOP]$ echo $APPL_TOP
/apps/EBS122/fs1/EBSapps/appl
[applmgr@proderpappl CUSTOM_TOP]$ ll
total 32
drwxr-xr-x 3 applmgr dba 159 Jan 16 14:03 3636980
-rwxr-xr-x 1 applmgr dba 4966 Jan 1 2002 izuprod.txt
-rwxr-xr-x 1 applmgr dba 2889 Jan 1 2002 izuterr.txt
-rwxr-xr-x 1 applmgr dba 365 Jan 1 2002 newprods.txt
-rw-r--r-- 1 applmgr dba 13049 Dec 18 23:29 p3636980_R12_GENERIC.zip
drwxr-xr-x 2 applmgr dba 185 Jan 6 12:31 XXN
[applmgr@proderpappl CUSTOM_TOP]$ ls -ltrh
total 32K
-rwxr-xr-x 1 applmgr dba 365 Jan 1 2002 newprods.txt
-rwxr-xr-x 1 applmgr dba 2.9K Jan 1 2002 izuterr.txt
-rwxr-xr-x 1 applmgr dba 4.9K Jan 1 2002 izuprod.txt
-rw-r--r-- 1 applmgr dba 13K Dec 18 23:29 p3636980_R12_GENERIC.zip
drwxr-xr-x 2 applmgr dba 185 Jan 6 12:31 XXN
drwxr-xr-x 3 applmgr dba 159 Jan 16 14:03 3636980
[applmgr@proderpappl CUSTOM_TOP]$ grep -i IZU xxnprod.txt
# | izuprod.txt |
# | $Header: izuprod.txt 120.1 2006/09/20 15:57:48 jaobrien noship $
izu 278
278 izu IZU APP
278 IZU IZU
IZU 12.0.0
# end of izuprod.txt file
[applmgr@proderpappl CUSTOM_TOP]$ ls -ltr
total 32
-rwxr-xr-x 1 applmgr dba 2889 Jan 1 2002 xxnterr.txt
-rwxr-xr-x 1 applmgr dba 4966 Jan 1 2002 xxnprod.txt
-rwxr-xr-x 1 applmgr dba 365 Jan 1 2002 newprods.txt
-rw-r--r-- 1 applmgr dba 13049 Dec 18 23:29 p3636980_R12_GENERIC.zip
drwxr-xr-x 2 applmgr dba 185 Jan 6 12:31 XXN
drwxr-xr-x 3 applmgr dba 159 Jan 16 14:03 3636980
[applmgr@proderpappl CUSTOM_TOP]$ grep -i xxn xxnprod.txt
xxn 20003
20003 xxn XXN APP
20003 xxn XXN
XXN 12.0.0
[applmgr@proderpappl CUSTOM_TOP]$ grep -i xxn xxnprod.txt
xxn 20003
20003 xxn XXN APP
20003 XXN XXN
XXN 12.0.0
[applmgr@proderpappl CUSTOM_TOP]$ ll
total 32
drwxr-xr-x 3 applmgr dba 159 Jan 16 14:03 3636980
-rwxr-xr-x 1 applmgr dba 365 Jan 1 2002 newprods.txt
-rw-r--r-- 1 applmgr dba 13049 Dec 18 23:29 p3636980_R12_GENERIC.zip
drwxr-xr-x 2 applmgr dba 185 Jan 6 12:31 XXN
-rwxr-xr-x 1 applmgr dba 4996 Jan 16 2026 xxnprod.txt
-rwxr-xr-x 1 applmgr dba 2889 Jan 1 2002 xxnterr.txt
[applmgr@proderpappl CUSTOM_TOP]$ grep -i IZU xxnterr.txt
# | izuterr.txt |
# | $Header: izuterr.txt 120.1 2006/09/20 15:54:52 jaobrien noship $
c izu Oracle_Support_Diagnostic_Tools
# end of izuterr.txt file
[applmgr@proderpappl CUSTOM_TOP]$ grep -i izu xxnterr.txt
# | izuterr.txt |
# | $Header: izuterr.txt 120.1 2006/09/20 15:54:52 jaobrien noship $
c izu Oracle_Support_Diagnostic_Tools
# end of izuterr.txt file
[applmgr@proderpappl CUSTOM_TOP]$ grep -i xxn xxnterr.txt
c xxn xxn_custom_app
[applmgr@proderpappl CUSTOM_TOP]$ grep -i IZU xxnterr.txt
# | izuterr.txt |
# | $Header: izuterr.txt 120.1 2006/09/20 15:54:52 jaobrien noship $
# end of izuterr.txt file
[applmgr@proderpappl CUSTOM_TOP]$
[applmgr@proderpappl CUSTOM_TOP]$ ls -ltrh
total 32K
-rwxr-xr-x 1 applmgr dba 365 Jan 1 2002 newprods.txt
-rw-r--r-- 1 applmgr dba 13K Dec 18 23:29 p3636980_R12_GENERIC.zip
drwxr-xr-x 2 applmgr dba 185 Jan 6 12:31 XXNICSI
drwxr-xr-x 3 applmgr dba 159 Jan 16 14:03 3636980
-rwxr-xr-x 1 applmgr dba 4.9K Jan 16 15:10 xxnprod.txt
-rwxr-xr-x 1 applmgr dba 2.9K Jan 16 2026 xxnterr.txt
[applmgr@proderpappl CUSTOM_TOP]$ grep -i IZU xxnprod.txt
# | izuprod.txt |
# | $Header: izuprod.txt 120.1 2006/09/20 15:57:48 jaobrien noship $
# end of izuprod.txt file
[applmgr@proderpappl CUSTOM_TOP]$ grep -i IZU xxnprod.txt
[applmgr@proderpappl CUSTOM_TOP]$ grep -i izu xxnprod.txt
[applmgr@proderpappl CUSTOM_TOP]$ grep -i xxn xxnprod.txt
# | xxnprod.txt |
# | $Header: xxnprod.txt 120.1 2006/09/20 15:57:48 jaobrien noship $
xxn 20003
20003 xxn XXN APP
20003 XXN XXN
XXN 12.0.0
# end of xxnprod.txt file
[applmgr@proderpappl CUSTOM_TOP]$ grep -i xxn xxnterr.txt
# | $Header: xxnterr.txt 120.1 2006/09/20 15:54:52 jaobrien noship $
c xxn xxn_custom_app
# end of xxnterr.txt file
[applmgr@proderpappl CUSTOM_TOP]$ grep -i xxn xxnterr.txt
# | $Header: xxnterr.txt 120.1 2006/09/20 15:54:52 jaobrien noship $
c xxn xxn_custom_app
# end of xxnterr.txt file
[applmgr@proderpappl CUSTOM_TOP]$ grep -i 20003 xxnprod.txt
xxn 20003
20003 xxn XXN APP
20003 XXN XXN
[applmgr@proderpappl CUSTOM_TOP]$ grep -i 20003 xxnprod.txt
xxn 20003
20003 xxn XXN APP
20003 XXN XXN
[applmgr@proderpappl CUSTOM_TOP]$ grep -i 278 xxnprod.txt
[applmgr@proderpappl CUSTOM_TOP]$ cd $APPL_TOP
[applmgr@proderpappl appl]$ pwd
/apps/EBS122/fs1/EBSapps/appl
[applmgr@proderpappl appl]$ cd admin
[applmgr@proderpappl admin]$ ls -ltr newprods.txt xxnprod.txt xxnterr.txt
ls: cannot access newprods.txt: No such file or directory
ls: cannot access xxnicsiprod.txt: No such file or directory
ls: cannot access xxnicsiterr.txt: No such file or directory
[applmgr@proderpappl admin]$ pwd
/apps/EBS122/fs1/EBSapps/appl/admin
copy these three file in /apps/EBS122/fs1/EBSapps/appl/admin location
[applmgr@proderpappl admin]$ ls -ltr newprods.txt xxnprod.txt xxnterr.txt
-rw-r--r-- 1 applmgr dba 5008 Jan 16 15:25 xxnprod.txt
-rw-r--r-- 1 applmgr dba 2888 Jan 16 15:27 xxnterr.txt
-rw-r--r-- 1 applmgr dba 377 Jan 16 15:37 newprods.txt
Run AD Splice.
Note: In Oracle E-Business Suite Release 12.2, AD Splice first makes the new user edition-enabled, and then enables Edition-Based Redefinition (EBR) for the custom objects.
AD Splice must be run from the admin directory under $APPL_TOP, and is invoked by running the command:
$cd $APPL_TOP/admin
[applmgr@proderpappl admin] unset XXN_TOP
[applmgr@proderpappl admin]$ adsplice
Enter the password for your 'EBS_SYSTEM' ORACLE schema:
Enter the ORACLE password of Application Object Library [APPS] :
Please enter the directory where your AD Splicer control file is located.
The default directory is [/apps/EBS122/fs1/EBSapps/appl/admin] : /apps/EBS122/fs1/EBSapps/appl/admin
Please enter the name of your AD Splicer control file [newprods.txt] : newprods.txt
.
.
.
Updating Patch Advisor tables to include new product information ..
sqlplus -s APPS/***** @/apps/EBS122/fs1/EBSapps/appl/ad/12.0.0/patch/115/sql/adsqlwrapper.sql '/apps/EBS122/fs1/EBSapps/appl/ad/12.0.0/sql/adpaseed.sql *****'
Connected.
PL/SQL procedure successfully completed.
PL/SQL procedure successfully completed.
Commit complete.
Done.
Saving module actions...done.
Saving product actions...done.
Making product top directory for product "xxn"...
Directory will be /apps/EBS122/fs1/EBSapps/appl/xxn/12.0.0
Making directory "log" for product "xxn"...
Making directory "out" for product "xxn"...
Making directory "mesg" for product "xxn"...
Making directory "sql" for product "xxn"...
Creating stub file "sql/XXNNLINS.sql" for product "xxn"...
Making directory "admin/sql" for product "xxn"...
Creating stub file "admin/sql/XXNNLADD.sql" for product "xxn"...
Making directory "admin/driver" for product "xxn"...
Recording ADSPLICE action for product: xxn
Do you wish to regenerate your environment file [Yes] ? Yes
Checking if AutoConfig is enabled....
Running AutoConfig on : All products ...
STRT_TASK: [Running AutoConfig script adconfig.pl] [] [Fri Jan 16 2026 16:17:50]
The log file for this session is located at: /apps/EBS122/fs1/EBSapps/appl/admin/PROD/log/autoconfig_1.log
wlsDomainName: EBS_domain_PROD
WLS Domain Name is VALID.
AutoConfig is configuring the Applications environment...
AutoConfig will consider the custom templates if present.
Using CONFIG_HOME location : /apps/EBS122/fs1/inst/apps/PROD_proderpappl
Classpath : /apps/EBS122/fs1/FMW_Home/Oracle_EBS-app1/shared-libs/ebs-appsborg/WEB-INF/lib/ebsAppsborgManifest.jar:/apps/EBS122/fs1/EBSapps/comn/java/classes
Using Context file : /apps/EBS122/fs1/inst/apps/PROD_proderpappl/appl/admin/PROD_proderpappl.xml
Context Value Management will now update the Context file
Updating Context file...COMPLETED
Attempting upload of Context file and templates to database...COMPLETED
Configuring templates from all of the product tops...
Configuring AD_TOP........COMPLETED
Configuring FND_TOP.......COMPLETED
Configuring ICX_TOP.......COMPLETED
Configuring MSC_TOP.......COMPLETED
Configuring IEO_TOP.......COMPLETED
Configuring BIS_TOP.......COMPLETED
Configuring CZ_TOP........COMPLETED
Configuring SHT_TOP.......COMPLETED
Configuring AMS_TOP.......COMPLETED
Configuring CCT_TOP.......COMPLETED
Configuring WSH_TOP.......COMPLETED
Configuring CLN_TOP.......COMPLETED
Configuring OKE_TOP.......COMPLETED
Configuring OKL_TOP.......COMPLETED
Configuring OKS_TOP.......COMPLETED
Configuring CSF_TOP.......COMPLETED
Configuring IBY_TOP.......COMPLETED
Configuring JTF_TOP.......COMPLETED
Configuring MWA_TOP.......COMPLETED
Configuring CN_TOP........COMPLETED
Configuring CSI_TOP.......COMPLETED
Configuring WIP_TOP.......COMPLETED
Configuring CSE_TOP.......COMPLETED
Configuring EAM_TOP.......COMPLETED
Configuring GMF_TOP.......COMPLETED
Configuring PON_TOP.......COMPLETED
Configuring FTE_TOP.......COMPLETED
Configuring ONT_TOP.......COMPLETED
Configuring AR_TOP........COMPLETED
Configuring AHL_TOP.......COMPLETED
Configuring IES_TOP.......COMPLETED
Configuring OZF_TOP.......COMPLETED
Configuring CSD_TOP.......COMPLETED
Configuring IGC_TOP.......COMPLETED
AutoConfig completed successfully.
The log file is located at:
/apps/EBS122/fs1/EBSapps/appl/admin/PROD/log/autoconfig_1.log
STOP_TASK: [Running AutoConfig script adconfig.pl] [] [Fri Jan 16 2026 16:22:37]
Please check the log file for more details about the run of AutoConfig.
If you added new products, use FNDCPASS to change their default passwords.
AD Splicer is complete.
Errors and warnings are listed in the log file
/apps/EBS122/fs1/EBSapps/appl/admin/PROD/log/adsplice.log
and in other log files in the same directory.
Note: Verify Creation of Custom Product in the Database
Log in to SQL*Plus as APPS, and run the following SQL to confirm that the fnd_application table has one row:
SQL> select * from fnd_application where application_short_name = 'XXN';
This statement should return one row only. Run the following SQL to check the product installations table has one row for your custom product:
SQL> select * from fnd_product_installations where APPLICATION_ID = 20003;
This statement should return a single row. Both queries returned one row
Run the following SQL to check the database user:
SQL> select * from dba_users where username = 'XXN';
This statement should return one row only.To ensure the new environment file is picked up, log out and back in again as applmgr,
then run the following command to confirm the $XXN_TOP environment variable is correctly set:
$ env | grep XXN
Run the following command to check the file system has been created correctly. You should see a directory listing returned as shown:
[applmgr@proderpappl ~]$ . /apps/EBS122/EBSapps.env run
E-Business Suite Environment Information
----------------------------------------
RUN File System : /apps/EBS122/fs1/EBSapps/appl
PATCH File System : /apps/EBS122/fs2/EBSapps/appl
Non-Editioned File System : /apps/EBS122/fs_ne
DB Host: proderpdb.nicsi.in Service/SID: PROD
Sourcing the RUN File System ...
[applmgr@proderpappl ~]$ echo $XXN_TOP
/apps/EBS122/fs1/EBSapps/appl/xxn/12.0.0
[applmgr@proderpappl ~]$ ls $XXN_TOP
admin log mesg out sql
Note: If you have registered any schemas using the fnd_oracle_user_pkg.load_row API, their passwords will not be encrypted. As a result, adpatch and adsplice will fail.
To correct this, you need to run the FNDCPASS utility to set the password for the schemas.
[applmgr@proderpappl ~]$ FNDCPASS apps/appsvis 0 Y system/manager ORACLE XXN Welcome#123
----------Java Version Check-----------
[applmgr@proderpappl scripts]$ $AFJVAPRG -version
java version "1.7.0_481"
Java(TM) SE Runtime Environment (build 1.7.0_481-b08)
Java HotSpot(TM) 64-Bit Server VM (build 24.481-b08, mixed mode)
[applmgr@proderpappl scripts]$ cd $ORACLE_HOME
[applmgr@proderpappl 10.1.2]$ cd jdk/bin
[applmgr@proderpappl bin]$ ./java -version
java version "1.7.0_481"
Java(TM) SE Runtime Environment (build 1.7.0_481-b08)
Java HotSpot(TM) Server VM (build 24.481-b08, mixed mode)
[applmgr@proderpappl bin]$ cd /apps/EBS122/fs_ne/EBSapps/patch/EJCPUC
[applmgr@proderpappl EJCPUC]$ ll
total 220908
drwxr-xr-x 3 applmgr dba 111 Jan 16 17:43 32bit
drwxr-xr-x 3 applmgr dba 110 Jan 16 17:44 64bit
-rw-r--r-- 1 applmgr dba 12039 Oct 22 10:16 ejcpuc.cmd
-rw-r--r-- 1 applmgr dba 19985 Oct 22 10:14 ejcpuc.sh
-rw-r--r-- 1 applmgr dba 11351 Dec 30 13:35 p37171025_R12_GENERIC.zip
-rw-r--r-- 1 applmgr dba 110113039 Dec 30 15:20 p38434612_170_481_Linux-x86-64.zip
-rw-r--r-- 1 applmgr dba 116039373 Dec 30 15:18 p38434612_170_481_LINUX.zip
-rw-r--r-- 1 applmgr dba 7808 Oct 21 19:14 Readme.txt
[applmgr@proderpappl EJCPUC]$ bash ejcpuc.sh
##################################################################################
## Checking Apptier Java 7 for CPU 2025.10 on Platform Linux_x64 - need 1.7.0_481
## 2026-01-19 10:54:58 IST on proderpappl.nicsi.in
##################################################################################
2025.10 action Your Version bitness Java Location
------------ ------ ------------ ------- ---------------
1.7.0_481 OK 1.7.0_481 32-bit /apps/EBS122/fs1/EBSapps/10.1.2/jdk/bin/java
1.7.0_481 OK 1.7.0_481 32-bit /apps/EBS122/fs1/EBSapps/comn/util/jdk32/bin/java
1.7.0_481 OK 1.7.0_481 64-bit /apps/EBS122/fs1/EBSapps/comn/util/jdk64/bin/java
1.7.0_481 OK 1.7.0_481 64-bit /apps/EBS122/fs1/FMW_Home/webtier/jdk/bin/java
[applmgr@proderpappl EJCPUC]$
Run the JRE Upgrade Script (UNIX Users Only) sh $FND_TOP/bin/txkSetPlugin.sh 18451
[applmgr@proderpappl EJCPUC]$ grep s_sun_plugin_ver $CONTEXT_FILE
<sun_plugin_ver oa_var="s_sun_plugin_ver">1.6.0_27</sun_plugin_ver>
You have mail in /var/spool/mail/applmgr
[applmgr@proderpappl EJCPUC]$ cd /apps/EBS122/fs1/EBSapps/comn/webapps/oacore/util/javaplugin
[applmgr@proderpappl javaplugin]$ ll
total 53324
-rw-r--r-- 1 applmgr dba 16897824 Aug 17 2011 j2se16027.exe
-rw-r--r-- 1 applmgr dba 37697120 Dec 23 21:25 j2se18451.exe
-rw-r--r-- 1 applmgr dba 943 Aug 16 2011 readme.html
[applmgr@proderpappl javaplugin]$ sh $FND_TOP/bin/txkSetPlugin.sh 18451
/apps/EBS122/fs1/EBSapps/appl/fnd/12.0.0/bin
Starting interoperability upgrade script...
Sending logfile output to:
/apps/EBS122/fs1/inst/apps/PROD_proderpappl/logs/txkSetPlugin.log
Using the context file:
/apps/EBS122/fs1/inst/apps/PROD_proderpappl/appl/admin/PROD_proderpappl.xml
Using APPLSYS file:
/apps/EBS122/fs1/EBSapps/appl/APPSPROD_proderpappl.env
Using /apps/EBS122/fs1/EBSapps/comn/util/jdk32/jre/bin/java to execute java programs
Getting J2SE parameter values...
Installing j2se18451 with Version clsid CAFEEFAC-0018-0000-0451-ABCDEFFEDCBA
Copy oaj2se.exe to html dir...
Copying /apps/EBS122/fs1/EBSapps/comn/webapps/oacore/util/javaplugin/j2se18451.exe to /apps/EBS122/fs1/FMW_Home/Oracle_EBS-app1/applications/oacore/html/oaj2se.exe ...
Backing up the Application Context File...
/apps/EBS122/fs1/inst/apps/PROD_proderpappl/appl/admin/PROD_proderpappl.xml to /apps/EBS122/fs1/inst/apps/PROD_proderpappl/appl/admin/PROD_proderpappl.xml.prej2se18451
Using APPSWEB file /apps/EBS122/fs1/inst/apps/PROD_proderpappl/ora/10.1.2/forms/server/appsweb.cfg
Backing up the appsweb file...
Backing up /apps/EBS122/fs1/inst/apps/PROD_proderpappl/ora/10.1.2/forms/server/appsweb.cfg to /apps/EBS122/fs1/inst/apps/PROD_proderpappl/ora/10.1.2/forms/server/appsweb.cfg.prej2se18451
Updating XML context file with new J2SE parameters...
Updated J2SE plugin to jdk
Updated J2SE mimetype to 1.8.0_451
Updated J2SE Classid to CAFEEFAC-0018-0000-0451-ABCDEFFEDCBA
Enter the APPS user password:
The log file for this session is located at: /apps/EBS122/fs1/inst/apps/PROD_proderpappl/admin/log/01191101/adconfig.log
wlsDomainName: EBS_domain_PROD
WLS Domain Name is VALID.
AutoConfig is configuring the Applications environment...
AutoConfig will consider the custom templates if present.
Using CONFIG_HOME location : /apps/EBS122/fs1/inst/apps/PROD_proderpappl
Classpath : /apps/EBS122/fs1/FMW_Home/Oracle_EBS-app1/shared-libs/ebs-appsborg/WEB-INF/lib/ebsAppsborgManifest.jar:/apps/EBS122/fs1/EBSapps/comn/java/classes
Using Context file : /apps/EBS122/fs1/inst/apps/PROD_proderpappl/appl/admin/PROD_proderpappl.xml
Context Value Management will now update the Context file
Updating Context file...COMPLETED
Attempting upload of Context file and templates to database...COMPLETED
Configuring templates from all of the product tops...
Configuring AD_TOP........COMPLETED
Configuring FND_TOP.......COMPLETED
Configuring ICX_TOP.......COMPLETED
Configuring MSC_TOP.......COMPLETED
Configuring IEO_TOP.......COMPLETED
Configuring BIS_TOP.......COMPLETED
Configuring CZ_TOP........COMPLETED
Configuring SHT_TOP.......COMPLETED
Configuring AMS_TOP.......COMPLETED
Configuring CCT_TOP.......COMPLETED
Configuring WSH_TOP.......COMPLETED
Configuring CLN_TOP.......COMPLETED
Configuring OKE_TOP.......COMPLETED
Configuring OKL_TOP.......COMPLETED
Configuring OKS_TOP.......COMPLETED
Configuring CSF_TOP.......COMPLETED
Configuring IBY_TOP.......COMPLETED
Configuring JTF_TOP.......COMPLETED
Configuring MWA_TOP.......COMPLETED
Configuring CN_TOP........COMPLETED
Configuring CSI_TOP.......COMPLETED
Configuring WIP_TOP.......COMPLETED
Configuring CSE_TOP.......COMPLETED
Configuring EAM_TOP.......COMPLETED
Configuring GMF_TOP.......COMPLETED
Configuring PON_TOP.......COMPLETED
Configuring FTE_TOP.......COMPLETED
Configuring ONT_TOP.......COMPLETED
Configuring AR_TOP........COMPLETED
Configuring AHL_TOP.......COMPLETED
Configuring IES_TOP.......COMPLETED
Configuring OZF_TOP.......COMPLETED
Configuring CSD_TOP.......COMPLETED
Configuring IGC_TOP.......COMPLETED
AutoConfig completed successfully.
Done
[applmgr@proderpappl javaplugin]$ grep s_sun_plugin_ver $CONTEXT_FILE
<sun_plugin_ver oa_var="s_sun_plugin_ver">1.8.0_451</sun_plugin_ver>
[applmgr@proderpappl javaplugin]$
Step 40: Apply patchs which find out in step 37
$ source /apps/EBS122/EBSapps.env run
E-Business Suite Environment Information
----------------------------------------
RUN File System : /apps/EBS122/fs1/EBSapps/appl
PATCH File System : /apps/EBS122/fs2/EBSapps/appl
Non-Editioned File System : /apps/EBS122/fs_ne
DB Host: proderpdb.nicsi.in Service/SID: PROD
Sourcing the RUN File System ...
$ adop phase=prepare
$ adop phase=apply patches=38298685
$ perl $AD_TOP/bin/admkappsutil.pl
Copy to db tier, afterthat unzip and run autoconfig on DB and APPS:
$ adop phase=apply patches=38261439
$ adop phase=apply patches=37450688
$ adop phase=apply patches=38180394
$ adop phase=apply patches=38500628
$ adop phase=apply patches=36589745
$ adop phase=apply patches=38050166
$ adop phase=apply patches=37327694
$ adop phase=apply patches=37078895
$ adop phase=apply patches=37068559
[applmgr@proderpappl ~]$ adop phase=finalize
[applmgr@proderpappl ~]$ adop phase=cutover
[applmgr@proderpappl ~]$ source /apps/EBS122/EBSapps.env run
E-Business Suite Environment Information
----------------------------------------
RUN File System : /apps/EBS122/fs2/EBSapps/appl
PATCH File System : /apps/EBS122/fs1/EBSapps/appl
Non-Editioned File System : /apps/EBS122/fs_ne
DB Host: proderpdb.nicsi.in Service/SID: PROD
Sourcing the RUN File System ...
[applmgr@proderpappl ~]$ adop phase=cleanup
Enter the APPS password:
Enter the EBS_SYSTEM password:
Enter the WLSADMIN password:
$ cd /apps/EBS122/fs_ne/EBSapps/patch
$ sqlplus apps/appsvis @ECPUC.sql
$sqlplus apps/appsvis @$AD_TOP/patch/115/sql/ADZDKILLOLDSESSIONS.sql
$ sqlplus apps/appsvis @$AD_TOP/sql/adutlrcmp.sql
[applmgr@proderpappl ~]$ source /apps/EBS122/EBSapps.env run
[applmgr@proderpappl ~]$ adop -validate
Enter the APPS password:
Enter the EBS_SYSTEM password:
Enter the WLSADMIN password:
adop exiting with status = 0 (Success)
Step 41: Copy the custom forms and reports from the OLD EBS file system 12.1 to respective product top in R12.2 (under fs1 and fs2)
Also I will put the custom entries for adop sync.
Report: from 12.1.3 file system to 12.2.14 both fs1 and fs2
Forms: from 12.1.3 file system to 12.2.14 both fs1 and fs2
Report: from 12.1.3 file system to 12.2.14 both fs1 and fs2
cd /apps/prod/apps/apps_st/appl/XXN/12.0.0/reports/US
cp *.rdf /apps/EBS122/fs2/EBSapps/appl/xxn/12.0.0/reports/US/
cp *.rdf /apps/EBS122/fs1/EBSapps/appl/xxn/12.0.0/reports/US/
Copy prefs.ora in applmgr home dir
cp /apps/EBS122/fs1/EBSapps/10.1.2/tools/admin/prefs.ora ~
Step 42: Final steps for Apps Upgrade start application 12.2.14
[applmgr@proderpappl ~]$ cd $ADMIN_SCRIPTS_HOME
[applmgr@proderpappl scripts]$ ll
total 236
-rwx------ 1 applmgr dba 13071 Jan 21 12:50 adadminsrvctl.sh
-rwx------ 1 applmgr dba 8384 Jan 21 12:50 adalnctl.sh
-rwx------ 1 applmgr dba 7720 Jan 21 12:50 adapcctl.sh
-rwx------ 1 applmgr dba 1488 Jan 21 12:50 adautocfg.sh
-rwx------ 1 applmgr dba 19456 Jan 21 12:50 adcmctl.sh
-rwx------ 1 applmgr dba 7413 Jan 21 12:50 adexecsql.pl
-rwx------ 1 applmgr dba 12055 Jan 21 12:50 adformsrvctl.sh
-rwx------ 1 applmgr dba 18507 Jan 21 12:50 admanagedsrvctl.sh
-rwx------ 1 applmgr dba 8559 Jan 21 12:50 adnodemgrctl.sh
-rwx------ 1 applmgr dba 9060 Jan 21 12:50 adopmnctl.sh
-rwx------ 1 applmgr dba 36394 Jan 21 12:50 adpreclone.pl
-rwx------ 1 applmgr dba 11482 Jan 21 12:50 adstpall.sh
-rwx------ 1 applmgr dba 11631 Jan 21 12:50 adstrtal.sh
-rwx------ 1 applmgr dba 3713 Jan 21 12:51 cz64bitengine.pl
-rwx------ 1 applmgr dba 2437 Jan 21 12:50 gsmstart.sh
drwxr-xr-x 2 applmgr dba 158 Dec 22 15:33 ieo
-rwx------ 1 applmgr dba 4034 Jan 21 12:50 java.sh
-rwx------ 1 applmgr dba 7177 Jan 21 12:51 jtffmctl.sh
drwxr-xr-x 2 applmgr dba 26 Dec 22 15:33 msc
-rwxrwxr-- 1 applmgr dba 6661 Jan 21 12:51 mwactl.sh
-rwxrwxr-- 1 applmgr dba 7963 Jan 21 12:51 mwactlwrpr.sh
-rwx------ 1 applmgr dba 3643 Jan 21 12:51 pon64bitengine.pl
-rwx------ 1 applmgr dba 11348 Jan 21 12:51 shtiloglib.pl
[applmgr@proderpappl scripts]$ ./adstrtal.sh apps/appsvis
You are running adstrtal.sh version 120.24.12020000.11
Enter the WebLogic Server password:
All enabled services for this node are started.
adstrtal.sh: Exiting with status 0
adstrtal.sh: check the logfile /apps/EBS122/fs1/inst/apps/PROD_proderpappl/logs/appl/admin/log/adstrtal.log for more information ...
Step 43: Customer LOGO in R12.2 Login Page(ORACLE EBS)
Get the Logo from the customer.
1: Change Profile Value to the Image file name
Login to Applications as System Administrator.
Navigation : System Administrator > Profile - System.
Query profile "Corporate Branding Image for Oracle Applications".
At the Site level, enter the name of the file (custom image file e.g. my_company_logo.gif) that we copied to the OA_MEDIA directory and Save.
Save the change.
2: Copy the Image on All application servers
Open a PUTTY/WinSCP session to the Application server and source Applications environment.
Navigate to the $OA_MEDIA directory.(/apps/EBS122/fs2/EBSapps/comn/java/classes/oracle/apps/media/image_name.gif)
Copy the custom image file to this directory and make sure the image size is 155*20 pixels and permissions are set properly.
Point 2 Repeat the same steps in the Patch file system.
3: Navigate to Functional Administrator Responsibility and Clear All Cache.
4: Now clear the browser cache and access the environment. Now the new logo should be rendered.
Step 44: On DB Server as apps user recreate below DB links.
sqlplus apps/apps@prod
CREATE DATABASE LINK APPS_TO_APPS CONNECT TO APPS IDENTIFIED BY apps USING 'PROD';
CREATE DATABASE LINK EDW_APPS_TO_WH CONNECT TO APPS IDENTIFIED BY apps USING 'PROD';
Also recreate any other db link to be used.
This Completes the Upgrade of the Application to R12.2.14
Step 45: Apex Configuration
--------------Launch Apex Page-------------------------
Custom EBS 12.2.14 to APEX 24.2 Integration: LaunchApex.jsp
We didn't alter any of the original GWY.jsp code. Instead we added a piece to capture the value of the current EBS session cookie and rewrite it to another cookie that APEX will expect.
By using the GWY.jsp, in the case where someone has bookmarked the urls within EBS to launch APEX, we can lean on the session checking already included.
Anyone without a valid session will be sent to the Oracle login page.
Where does LaunchApex.jsp go on the server?
$OA_HTML should point to the running file system.
For example:
/apps/EBS122/fs1/FMW_Home/Oracle_EBS-app1/applications/oacore/html
For production you would only place in the non-running or Patch file system, then compile and wait for a patch cycle to commit to the running file system.
But in our test environment we place in both file systems
For example:
/apps/EBS122/fs1/FMW_Home/Oracle_EBS-app1/applications/oacore/html
/apps/EBS122/fs2/FMW_Home/Oracle_EBS-app1/applications/oacore/html
How is LaunchApex.jsp used?
LaunchApex.jsp will be set in the function call within EBS.
But first we have to compile the jsp and restart Weblogic so the new jsps are ready for use.
For Example:
cd /apps/EBS122/fs1/FMW_Home/Oracle_EBS-app1/applications/oacore/html
perl $FND_TOP/patch/115/bin/ojspCompile.pl --compile -s 'LaunchApex.jsp' -p 20 --retry
cd /apps/EBS122/fs2/FMW_Home/Oracle_EBS-app1/applications/oacore/html
$FND_TOP/patch/115/bin/ojspCompile.pl --compile -s 'LaunchApex.jsp' --flush
perl $FND_TOP/patch/115/bin/ojspCompile.pl --compile -s 'LaunchApex.jsp' -p 20 --retry
----In My Case copy LaunchApex.jsp from old 12.1.3 file system to 12.2.14 file system------
cd /apps/prod/apps/apps_st/comn/webapps/oacore/html
ls -l LaunchApex.jsp /apps/EBS122/fs2/FMW_Home/Oracle_EBS-app1/applications/oacore/html/
cp LaunchApex.jsp /apps/EBS122/fs2/FMW_Home/Oracle_EBS-app1/applications/oacore/html/
cp LaunchApex.jsp /apps/EBS122/fs1/FMW_Home/Oracle_EBS-app1/applications/oacore/html/
cd /apps/EBS122/fs2/FMW_Home/Oracle_EBS-app1/applications/oacore/html/
[applmgr@proderpappl html]$ perl $FND_TOP/patch/115/bin/ojspCompile.pl --compile -s 'LaunchApex.jsp' -p 20 --retry
logfile set: /apps/EBS122/fs2/inst/apps/PROD_proderpappl/logs/appl/rgf/ojsp/ojspc_error.log
starting...(compiling delta)
using 10i internal ojsp ver: 10.3.6.0
synchronizing dependency file:
loading deplist...7875
enumerating jsps...7876
updating dependency...1
parsing jsp...1
writing deplist...7876
initializing compilation:
files to compile...1
eliminating children...1 (-0)
searching uncompiled...1
translating and compiling:
searching untranslated...1
translating jsps...1/1 in 14s
compiling jsps...1/1 in 2s
Finished!