Home / APPS DBA / Apply EBS AD-TXK Release 16 Update
EBS_Latest_Configurations

Apply EBS AD-TXK Release 16 Update

Step By Step Guide to Apply Oracle E-Business Suite R12.2 ADTXK Update 16

Oracle Applications DBA (AD) and Oracle E-Business Suite Technology Stack (TXK) Release Update Packs are periodic updates provided by Oracle to enhance and maintain the technology stack components of Oracle E-Business Suite (EBS). These packs include fixes, optimizations, and new features to ensure stability, performance, and compatibility with the latest Oracle technologies.

Key Components:

  1. AD (Applications DBA):
    • Contains utilities, scripts, and tools for managing and maintaining Oracle EBS applications.
    • Covers tasks like patching, cloning, and upgrading EBS environments.
  2. TXK (Technology Stack):
    • Provides updates to the underlying technology stack of Oracle EBS, such as Oracle WebLogic Server, Oracle Fusion Middleware, and configuration files.
    • Ensures compatibility with the latest EBS versions and database releases.

 

Purpose of Release Update Packs:

  • Bug Fixes: Resolve known issues in AD and TXK components.
  • Feature Enhancements: Introduce improvements and new functionality to streamline administration tasks.
  • Compatibility Updates: Ensure integration with newer database versions (e.g., Oracle Database 19c) and middleware components.
  • Security Updates: Address vulnerabilities and enhance security configurations.

 

Benefits of AD and TXK Update Packs:

  1. Improved system stability and performance.
  2. Support for newer hardware and software configurations.
  3. Enhanced automation for routine tasks like patching and cloning.
  4. Simplified compliance with Oracle’s recommended best practices.

 

Where to Download:

  • AD and TXK Release Update Packs can be downloaded from My Oracle Support (MOS).
  • Refer to the following documents for guidance: 
    • Applying the Latest AD and TXK Release Update Packs to Oracle E-Business Suite Release 12.2 (Doc ID 1617461.1)
    • Oracle E-Business Suite Release 12.2: Consolidated List of Oracle Database Patches and Bug Fixes (Doc ID 1594274.1)

 

When to Apply:

  • During routine maintenance to keep your environment up-to-date.
  • Before upgrading your Oracle EBS or migrating to a new database version.
  • To resolve specific issues or enhance system performance.

 

These updates are essential for maintaining a robust and secure Oracle EBS environment, ensuring seamless operations and compatibility with Oracle’s evolving technology stack.

 

Pre-Requisites of AD-TXK

(ETCC) EBS Technology Codelevel Checker

Use the Below given file to Download the latest ETCC Patch and Identifying and applying the required Database and Middleware Technology Patches

Link 🔗Apply ETCC(OCT-2024) Patches

Download AD-TXK Patches

Patch R12.AD.C.delta.16: R12.AD.C.DELTA.16

Patch R12.TXK.C.delta.16: R12.TXK.C.DELTA.16

Ad critical patch

Patch 36303698: ERROR WHILE USING AD_ZD.GRANT_PRIVS AFTER APPLYING AD/TXK 15 PATCH

 

 

 

Check Database Parameter and adtxk code level

[oracle@ebs12214 ~]$ sqlplus / as sysdba

SQL*Plus: Release 19.0.0.0.0 – Production on Tue Nov 26 23:39:25 2024
Version 19.25.0.0.0

Copyright (c) 1982, 2024, Oracle.  All rights reserved.

Connected to:

Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 – Production

Version 19.25.0.0.0

SQL> show parameter _disable_actualization_for_grant

NAME                       TYPE  VALUE
———————————— ———– ——————————
_disable_actualization_for_grant     boolean     TRUE

SQL> select abbreviation, name, codelevel from ad_trackable_entities where abbreviation in( ‘ad’,’txk’,’atg_pf’)  order by abbreviation;

ABBREVIATION  NAME                                    CODELEVEL
———— —————————————- ———-
ad             Applications DBA                         C.14
atg_pf         Oracle Applications Technology Family    C.11
txk            Oracle Applications Technology Stack     C.14

 

 

Apply AD-TXK Patches

 

Prepare for Applying AD-TXK Patch

 

Source Apps Env and Run Prepare Phase

[oracle@ebs12214 ~]$ . ./EBSapps.env run

E-Business Suite Environment Information
—————————————-
RUN File System : /u01/oracle/PROD/fs1/EBSapps/appl
PATCH File System : /u01/oracle/PROD/fs2/EBSapps/appl
Non-Editioned File System : /u01/oracle/PROD/fs_ne

DB Host: ebs12214.com Service/SID: PROD

Sourcing the RUN File System …

[oracle@ebs12214 ~]$ adop phase=prepare

Enter the APPS password:
Enter the EBS_SYSTEM password:
Enter the WLSADMIN password:

Validating credentials.

Warning: WebLogic Admin Server is not running.

Trying to start Admin Server.

You are running adadminsrvctl.sh version 120.10.12020000.11

================ Note: It will take time  If fs_clone is not done in Previous Patching Cycle ===================

The prepare phase completed successfully.

adop exiting with status = 0 (Success)
[oracle@ebs12214 ~]$

 

 

Unzip AD Patches 36119925 and 36303698

[oracle@ebs12214 ~]$ cd /u01/Patches/AD_TXK
[oracle@ebs12214 AD_TXK]$ unzip -qo p36119925_R12.AD.C_R12_LINUX.zip
[oracle@ebs12214 AD_TXK]$ unzip -qo p36303698_R12.AD.C_R12_GENERIC.zip

[oracle@ebs12214 AD_TXK]$ cd 36119925/
[oracle@ebs12214 36119925]$ cd admin/

[oracle@ebs12214 admin]$ ls -ltrh adgrants.sql
-rwxr-xr-x. 1 oracle oinstall 152K Jan 1 2002 adgrants.sql

Copy adgrants.sql to Oracle DataBase Home appsutil/admin folder

[oracle@ebs12214 ~]$ cd /u01/oracle/PROD/19.0.0/appsutil ==== (Database home Directory)
[oracle@ebs12214 appsutil]$ mkdir -p admin === (create admin Directory if not available)

[oracle@ebs12214 ~]$ cd /u01/Patches/AD_TXK/36119925/admin
[oracle@ebs12214 admin]$ cp adgrants.sql /u01/oracle/PROD/19.0.0/appsutil/admin

Copy unzipped patch 36119925, 36303698 to $PATCH_TOP

[oracle@ebs12214 ~]$ cd /u01/Patches/AD_TXK
[oracle@ebs12214 AD_TXK]$ cp -pr 36119925/ $PATCH_TOP
[oracle@ebs12214 AD_TXK]$ cp -pr 36303698 $PATCH_TOP

 

 

 

 

Running ADgrants.sql

Source Database Environment File and Then Run ADgrants.sql

[oracle@ebs12214 ~]$ . ./env_prodCDB.env
[oracle@ebs12214 admin]$ export ORACLE_PDB_SID=PROD === (Export ORACLE_PDB_SID also)
[oracle@ebs12214 ~]$ cd $ORACLE_HOME/appsutil/admin
[oracle@ebs12214 admin]$ sqlplus / as sysdba @adgrants.sql apps

SQL*Plus: Release 19.0.0.0.0 – Production on Wed Nov 27 00:54:54 2024
Version 19.25.0.0.0

Copyright (c) 1982, 2024, Oracle. All rights reserved.

Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 – Production
Version 19.25.0.0.0

Current user is SYS

—————————————————
— adgrants.sql started at 2024-11-27 00:54:54 —
—————————————————
Removing logs from prior runs of adgrants.sql

Start granting from SYS to EBS_SYSTEM

End granting from SYS to EBS_SYSTEM

Completed granting and checking privileges

Generating list of ERRORS and WARNINGS to print out

CURRENT_USER
———————————————————————————————————————————————————————————————————————————————————-
SYS user ERRORS and WARNINGS will report at end of script

Creating PL/SQL profiler objects.

—————————————————
— profload.sql started at 2024-11-27 00:54:59 —

In 12.2c and beyond, the Oracle-supplied profload.sql script is a verification script, not an installation script.
Testing for correct installation
SYS.DBMS_PROFILER successfully loaded.

—————————————————–
— profload.sql completed at 2024-11-27 00:55:05 —

————————————————–
— proftab.sql started at 2024-11-27 00:55:05 —

—————————————————–
— profltab.sql completed at 2024-11-27 00:55:06 —

Installing Hierarchical Profiler.

Loading Stylesheets if missing

Begin creating the APPS_NE.ADGRANTS_VER_PKG package

End creating the APPS_NE.ADGRANTS_VER_PKG package

Executing PURGE DBA_RECYCLEBIN.

The following ERRORS and WARNINGS have been encountered during this adgrants session:

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.

Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 – Production
Version 19.25.0.0.0

 

 

 

Apply AD Patch 36119925 and 36303698

[oracle@ebs12214 ~]$ . ./EBSapps.env run

E-Business Suite Environment Information
—————————————-
RUN File System : /u01/oracle/PROD/fs1/EBSapps/appl
PATCH File System : /u01/oracle/PROD/fs2/EBSapps/appl
Non-Editioned File System : /u01/oracle/PROD/fs_ne

DB Host: ebs12214.com Service/SID: PROD

Sourcing the RUN File System …

[oracle@ebs12214 ~]$ adop phase=apply patches=36119925,36303698 merge=yes

Enter the APPS password:
Enter the EBS_SYSTEM password:
Enter the WLSADMIN password:

Validating credentials.

Initializing.
Run Edition context : /u01/oracle/PROD/fs1/inst/apps/PROD_ebs12214/appl/admin/PROD_ebs12214.xml
Patch edition context: /u01/oracle/PROD/fs2/inst/apps/PROD_ebs12214/appl/admin/PROD_ebs12214.xml
Patch file system free space: 140.57 GB

Validating system setup.
Node registry is valid.

Checking for existing adop sessions.
Continuing with existing session [Session ID: 7].

===========================================================================
ADOP (C.Delta.14)
Session ID: 7
Node: ebs12214
Phase: apply
Log: /u01/oracle/PROD/fs_ne/EBSapps/log/adop/7/20241127_010759/adop.log
===========================================================================

Starting patch merge.
Merging patches where applicable.
Log: /u01/oracle/PROD/fs_ne/EBSapps/log/adop/7/20241127_010759/apply/ebs12214/admrgpch.log -console off

Executing the merge of the patch drivers
— Processing patch: /u01/oracle/PROD/fs1/EBSapps/appl/admin/PROD/log/ADOP_MRG_20241127_1732651731/src/36303698
— Processing file: /u01/oracle/PROD/fs1/EBSapps/appl/admin/PROD/log/ADOP_MRG_20241127_1732651731/src/36303698/u36303698.drv
— Done processing file: /u01/oracle/PROD/fs1/EBSapps/appl/admin/PROD/log/ADOP_MRG_20241127_1732651731/src/36303698/u36303698.drv
— Done processing patch: /u01/oracle/PROD/fs1/EBSapps/appl/admin/PROD/log/ADOP_MRG_20241127_1732651731/src/36303698

— Processing patch: /u01/oracle/PROD/fs1/EBSapps/appl/admin/PROD/log/ADOP_MRG_20241127_1732651731/src/36119925
— Processing file: /u01/oracle/PROD/fs1/EBSapps/appl/admin/PROD/log/ADOP_MRG_20241127_1732651731/src/36119925/u36119925.drv
— Done processing file: /u01/oracle/PROD/fs1/EBSapps/appl/admin/PROD/log/ADOP_MRG_20241127_1732651731/src/36119925/u36119925.drv
— Done processing patch: /u01/oracle/PROD/fs1/EBSapps/appl/admin/PROD/log/ADOP_MRG_20241127_1732651731/src/36119925

Copying files…

5% complete. Copied 47 files of 937…
10% complete. Copied 94 files of 937…
15% complete. Copied 141 files of 937…
20% complete. Copied 188 files of 937…
25% complete. Copied 235 files of 937…
30% complete. Copied 282 files of 937…
35% complete. Copied 328 files of 937…
40% complete. Copied 375 files of 937…
45% complete. Copied 422 files of 937…
50% complete. Copied 469 files of 937…
55% complete. Copied 516 files of 937…
60% complete. Copied 563 files of 937…
65% complete. Copied 610 files of 937…
70% complete. Copied 656 files of 937…
75% complete. Copied 703 files of 937…
80% complete. Copied 750 files of 937…
85% complete. Copied 797 files of 937…
90% complete. Copied 844 files of 937…
95% complete. Copied 891 files of 937…
100% complete. Copied 937 files of 937…

Character-set converting files…

2 unified drivers merged.

Patch merge completed successfully
Please check the log file at /u01/oracle/PROD/fs_ne/EBSapps/log/adop/7/20241127_010759/apply/ebs12214/admrgpch.log.
Applying patch ADOP_MRG_20241127_1732651731:u_ad_3350299135.drv.
Log: /u01/oracle/PROD/fs_ne/EBSapps/log/adop/7/20241127_010759/apply/ebs12214/ADOP_MRG_20241127_1732651731/log/u_ad_3350299135.log

Generating post apply reports.

Generating log report.
Output: /u01/oracle/PROD/fs_ne/EBSapps/log/adop/7/20241127_010759/apply/ebs12214/adzdshowlog.out

The apply phase completed successfully.

adop exiting with status = 0 (Success)
[oracle@ebs12214 ~]$

 

 

 

Unzip and Apply TXK Patch 36117775

[oracle@ebs12214 ~]$ cd /u01/Patches/AD_TXK/
[oracle@ebs12214 AD_TXK]$ unzip -qo p36117775_R12.TXK.C_R12_GENERIC_1of3.zip
[oracle@ebs12214 AD_TXK]$ unzip -qo p36117775_R12.TXK.C_R12_GENERIC_2of3.zip
[oracle@ebs12214 AD_TXK]$ unzip -qo p36117775_R12.TXK.C_R12_GENERIC_3of3.zip
[oracle@ebs12214 AD_TXK]$ cp -pR 36117775/ $PATCH_TOP

 

Source Application Run Environment

[oracle@ebs12214 AD_TXK]$ source /u01/oracle/PROD/EBSapps.env run

E-Business Suite Environment Information
—————————————-
RUN File System : /u01/oracle/PROD/fs1/EBSapps/appl
PATCH File System : /u01/oracle/PROD/fs2/EBSapps/appl
Non-Editioned File System : /u01/oracle/PROD/fs_ne

DB Host: ebs12214.com Service/SID: PROD

Sourcing the RUN File System …

 

Apply TXK Patch

[oracle@ebs12214 AD_TXK]$ adop phase=apply patches=36117775

Enter the APPS password:
Enter the EBS_SYSTEM password:
Enter the WLSADMIN password:

Validating credentials.

Initializing.
Run Edition context : /u01/oracle/PROD/fs1/inst/apps/PROD_ebs12214/appl/admin/PROD_ebs12214.xml
Patch edition context: /u01/oracle/PROD/fs2/inst/apps/PROD_ebs12214/appl/admin/PROD_ebs12214.xml
Patch file system free space: 139.25 GB

Validating system setup.
Node registry is valid.

Checking for existing adop sessions.
Continuing with existing session [Session ID: 7].

===========================================================================
ADOP (C.Delta.16)
Session ID: 7
Node: ebs12214
Phase: apply
Log: /u01/oracle/PROD/fs_ne/EBSapps/log/adop/7/20241127_012651/adop.log
===========================================================================

Applying patch 36117775.
Log: /u01/oracle/PROD/fs_ne/EBSapps/log/adop/7/20241127_012651/apply/ebs12214/36117775/log/u36117775.log

Generating post apply reports.

Generating log report.
Output: /u01/oracle/PROD/fs_ne/EBSapps/log/adop/7/20241127_012651/apply/ebs12214/adzdshowlog.out

The apply phase completed successfully.

adop exiting with status = 0 (Success)
[oracle@ebs12214 AD_TXK]$

 

 

 

Complete Online Patching Cycle

Source Apps ENV in new Terminal

[oracle@ebs12214 ~]$ . ./EBSapps.env run

E-Business Suite Environment Information
—————————————-
RUN File System : /u01/oracle/PROD/fs1/EBSapps/appl
PATCH File System : /u01/oracle/PROD/fs2/EBSapps/appl
Non-Editioned File System : /u01/oracle/PROD/fs_ne

DB Host: ebs12214.com Service/SID: PROD

Sourcing the RUN File System …

 

Run Finalize Phae

[oracle@ebs12214 ~]$ adop phase=finalize

Enter the APPS password:
Enter the EBS_SYSTEM password:
Enter the WLSADMIN password:

Validating credentials.

Initializing.
Run Edition context : /u01/oracle/PROD/fs1/inst/apps/PROD_ebs12214/appl/admin/PROD_ebs12214.xml
Patch edition context: /u01/oracle/PROD/fs2/inst/apps/PROD_ebs12214/appl/admin/PROD_ebs12214.xml
Patch file system free space: 137.88 GB

Validating system setup.
Node registry is valid.

Checking for existing adop sessions.
Continuing with existing session [Session ID: 7].

===========================================================================
ADOP (C.Delta.16)
Session ID: 7
Node: ebs12214
Phase: finalize
Log: /u01/oracle/PROD/fs_ne/EBSapps/log/adop/7/20241127_024556/adop.log
===========================================================================

Verifying data dictionary.

Running finalize phase database actions.
Log: @ADZDSHOWLOG.sql “2024/11/27 02:46:50”
Compiling invalid objects.

Generating log report.
Output: /u01/oracle/PROD/fs_ne/EBSapps/log/adop/7/20241127_024556/finalize/ebs12214/adzdshowlog.out

The finalize phase completed successfully.

adop exiting with status = 0 (Success)

 

Run CutOver Phase

[oracle@ebs12214 ~]$ adop phase=cutover

Enter the APPS password:
Enter the EBS_SYSTEM password:
Enter the WLSADMIN password:

Validating credentials.

Initializing.
Run Edition context : /u01/oracle/PROD/fs1/inst/apps/PROD_ebs12214/appl/admin/PROD_ebs12214.xml
Patch edition context: /u01/oracle/PROD/fs2/inst/apps/PROD_ebs12214/appl/admin/PROD_ebs12214.xml
Patch file system free space: 137.88 GB

Validating system setup.
Node registry is valid.

Checking for existing adop sessions.
Continuing with existing session [Session ID: 7].

===========================================================================
ADOP (C.Delta.16)
Session ID: 7
Node: ebs12214
Phase: cutover
Log: /u01/oracle/PROD/fs_ne/EBSapps/log/adop/7/20241127_025204/adop.log
===========================================================================

Validating configuration on node: [ebs12214].
Log: /u01/oracle/PROD/fs_ne/EBSapps/log/adop/7/20241127_025204/cutover/validate/ebs12214

Checking if finalize required.
Finalize phase is not required

Submitting request for Internal Concurrent Manager shutdown.

You are running adcmctl.sh version 120.19.12020000.7

Shutting down concurrent managers for PROD …
ORACLE Password:
Submitted request 500248 for CONCURRENT FND SHUTDOWN

adcmctl.sh: exiting with status 0
adcmctl.sh: check the logfile /u01/oracle/PROD/fs1/inst/apps/PROD_ebs12214/logs/appl/admin/log/adcmctl.txt for more information …

Cancelling ADZDPATCH concurrent request

Waiting for Internal Concurrent Manager to go down.
Stopping patch edition Admin Server.
You are running adadminsrvctl.sh version 120.10.12020000.11

The AdminServer is already shutdown
AdminServer logs are located at /u01/oracle/PROD/fs2/FMW_Home/user_projects/domains/EBS_domain/servers/AdminServer/logs
adadminsrvctl.sh: exiting with status 2
adadminsrvctl.sh: check the logfile /u01/oracle/PROD/fs2/inst/apps/PROD_ebs12214/logs/appl/admin/log/adadminsrvctl.txt for more information …

Stopping patch edition Node Manager.

You are running adnodemgrctl.sh version 120.11.12020000.12

The Node Manager is already shutdown
NodeManager log is located at /u01/oracle/PROD/fs2/FMW_Home/wlserver_10.3/common/nodemanager/nmHome1
adnodemgrctl.sh: exiting with status 2

adnodemgrctl.sh: check the logfile /u01/oracle/PROD/fs2/inst/apps/PROD_ebs12214/logs/appl/admin/log/adnodemgrctl.txt for more information …

Stopping the application tier services on current node.
Log: /u01/oracle/PROD/fs_ne/EBSapps/log/adop/7/20241127_025204/cutover/ebs12214

Stopping run edition Admin Server.
You are running adadminsrvctl.sh version 120.10.12020000.11
Stopping WLS Admin Server…
Refer /u01/oracle/PROD/fs1/inst/apps/PROD_ebs12214/logs/appl/admin/log/adadminsrvctl.txt for details
AdminServer logs are located at /u01/oracle/PROD/fs1/FMW_Home/user_projects/domains/EBS_domain/servers/AdminServer/logs
adadminsrvctl.sh: exiting with status 0
adadminsrvctl.sh: check the logfile /u01/oracle/PROD/fs1/inst/apps/PROD_ebs12214/logs/appl/admin/log/adadminsrvctl.txt for more information …

Stopping run edition Node Manager.

You are running adnodemgrctl.sh version 120.11.12020000.12

NodeManager log is located at /u01/oracle/PROD/fs1/FMW_Home/wlserver_10.3/common/nodemanager/nmHome1
adnodemgrctl.sh: exiting with status 0
adnodemgrctl.sh: check the logfile /u01/oracle/PROD/fs1/inst/apps/PROD_ebs12214/logs/appl/admin/log/adnodemgrctl.txt for more information …

Running stored cutover DDLs.
Log: /u01/oracle/PROD/fs_ne/EBSapps/log/adop/7/20241127_025204/cutover/ebs12214/log/cutover.log

Loading JAR files into database.
No JAR files found to load

Performing database cutover.
Log: @ADZDSHOWLOG.sql “2024/11/27 02:57:48”

Statement handler reference is invalid.

Session killed.
Note that this is normal in the online patching cutover phase.
DB-Handle Error Code: 28
DB-Handle Error Message: ORA-00028: your session has been killed (DBD ERROR: OCIStmtExecute/Describe)
Reconnecting to the database.sh: which: line 1: syntax error: unexpected end of file

Flipping snapshots in run and patch editions.

Performing file system cutover.

Checking if file system cutover completed.

Broadcast message from oracle@ebs12214.com (somewhere) (Wed Nov 27 02:59:49 202

PROD environment has changed.
All users must re-source the environment.

Starting run edition Admin Server.

Starting application tier services.

Waiting for middle tier services to start on all available nodes.

Generating post-cutover reports.

Generating log report.
Output: /u01/oracle/PROD/fs_ne/EBSapps/log/adop/7/20241127_025204/cutover/ebs12214/adzdshowlog.out

Broadcast message from oracle@ebs12214.com (somewhere) (Wed Nov 27 03:10:01 202

PROD environment has changed.
All users must re-source the environment.

The cutover phase completed successfully.

adop exiting with status = 0 (Success)
[oracle@ebs12214 ~]$

 

 

Post AD-TXK Patch Configuration

 

Update Database Tier to Latest Autoconfig Code

Create the appsutil.zip

Update all database tier nodes with the latest AutoConfig code, by performing the following steps on the application and database tiers

Source Application Run Environment

[oracle@ebs12214 ~]$ source /u01/oracle/PROD/EBSapps.env run

E-Business Suite Environment Information
—————————————-
RUN File System : /u01/oracle/PROD/fs2/EBSapps/appl
PATCH File System : /u01/oracle/PROD/fs1/EBSapps/appl
Non-Editioned File System : /u01/oracle/PROD/fs_ne

DB Host: ebs12214.com Service/SID: PROD

Sourcing the RUN File System …

 

Run the admkappsutil.pl utility to create the appsutil.zip file in <INST_TOP>/admin/out.

[oracle@ebs12214 ~]$ perl $AD_TOP/bin/admkappsutil.pl
Starting the generation of appsutil.zip
Log file located at /u01/oracle/PROD/fs2/inst/apps/PROD_ebs12214/admin/log/MakeAppsUtil_11270317.log
output located at /u01/oracle/PROD/fs2/inst/apps/PROD_ebs12214/admin/out/appsutil.zip

MakeAppsUtil completed successfully.

 

Copy the appsutil.zip file to <RDBMS ORACLE_HOME> and Unzip

Open New Terminal Source Database Environment

[oracle@ebs12214 ~]$ . ./env_PROD.env
[oracle@ebs12214 ~]$ cd $ORACLE_HOME

 

Take Backup of Current appsutil Directory

[oracle@ebs12214 19.0.0]$ cp -pr appsutil appsutil_backup

 

Copy appsutil.zip from Application Tier to Oracle Database Home (In our case, we have Application and Database on Same Machine)

[oracle@ebs12214 19.0.0]$ cp /u01/oracle/PROD/fs2/inst/apps/PROD_ebs12214/admin/out/appsutil.zip /u01/oracle/PROD/19.0.0

 

Unzip appsutil.zip

[oracle@ebs12214 19.0.0]$ unzip -o appsutil.zip

Archive:  appsutil.zip

 

Autoconfig on DataBase and APPS Tier

 
Open New Terminal for Running Autoconfig on Database and Source DB Environment
 
[oracle@ebs12214 ~]$ source /u01/oracle/PROD/19.0.0/PROD_ebs12214.env
[oracle@ebs12214 ~]$ cd $ORACLE_HOME
[oracle@ebs12214 19.0.0]$ cd appsutil/scripts/PROD_ebs12214/
 
 
Run Autoconfig On DB
 
[oracle@ebs12214 PROD_ebs12214]$ ./adautocfg.sh 
Enter the APPS user password:
The log file for this session is located at:
/u01/oracle/PROD/19.0.0/appsutil/log/PROD_ebs12214/11270323/adconfig.log
 
AutoConfig is configuring the Database environment…
 
AutoConfig will consider the custom templates if present.
Using ORACLE_HOME location : /u01/oracle/PROD/19.0.0
 
Value of s_dbcset is US7ASCII
 
Character set is present in the allowed list. No need to add orai18n.jar to the CLASSPATH.
 
Value of s_dbcset is US7ASCII
 
Character set is present in the allowed list. No need to add orai18n.jar to the CLASSPATH.
Classpath                   : :/u01/oracle/PROD/19.0.0/jdbc/lib/ojdbc8.jar:
/u01/oracle/PROD/19.0.0/appsutil/java/xmlparserv2.jar:
/u01/oracle/PROD/19.0.0/appsutil/java:/u01/oracle/PROD/19.0.0/jlib/netcfg.jar:
/u01/oracle/PROD/19.0.0/jlib/ldapjclnt19.jar
 
Using Context file          : /u01/oracle/PROD/19.0.0/appsutil/PROD_ebs12214.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@ebs12214 PROD_ebs12214]$
 
 
 
Open New Terminal for Running Autoconfig on Application Tier
 
Source Application Environment file
 
[oracle@ebs12214 ~]$ source /u01/oracle/PROD/EBSapps.env run
 
  E-Business Suite Environment Information
  —————————————-
  RUN File System           : /u01/oracle/PROD/fs2/EBSapps/appl
  PATCH File System         : /u01/oracle/PROD/fs1/EBSapps/appl
  Non-Editioned File System : /u01/oracle/PROD/fs_ne
 
  DB Host: ebs12214.com  Service/SID: PROD
 
  Sourcing the RUN File System …
 
 
Run Autoconfig on AppsTier
 
[oracle@ebs12214 ~]$ cd $ADMIN_SCRIPTS_HOME
[oracle@ebs12214 scripts]$ ./adautocfg.sh 
Enter the APPS user password:
 
The log file for this session is located at:
/u01/oracle/PROD/fs2/inst/apps/PROD_ebs12214/admin/log/11270325/adconfig.log
 
wlsDomainName: EBS_domain
WLS Domain Name is VALID.
AutoConfig is configuring the Applications environment…
 
AutoConfig will consider the custom templates if present.
Using CONFIG_HOME location     : /u01/oracle/PROD/fs2/inst/apps/PROD_ebs12214
Classpath                   : /u01/oracle/PROD/fs2/FMW_Home/Oracle_EBS-app1/shared-libs/ebs-appsborg/WEB-INF/lib/ebsAppsborgManifest.jar:/u01/oracle/PROD/fs2/EBSapps/comn/java/classes
 
Using Context file          : /u01/oracle/PROD/fs2/inst/apps/PROD_ebs12214/appl/admin/PROD_ebs12214.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.
[oracle@ebs12214 scripts]$

 

 

 

Synchronize the File Systems

  • This action copies the new run edition code and configuration to the other file system.

  • After you apply AD-TXK Delta 16, you should run fs_clone to synchronize the run and patch file systems with the configuration changes that the new codelevel introduces.

  • If you do not run fs_clone, it will run automatically in the next prepare phase, which will consequently take more time.

 

 
Open New Terminal for Running fs_clone
 
Source Application Environment file
 
[oracle@ebs12214 ~]$ source /u01/oracle/PROD/EBSapps.env run
 
  E-Business Suite Environment Information
  —————————————-
  RUN File System           : /u01/oracle/PROD/fs2/EBSapps/appl
  PATCH File System         : /u01/oracle/PROD/fs1/EBSapps/appl
  Non-Editioned File System : /u01/oracle/PROD/fs_ne
 
  DB Host: ebs12214.com  Service/SID: PROD
 
  Sourcing the RUN File System …
 
[oracle@ebs12214 ~]$ cd $ADMIN_SCRIPTS_HOME
[oracle@ebs12214 scripts]$ adop phase=fs_clone
 
Enter the APPS password:
Enter the EBS_SYSTEM password:
Enter the WLSADMIN password:
 
Validating credentials.
Validating credentials.
Warning: WebLogic Admin Server is not running.
Trying to start Admin Server.
 
You are running adadminsrvctl.sh version 120.10.12020000.11
 
Starting WLS Admin Server…
Refer /u01/oracle/PROD/fs2/inst/apps/PROD_ebs12214/logs/appl/admin/log/adadminsrvctl.txt for details
AdminServer logs are located at
/u01/oracle/PROD/fs2/FMW_Home/user_projects/domains/EBS_domain/servers/AdminServer/logs
 
adadminsrvctl.sh: exiting with status 0
 
adadminsrvctl.sh: check the logfile
/u01/oracle/PROD/fs2/inst/apps/PROD_ebs12214/logs/appl/admin/log/adadminsrvctl.txt for more information …  
 
 
Initializing.
    Run Edition context  : /u01/oracle/PROD/fs2/inst/apps/PROD_ebs12214/appl/admin/PROD_ebs12214.xml
    Patch edition context: /u01/oracle/PROD/fs1/inst/apps/PROD_ebs12214/appl/admin/PROD_ebs12214.xml
    Patch file system free space: 137.18 GB
 
Validating system setup.
    Node registry is valid.
 
Checking for existing adop sessions.
    No pending session exists.
    Starting new adop session.
 
===========================================================================
ADOP (C.Delta.16)
Session ID: 8
Node: ebs12214
Phase: fs_clone
Log: /u01/oracle/PROD/fs_ne/EBSapps/log/adop/8/20241127_033418/adop.log
===========================================================================
 
Validating configuration on node: [ebs12214].
    Log: /u01/oracle/PROD/fs_ne/EBSapps/log/adop/8/20241127_033418/fs_clone/validate/ebs12214
[WARNING]: There could be issues while validating the ports used for E-Business Suite instance against ports
used in /etc/services. Refer the log file for more details.
 
Checking for pending cleanup actions.
    Running cleanup as it was not run in previous patching cycle.
 
Processing cleanup actions in parallel.
    Log: /u01/oracle/PROD/fs_ne/EBSapps/log/adop/8/20241127_033418/fs_clone/ebs12214/log/cleanup.log
 
Generating report of queued DDL actions.
    Output: /u01/oracle/PROD/fs_ne/EBSapps/log/adop/8/20241127_033418/fs_clone/ebs12214/adzdallddls.out
 
Running cleanup in STANDARD mode.
    Log: @ADZDSHOWLOG.sql “2024/11/27 03:39:50”
    [ERROR]     [CLEANUP 1:1 ddl_id=26909] ORA-01432: public synonym to be dropped does not exist SQL:
drop public synonym WF_ALL_JOBS force
Blocking managed server ports.
    Log: /u01/oracle/PROD/fs_ne/EBSapps/log/adop/8/20241127_033418/fs_clone/ebs12214/txkCloneAcquirePort.log
Performing CLONE steps.
    Log: /u01/oracle/PROD/fs_ne/EBSapps/log/adop/8/20241127_033418/fs_clone/ebs12214
 
Beginning application tier FSCloneStage – Wed Nov 27 03:41:07 2024
 
/u01/oracle/PROD/fs2/EBSapps/comn/util/jdk32/bin/java -Xmx600M -Doracle.jdbc.autoCommitSpecCompliant=false
-Doracle.jdbc.DateZeroTime=true -Doracle.jdbc.DateZeroTimeExtra=true -DCONTEXT_VALIDATED=false -Doracle.installer.oui_loc=/oui -classpath
/u01/oracle/PROD/fs2/FMW_Home/webtier/lib/xmlparserv2.jar:/u01/oracle/PROD/fs2/FMW_Home/oracle_common/modules/
oracle.jdbc_11.1.1/ojdbc6dms.jar:/u01/oracle/PROD/fs2/FMW_Home/oracle_common/modules/oracle.odl_11.1.1/ojdl.jar:
/u01/oracle/PROD/fs2/FMW_Home/oracle_common/modules/oracle.dms_11.1.1/dms.jar::/u01/oracle/PROD/fs2/EBSapps/comn/java/classes:
/u01/oracle/PROD/fs2/FMW_Home/webtier/oui/jlib/OraInstaller.jar:/u01/oracle/PROD/fs2/FMW_Home/webtier/oui/jlib/ewt3.jar:/
u01/oracle/PROD/fs2/FMW_Home/webtier/oui/jlib/share.jar:/u01/oracle/PROD/fs2/FMW_Home/webtier/../Oracle_EBS-app1/oui/jlib/srvm.jar:
/u01/oracle/PROD/fs2/FMW_Home/webtier/jlib/ojmisc.jar:/u01/oracle/PROD/fs2/FMW_Home/
wlserver_10.3/server/lib/weblogic.jar:/u01/oracle/PROD/fs2/FMW_Home/oracle_common/jlib/obfuscatepassword.jar 
oracle.apps.ad.clone.FSCloneStageAppsTier -e /u01/oracle/PROD/fs2/inst/apps/PROD_ebs12214/appl/admin/PROD_ebs12214.xml -targ
/u01/oracle/PROD/fs1/inst/apps/PROD_ebs12214/appl/admin/PROD_ebs12214.xml -stage /u01/oracle/PROD/fs2/EBSapps/comn/adopclone_ebs12214
-tmp /tmp -component appsTier -nopromptmsg 
Log file located at /u01/oracle/PROD/fs2/inst/apps/PROD_ebs12214/admin/log/clone/FSCloneStageAppsTier_11270341.log
Completed FSCloneStage…
Wed Nov 27 03:57:34 2024
 
Beginning application tier FSCloneApply – Wed Nov 27 04:02:13 2024
 
/u01/oracle/PROD/fs2/EBSapps/comn/adopclone_ebs12214/FMW/t2pjdk/bin/java -Xmx600M -Doracle.jdbc.autoCommitSpecCompliant=false
-Doracle.jdbc.DateZeroTime=true -Doracle.jdbc.DateZeroTimeExtra=true -DCONTEXT_VALIDATED=false -Doracle.installer.oui_loc=/oui -classpath
/u01/oracle/PROD/fs2/EBSapps/comn/adopclone_ebs12214/jlib/xmlparserv2.jar:/u01/oracle/PROD/fs2/FMW_Home/oracle_common/modules/
oracle.jdbc_11.1.1/ojdbc6dms.jar:/u01/oracle/PROD/fs2/FMW_Home/oracle_common/modules/oracle.odl_11.1.1/ojdl.jar:
/u01/oracle/PROD/fs2/FMW_Home/oracle_common/modules/oracle.dms_11.1.1/dms.jar::
u01/oracle/PROD/fs2/EBSapps/comn/adopclone_ebs12214/jlib/java:
/u01/oracle/PROD/fs2/EBSapps/comn/adopclone_ebs12214/jlib/oui/OraInstaller.jar:/u01/oracle/PROD/fs2/EBSapps/comn
/adopclone_ebs12214/jlib/oui/ewt3.jar:/u01/oracle/PROD/fs2/EBSapps/comn/adopclone_ebs12214/jlib/oui/share.jar:
/u01/oracle/PROD/fs2/FMW_Home/webtier/../Oracle_EBS-app1/oui/jlib/srvm.jar:/u01/oracle/PROD/fs2/EBSapps/comn/adopclone_ebs12214/jlib/ojmisc.jar:/u01/oracle/PROD/fs2/FMW_Home/
wlserver_10.3/server/lib/weblogic.jar:/u01/oracle/PROD/fs2/EBSapps/comn/adopclone_ebs12214/jlib/obfuscatepassword.jar 
oracle.apps.ad.clone.FSCloneApplyAppsTier -e /u01/oracle/PROD/fs2/inst/apps/PROD_ebs12214/appl/admin/PROD_ebs12214.xml -targ
/u01/oracle/PROD/fs1/inst/apps/PROD_ebs12214/appl/admin/PROD_ebs12214.xml -stage /u01/oracle/PROD/fs2/EBSapps/comn/adopclone_ebs12214 -tmp /u01/oracle/PROD/fs2/inst/apps/PROD_ebs12214/appltmp -nodbac -component appsTier -nopromptmsg 
Log file located at /u01/oracle/PROD/fs2/inst/apps/PROD_ebs12214/admin/log/clone/FSCloneApplyAppsTier_11270402.log
 
Log file located at /u01/oracle/PROD/fs2/inst/apps/PROD_ebs12214/admin/log/clone/FSCloneApplyAppsTier_11270402.log
Target System Fusion Middleware Home set to /u01/oracle/PROD/fs1/FMW_Home
Target System Web Oracle Home set to /u01/oracle/PROD/fs1/FMW_Home/webtier
Target System Appl TOP set to /u01/oracle/PROD/fs1/EBSapps/appl
Target System COMMON TOP set to /u01/oracle/PROD/fs1/EBSapps/comn
 
Target System Instance Top set to /u01/oracle/PROD/fs1/inst/apps/PROD_ebs12214
Report file located at /u01/oracle/PROD/fs1/inst/apps/PROD_ebs12214/temp/portpool.lst
The new APPL_TOP context file has been created :
  /u01/oracle/PROD/fs1/inst/apps/PROD_ebs12214/appl/admin/PROD_ebs12214.xml
contextfile=/u01/oracle/PROD/fs1/inst/apps/PROD_ebs12214/appl/admin/PROD_ebs12214.xml
 
Completed FSCloneApply…
Wed Nov 27 04:55:42 2024
Resetting FARM name…
runDomainName: EBS_domain
patchDomainName: EBS_domain
targets_xml_loc: /u01/oracle/PROD/fs1/FMW_Home/user_projects/domains/EBS_domain/sysman/state/targets.xml
 
Patch domain is not updated, no need to reset FARM name.
 
Releasing managed server ports.
    Log: /u01/oracle/PROD/fs_ne/EBSapps/log/adop/8/20241127_033418/fs_clone/ebs12214/txkCloneAcquirePort.log
 
Synchronizing snapshots.
Stopping services on patch file system.
    Stopping admin server.
 
You are running adadminsrvctl.sh version 120.10.12020000.11
 
Stopping WLS Admin Server…
 
Refer /u01/oracle/PROD/fs1/inst/apps/PROD_ebs12214/logs/appl/admin/log/adadminsrvctl.txt for details
AdminServer logs are located at /u01/oracle/PROD/fs1/FMW_Home/user_projects/domains/EBS_domain/servers/AdminServer/logs
adadminsrvctl.sh: exiting with status 0
 
adadminsrvctl.sh: check the logfile /u01/oracle/PROD/fs1/inst/apps/PROD_ebs12214/logs/appl/admin/log/adadminsrvctl.txt for more information …  
 
    Stopping node manager.
 
You are running adnodemgrctl.sh version 120.11.12020000.12
The Node Manager is already shutdown
NodeManager log is located at /u01/oracle/PROD/fs1/FMW_Home/wlserver_10.3/common/nodemanager/nmHome1
adnodemgrctl.sh: exiting with status 2
 
adnodemgrctl.sh: check the logfile /u01/oracle/PROD/fs1/inst/apps/PROD_ebs12214/logs/appl/admin/log/adnodemgrctl.txt for more information …  
 
Generating log report.
    Output: /u01/oracle/PROD/fs_ne/EBSapps/log/adop/8/20241127_033418/fs_clone/ebs12214/adzdshowlog.out
 
The fs_clone phase completed successfully.
 
adop exiting with status = 0 (Success)
[oracle@ebs12214 scripts]$

 

 

Online Patching DB Compliance Checker

 

Run the Online Patching Database Compliance Checker report to check for online patching database objects standards violations:

[oracle@ebs12214 scripts]$ sqlplus apps/apps

SQL*Plus: Release 10.1.0.5.0 – Production on Wed Nov 27 05:02:14 2024

Copyright (c) 1982, 2005, Oracle. All rights reserved.

Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 – Production

SQL> @$AD_TOP/sql/ADZDDBCC.sql

This utility reports any violations of the Online Patching Development Standards. All Oracle E-Business Suite violations are fixed by the Release 12.2 upgrade.  You must fix any object listed in this report that is part of your custom code.

 

 

 

Verify AD TXK Version Applied

 

SQL> select abbreviation, name, codelevel from ad_trackable_entities where abbreviation in( ‘ad’,’txk’,’atg_pf’)  order by abbreviation;

 

ABBREVIATION         NAME                                   CODELEVEL
————-   —————————————— ———-
ad             Applications DBA                            C.16
atg_pf         Oracle Applications Technology Family       C.11
txk            Oracle Applications Technology Stack        C.16

 

 

 

 

Hope you found this document informative and gained valuable insights.

 

 

  • 5

About Syed Saad

With 13 years of experience as a certified and skilled Oracle Database Administrator, I possess the expertise to handle various levels of database maintenance tasks and proficiently perform Oracle updates. Throughout my career, I have honed my analytical abilities, enabling me to swiftly diagnose and resolve issues as they arise. I excel in planning and executing special projects within time-sensitive environments, showcasing exceptional organizational and time management skills. My extensive knowledge encompasses directing, coordinating, and exercising authoritative control over all aspects of planning, organization, and successful project completions. Additionally, I have a strong aptitude for resolving customer relations matters by prioritizing understanding and effective communication. I am adept at interacting with customers, vendors, and management, ensuring seamless communication and fostering positive relationships.

Check Also

EBS_Latest_Configurations

Oracle EBS ETCC OCT-2024 Update

EBS Technology Codelevel Checker (ETCC) OCT-2024 Update   Introduction to ETCC  The EBS Technology Code …

Leave a Reply