Showing posts with label ADOP. Show all posts
Showing posts with label ADOP. Show all posts

Tuesday, May 19, 2026

How to build a quarterly Oracle EBS CPU patching calendar for your DBA team

How to Build a Quarterly Oracle EBS CPU Patching Calendar for Your DBA Team | punitoracledba

How to Build a Quarterly Oracle EBS CPU Patching Calendar for Your DBA Team

Reactive patching is the most expensive kind. When a CPU drops and your team scrambles to read the advisory, identify patches, raise change tickets, book a maintenance window, and coordinate with the business — all in the same week — something gets missed. That missed item is usually what causes the problem three months later.

A quarterly patching calendar eliminates that scramble. It converts CPU patching from an event that surprises your team every three months into a predictable, well-rehearsed process that runs the same way every quarter. The DBA lead knows what to do on day one. The junior DBA knows their tasks. Management knows the maintenance window dates before the CPU drops. Change management is already in motion.

This post gives you a complete framework to build that calendar — the four CPU dates for the year ahead, a week-by-week activity plan, task assignment templates, change ticket templates, and a post-patch report template ready to use with your team today.

Who this post is for: Oracle EBS DBA leads and senior DBAs managing a team of one or more people who are responsible for quarterly CPU patching across DEV, UAT, and PROD environments.

The Four CPU Release Dates — Calendar These Now

Oracle releases Critical Patch Updates on the third Tuesday of January, April, July, and October every year. A pre-release announcement is published on the Thursday preceding each release. This is predictable — you can calendar every date a year in advance.

Quarter Release Date Pre-Release Announcement Your Target Apply Date (PROD)
Q1 — January 2026 20 January 2026 15 January 2026 By 20 February 2026
Q2 — April 2026 21 April 2026 16 April 2026 By 21 May 2026
Q3 — July 2026 21 July 2026 16 July 2026 By 21 August 2026
Q4 — October 2026 20 October 2026 15 October 2026 By 20 November 2026
Q1 — January 2027 19 January 2027 14 January 2027 By 19 February 2027

The 30-day target apply date for PROD is the recommended maximum after CVE-2025-61882. For internet-facing EBS environments, treat this as a hard deadline — not a guideline. For internal-only environments, 45 days is acceptable with documented justification.

The Four-Week Patching Plan — Week by Week

The same four-week plan runs every quarter. The dates shift with each CPU release, but the activities are identical. Once your team has run this plan twice it becomes automatic.

Week 1 — CPU Release Week (Days 1 to 7)

The CPU drops. This week is about reading, not patching.

Day Activity Owner
Day 1 (Release day) Read MOS note KA923 — confirm the EBS availability document link. Open and read the CPU advisory on oracle.com/security-alerts. DBA Lead
Day 1–2 Download the latest ECPUC (Patch 35583866) and EJCPUC (Patch 37171025) from MOS. Run both against DEV to identify required patches. Senior DBA
Day 2–3 Download all patches identified by ECPUC. Read the README for each patch — note any prerequisite patches or downtime mode requirements. Senior DBA
Day 3–4 Raise the change request for DEV patching. Book the DEV maintenance window (internal — no user communication required for DEV). DBA Lead
Day 5–7 Send the patching schedule communication to UAT and PROD business owners — maintenance window dates and expected brief outage at cutover. DBA Lead

Week 2 — DEV Patching (Days 8 to 14)

Apply the full CPU cycle to the DEV environment. This is your test run and your learning opportunity.

Day Activity Owner
Day 8 Run pre-patch checklist on DEV. Confirm no stale ADOP session, disk space, invalid objects, DB editions clean, RMAN backup taken. Junior DBA
Day 8 Apply DB CPU and FMW/WebLogic patches using OPatch on DEV. Run datapatch. Apply Java CPU patches using EJCPUC output. Senior DBA
Day 9 Run ADOP dryrun on DEV with all application tier patches. Senior DBA
Day 9–10 Run full ADOP cycle on DEV — prepare, apply, finalize, cutover, cleanup. Document any issues encountered and how they were resolved. Senior DBA
Day 11–12 Run ECPUC and EJCPUC on DEV post-patch — confirm zero remaining patches. Run functional smoke tests on DEV. Junior DBA
Day 13–14 Document DEV patching outcome. Note any issues, deviations, or patches that required special handling. Update UAT runbook with lessons from DEV. DBA Lead

Week 3 — UAT Patching (Days 15 to 21)

Apply the CPU to UAT. The runbook is now refined from DEV. This should be a smoother run than DEV with no surprises.

Day Activity Owner
Day 15 Run pre-patch checklist on UAT. Take RMAN backup. Raise change ticket for UAT window. Junior DBA
Day 15–16 Apply DB CPU, FMW OPatch, and Java CPU patches to UAT using OPatch. Senior DBA
Day 16–17 Run full ADOP cycle on UAT. Brief user outage at cutover — notify UAT team in advance. Senior DBA
Day 18 Run ECPUC and EJCPUC post-patch on UAT. Confirm zero remaining patches. Junior DBA
Day 18–20 UAT functional testing by the business team. DBA team available for support. Confirm sign-off before PROD change ticket is approved. Business Team + DBA Lead
Day 21 Obtain formal UAT sign-off. Raise PROD change request. Confirm PROD maintenance window with business stakeholders. DBA Lead

Week 4 — PROD Patching (Days 22 to 30)

Apply the CPU to PROD. The runbook has been tested twice. There should be no surprises.

Day Activity Owner
Day 22 PROD change request approved. Communicate final maintenance window time to all users and management. DBA Lead
Day 24–25 Run PROD pre-patch checklist. Take RMAN full backup. Confirm all patches staged. Confirm change ticket is approved. Junior DBA + Senior DBA
Day 26 Apply DB CPU and FMW OPatch to PROD. Apply Java CPU patches. Services outage during this phase. Senior DBA
Day 27 Run full ADOP cycle on PROD. Brief user outage at cutover only. Senior DBA
Day 28 Run ECPUC and EJCPUC post-patch on PROD. Confirm zero remaining patches. Save both reports. Junior DBA
Day 28–29 Run PROD smoke tests. Confirm all services healthy. Close change ticket. Senior DBA + DBA Lead
Day 30 Publish post-patch report to management. File ECPUC reports. Update patch register. Close the quarter. DBA Lead

Task Assignment by Role

For a typical EBS DBA team of three — a lead, a senior DBA, and a junior DBA — this is the standard task split every quarter. Adjust based on your team size.

Role Responsibilities Each Quarter
DBA Lead Reads the CPU advisory on release day
Assesses risk and CVSS severity
Raises all change requests
Communicates maintenance windows to business
Obtains UAT sign-off
Publishes post-patch report to management
Maintains the patch register
Escalates to Oracle Support if issues arise
Senior DBA Downloads and reviews all patches and READMEs
Runs ECPUC and EJCPUC on all environments
Applies DB CPU and FMW OPatch patches
Runs the full ADOP cycle on all environments
Troubleshoots any apply failures
Writes and maintains the patching runbook
Mentors the junior DBA during execution
Junior DBA Runs pre-patch checklists on all environments
Monitors ADOP apply progress and worker logs
Runs post-patch ECPUC and EJCPUC checks
Runs functional smoke tests
Saves and files ECPUC reports
Updates runbook with actual timings from each environment

If you are a one-person DBA team, all of these tasks fall to you. In that case the four-week plan becomes even more important — it prevents everything from stacking in the same week and gives you breathing room between environments.

Change Ticket Template

Use this template for every CPU change request. Fill in the bracketed fields for each environment and quarter. Standardising the format means your change advisory board knows exactly what to expect every quarter — which speeds up approvals.

Change Request Template — Oracle EBS CPU Patching

Change Title: Oracle EBS R12.2 CPU [Quarter Year] — Application of Critical Patch Update — [Environment: DEV / UAT / PROD]

Change Type: Standard — Scheduled Security Maintenance

Priority: High — Security patch with CVSS [highest score from advisory]

Environment: [Environment name and server details]

Maintenance Window Start: [Date and time]

Maintenance Window End: [Date and time — allow 12 hours for PROD]

User-Facing Downtime: Brief outage of 10 to 30 minutes at ADOP cutover phase. DB and FMW OPatch phases require services down for approximately 60 to 90 minutes beforehand.

Description of Change:
Application of Oracle Critical Patch Update [Quarter Year] to Oracle E-Business Suite R12.2 and its technology stack components. This includes:
1. Oracle Database home CPU patch — applied via OPatch
2. Oracle WebLogic / FMW home patches — applied via OPatch
3. Java CPU patches across all Java homes — applied via OPatch
4. EBS application tier CPU patches — applied via ADOP online patching cycle

Patches Being Applied:
DB CPU: [Patch number]
FMW CPU: [Patch number]
EBS App Tier: [Patch numbers from ECPUC]
Java CPU: [Patch numbers from EJCPUC]

Risk Assessment: Low — patches applied to DEV and UAT without issues. RMAN backup taken prior to patching. Rollback procedure documented.

Rollback Plan: Restore from RMAN backup taken before patching. ADOP abort and cleanup available if failure occurs before cutover. Estimated rollback time: [X hours].

Testing Completed:
DEV: Applied on [date] — no issues
UAT: Applied on [date] — UAT sign-off received [date]

Post-Change Verification:
ECPUC re-run — zero remaining patches confirmed
EJCPUC re-run — zero remaining Java patches confirmed
Functional smoke tests completed
All services healthy

Patching Runbook Template

The runbook captures the exact commands and environment-specific details for each CPU cycle. Fill in the environment details once — the commands stay the same every quarter, only the patch numbers change.

EBS CPU Patching Runbook — [Quarter Year] — [Environment]

Environment Details
EBS Release: [e.g. R12.2.13]
DB Version: [e.g. 19.18.0.0]
App Tier Primary Node: [hostname]
DB Tier Node: [hostname]
ORACLE_HOME (DB): [full path]
EBS Base: [full path]
PATCH_TOP: [full path]

Patches to Apply This Quarter
DB CPU Patch: [patch number]
FMW Patch: [patch number]
Java CPU Patch: [patch number — per Java home]
EBS App Tier Patches: [from ECPUC.lst Section 3]
Prerequisite Patches: [from README]

Pre-Patch Sign-off
[ ] Pre-patch checklist completed
[ ] RMAN backup taken and verified
[ ] ECPUC run — required patches identified
[ ] EJCPUC run — Java patches identified
[ ] All patches staged in PATCH_TOP
[ ] Change ticket approved
[ ] Maintenance window communicated

Step 1 — DB CPU (OPatch)
Start time: ____   End time: ____   Status: ____
Patch applied: [patch number]
Datapatch run: Yes / No
Issues: [none / describe]

Step 2 — FMW / WebLogic OPatch
Start time: ____   End time: ____   Status: ____
Homes patched: [list each home patched]
Issues: [none / describe]

Step 3 — Java CPU (OPatch per home)
Start time: ____   End time: ____   Status: ____
Java homes patched: [list each home]
Issues: [none / describe]

Step 4 — ADOP Cycle
Prepare start: ____   End: ____
Apply start: ____   End: ____   Workers used: ____
Finalize start: ____   End: ____
Cutover start: ____   End: ____ (user outage window)
Cleanup start: ____   End: ____
Worker failures: [none / describe and resolution]

Post-Patch Verification
ECPUC re-run: [date] — Zero remaining patches: Yes / No
EJCPUC re-run: [date] — Zero remaining patches: Yes / No
Smoke tests: [pass / fail — describe any failures]
Services healthy: Yes / No
Total downtime (user-facing): ____ minutes

Post-Patch Management Report Template

Send this report to your manager and security team within 48 hours of completing PROD patching. Keep it short — one page. Managers need to know it is done, what was applied, and whether there were any issues. They do not need the ADOP command history.

Oracle EBS CPU Patching — Quarterly Status Report

Report Date: [date]
CPU Quarter: [e.g. April 2026]
Prepared by: [DBA Lead name]

Summary
The Oracle E-Business Suite Critical Patch Update for [Quarter Year] has been successfully applied to all environments. All environments are now at the current CPU patch level.

Patch Scope
Highest CVSS score addressed: [e.g. 9.8]
New EBS security patches applied: [e.g. 18]
Remotely exploitable vulnerabilities addressed: [e.g. 8]

Environment Status

Environment Patch Applied On Downtime (mins) Status
DEV [date] [X] Complete
UAT [date] [X] Complete
PROD [date] [X] Complete

Verification
ECPUC report run post-patch: Zero remaining recommended patches confirmed on all environments.
EJCPUC report run post-patch: Zero remaining Java patches confirmed on all environments.
Reports filed: [storage location]

Issues Encountered
[None — or describe any issues and their resolution]

Next CPU Date
[Next quarter release date] — planning to start on release day.

Patch Register — Track Your Patch Level Over Time

Maintain a simple patch register that records the CPU level of every environment after each quarter. This is your single source of truth for audit purposes, management reporting, and compliance reviews.

CPU Quarter Release Date DEV Applied UAT Applied PROD Applied ECPUC Clean
January 2026 20 Jan 2026 DD-Mon-YYYY DD-Mon-YYYY DD-Mon-YYYY Yes / No
April 2026 21 Apr 2026 DD-Mon-YYYY DD-Mon-YYYY DD-Mon-YYYY Yes / No
July 2026 21 Jul 2026 DD-Mon-YYYY DD-Mon-YYYY DD-Mon-YYYY Yes / No
October 2026 20 Oct 2026 DD-Mon-YYYY DD-Mon-YYYY DD-Mon-YYYY Yes / No

Store ECPUC.lst and EJCPUC report files for every environment every quarter. Name them consistently: ECPUC_PROD_APR2026.lst and EJCPUC_PROD_APR2026.txt. These are your audit evidence. If you are ever asked by auditors or management to prove your patch level at a point in time, these files are your answer.

Handling Out-of-Band Emergency Patches

The quarterly calendar handles regular CPU cycles. Emergency patches — like the October 2025 CVE-2025-61882 patch — do not wait for the quarterly cycle. You need a separate process for these.

Patch Severity Target Apply Time (PROD) Process
CVSS 9.0 or above — internet-facing EBS Within 7 days of release Emergency change request. Skip DEV dryrun if needed. Apply directly to PROD with RMAN backup and rollback plan ready.
CVSS 9.0 or above — internal EBS only Within 14 days of release Expedited change request. Apply to DEV first, then PROD within the 14-day window.
CVSS 7.0 to 8.9 Within 30 days of release Standard change request. Apply to DEV and UAT first. PROD within 30 days.
CVSS below 7.0 Next quarterly cycle Add to the next CPU cycle patch list. Do not delay the quarterly cycle for it.

Common Mistakes in Quarterly Patching Management

Mistake Consequence Prevention
Starting to read the CPU advisory on the day of patching Prerequisites missed, wrong patches downloaded, maintenance window insufficient Read the advisory on release day — always Week 1, Day 1
Skipping DEV and patching UAT first Issues discovered during UAT with no fallback — forces abort under pressure Always DEV first — that is the point of DEV
Not obtaining UAT sign-off before PROD change ticket PROD issues blamed on patching — no evidence that functional testing was done UAT sign-off is a gate — PROD change ticket cannot be raised without it
Filing no post-patch report No audit trail — next year's audit asks for proof of patch dates and you have none File the management report and ECPUC/EJCPUC reports every quarter without exception
Treating the out-of-band emergency patch as optional Critical vulnerability open for months — CVE-2025-61882 showed the consequence Emergency patches above CVSS 9.0 bypass the quarterly calendar — apply within 7 to 14 days
Not calendaring the next CPU date immediately after closing the current one Next quarter arrives without preparation — reactive patching begins again On the day you file the post-patch report, add the next CPU date to the team calendar

Summary — Starting Your Calendar This Week

You do not need to build the perfect calendar before starting. Build a simple version now and refine it after your first quarter.

  1. Add all four 2026 CPU release dates and your 30-day PROD targets to your team calendar today
  2. Copy the change ticket template and runbook template into your team's documentation system
  3. Assign the three roles — Lead, Senior DBA, Junior DBA — for the next CPU cycle
  4. Set a recurring reminder one week before each CPU release date to start Week 1 activities
  5. After your first quarter, review the actual timings vs the plan and adjust the runbook
  6. After two quarters, the process runs itself

The goal is not a perfect process. The goal is a repeatable one. A simple plan that runs every quarter is worth more than a complex one that only runs when someone remembers to start it.


OPatch vs ADOP — which patches use which tool in EBS R12.2

OPatch vs ADOP — Which Patches Use Which Tool in Oracle EBS R12.2 | punitoracledba

OPatch vs ADOP — Which Patches Use Which Tool in Oracle EBS R12.2

One of the most common questions from DBAs who are new to Oracle EBS R12.2 — and one that comes up regularly in interviews — is this: when do I use OPatch and when do I use ADOP?

The answer is straightforward once you understand that an EBS R12.2 environment is not a single layer. It has three distinct tiers — the database tier, the Fusion Middleware and WebLogic tier, and the EBS application tier — and each tier has its own patching tool. Using the wrong tool on the wrong tier does not just fail — it can leave your environment in an inconsistent state.

This post maps every patch type to the correct tool, explains why each tool is used where it is, provides the exact commands for each, and gives you a decision tree you can refer to during any patching session.

One rule to remember before reading further: adpatch is not used on R12.2. It was the patching tool for R12.1 and earlier. On R12.2, EBS application tier patches always use ADOP. This is non-negotiable — adpatch does not understand the dual-filesystem architecture of R12.2.

The Two Patching Tools — What They Are

OPatch

OPatch is Oracle's universal patching utility for Oracle software installations. It patches Oracle homes — the database home, the Oracle Fusion Middleware homes, and WebLogic homes. It works by modifying files inside a specific $ORACLE_HOME directory. OPatch knows nothing about EBS editions, dual filesystems, or ADOP sessions. It simply modifies the files in the Oracle home you point it to.

ADOP

ADOP — AD Online Patching — is the EBS-specific patching utility for the application tier. It understands the dual-filesystem architecture, the database edition model, and the five-phase patching cycle. It manages the entire online patching process from prepare through cleanup. ADOP is only used for EBS application tier patches — not for database or FMW patches.

Tool What It Patches Aware of EBS Editions Requires Services Down
OPatch Oracle homes — DB, FMW, WebLogic, OHS, Forms, Reports No Usually yes — DB must be shut down for DB patches
ADOP EBS application tier — PL/SQL, Forms, Reports, Java, seed data Yes — uses patch edition and dual filesystem No — except for brief cutover window

Which Patch Type Uses Which Tool

Patch Type Tool OS User Services During Apply
Oracle Database CPU (DB home) OPatch oracle DB must be shut down
Oracle JVM / OJVM patch (inside DB) OPatch + datapatch oracle DB shut down for OPatch, then DB up for datapatch
Oracle WebLogic Server (WLS) OPatch applmgr WebLogic Admin and Managed Servers must be down
Oracle Fusion Middleware (FMW) OPatch applmgr FMW services must be down
Oracle HTTP Server (OHS / Web Tier) OPatch applmgr OHS must be down
Oracle Forms and Reports home OPatch applmgr Forms and Reports services must be down
EBS Application Tier (CPU, one-off, RUP) ADOP applmgr Services stay up — brief cutover only
EBS NLS / Language patches ADOP applmgr Services stay up — brief cutover only
EBS AD and TXK codelevel patches ADOP applmgr Services stay up — brief cutover only
Java CPU patches (JDK in FMW homes) OPatch applmgr FMW services must be down for each Java home

Important for CPU patching: A full quarterly CPU cycle in EBS R12.2 uses both tools. OPatch is applied first to the DB home and all FMW homes. ADOP is applied after to the EBS application tier. Both are required — neither replaces the other.

Decision Tree — Which Tool to Use

Use this decision tree every time you have a patch to apply. Start at the top and follow the questions down.

Is this an EBS application tier patch? (one-off, CPU app tier, RUP, NLS, AD/TXK) | YES ────────────────────────> Use ADOP | adop phase=apply patches=<number> | NO | v Is this a Database home patch? (DB CPU, OJVM, PSU, one-off DB fix) | YES ────────────────────────> Use OPatch on $ORACLE_HOME (DB) | Shut down DB first | Run datapatch after for OJVM patches NO | v Is this a WebLogic Server patch? | YES ────────────────────────> Use OPatch on $WLS_ORACLE_HOME | Stop Admin and Managed Servers first | NO | v Is this an Oracle HTTP Server or Web Tier (OHS) patch? | YES ────────────────────────> Use OPatch on $OHS_ORACLE_HOME | Stop OHS first | NO | v Is this a Java / JDK CPU patch for an FMW Java home? | YES ────────────────────────> Use OPatch on each Java home | Run EJCPUC first to identify homes | NO | v Is this a Forms or Reports home patch? | YES ────────────────────────> Use OPatch on $FORMS_ORACLE_HOME Stop Forms and Reports services first

OPatch — Commands by Component

Database tier — DB CPU patch

Apply DB CPU using OPatch — run as oracle OS user
# Set DB Oracle home
export ORACLE_HOME=/u01/oracle/product/19.0.0/dbhome_1
export PATH=$ORACLE_HOME/OPatch:$PATH

# Check OPatch version — confirm it meets minimum requirement
opatch version

# Check for conflicts before applying
cd /stage/<db_patch_number>
opatch prereq CheckConflictAgainstOHWithDetail -ph ./

# Shut down the database and listener
sqlplus / as sysdba
SQL> shutdown immediate;
SQL> exit
lsnrctl stop

# Apply the DB CPU patch
opatch apply

# Start the database
sqlplus / as sysdba
SQL> startup;
SQL> exit
lsnrctl start

# Run datapatch to apply SQL changes (required for OJVM patches)
$ORACLE_HOME/OPatch/datapatch -verbose

# Verify patch applied
opatch lsinventory | grep <patch_number>

WebLogic Server — FMW patch

Apply FMW / WebLogic patch using OPatch — run as applmgr # Stop WebLogic Admin and Managed Servers source /u01/oracle/R122/EBSapps.env run $ADMIN_SCRIPTS_HOME/adstopWLS.sh # Set FMW Oracle home — check your environment for the correct path export ORACLE_HOME=/u01/oracle/R122/fs1/FMW_Home/Oracle_EBS-app1 export PATH=$ORACLE_HOME/OPatch:$PATH # Apply FMW patch cd /stage/<fmw_patch_number> opatch apply # Repeat for each FMW home that requires patching # Check MOS CPU note for list of homes to patch # Restart WebLogic $ADMIN_SCRIPTS_HOME/adstartWLS.sh # Verify opatch lsinventory | grep <patch_number>

Oracle HTTP Server — Web tier patch

Apply OHS patch using OPatch — run as applmgr # Stop Oracle HTTP Server $ADMIN_SCRIPTS_HOME/adopmnctl.sh stop # Set OHS Oracle home export ORACLE_HOME=/u01/oracle/R122/fs1/FMW_Home/webtier export PATH=$ORACLE_HOME/OPatch:$PATH # Apply OHS patch cd /stage/<ohs_patch_number> opatch apply # Restart OHS $ADMIN_SCRIPTS_HOME/adopmnctl.sh start # Verify opatch lsinventory | grep <patch_number>

Java CPU — per Java home

Apply Java CPU patch to each Java home using OPatch # Run EJCPUC first to identify which Java homes need patching cd /stage/ejcpuc ./ejcpuc.sh # For each Java home listed in the EJCPUC report: export JAVA_HOME=/u01/oracle/R122/fs1/FMW_Home/jdk export PATH=$JAVA_HOME/bin:$PATH # Stop services that use this Java home before patching # Then apply the Java CPU patch cd /stage/<java_cpu_patch> $JAVA_HOME/../OPatch/opatch apply # Verify $JAVA_HOME/../OPatch/opatch lsinventory | grep <patch_number> # Repeat for every Java home in the EJCPUC report

ADOP — Commands for EBS Application Tier Patches

Standard ADOP patching cycle — run as applmgr on primary node # Source run environment — always first source /u01/oracle/R122/EBSapps.env run # Dryrun before every real apply adop phase=apply patches=<patch_number> apply_mode=dryrun # Full online patching cycle adop phase=prepare adop phase=apply patches=<patch_number> workers=8 adop phase=finalize adop phase=cutover adop phase=cleanup # Check status at any point adop phase=status # Verify patch registered in AD tables sqlplus apps/<apps_password> <<EOF SELECT bug_number, last_update_date FROM ad_bugs WHERE bug_number = '<patch_number>'; EOF

ADOP commands are always run from the primary application tier node only. In a multi-node environment, ADOP automatically uses SSH to execute the required actions on all secondary nodes. You do not run ADOP on secondary nodes separately.

An Important Consideration — OPatch and the Dual Filesystem

When you apply an OPatch to an FMW home on the run filesystem, the patch filesystem is not updated automatically. This creates a discrepancy between the run and patch filesystems. If you then start an ADOP cycle, the prepare phase will detect the discrepancy and attempt to synchronise the patch filesystem.

The safest approach — and the one Oracle recommends — is to apply OPatch changes to FMW homes on both the run and patch filesystems, or to run adop phase=fs_clone after applying OPatch changes to the run filesystem. This ensures both filesystems are in sync before the next prepare phase.

Apply OPatch to both run and patch filesystem FMW homes # Apply to run filesystem FMW home first export ORACLE_HOME=/u01/oracle/R122/fs1/FMW_Home/Oracle_EBS-app1 opatch apply # Then apply to patch filesystem FMW home export ORACLE_HOME=/u01/oracle/R122/fs2/FMW_Home/Oracle_EBS-app1 opatch apply # Alternative — run fs_clone to sync patch FS from run FS # Use this only when documented by Oracle or when specifically needed adop phase=fs_clone

Verifying That Patches Are Applied

Verifying OPatch patches

Check OPatch inventory for a specific patch # List all applied patches in the Oracle home opatch lsinventory # Search for a specific patch number opatch lsinventory | grep <patch_number> # Detailed listing of a specific patch opatch lsinventory -detail | grep -A5 <patch_number>

Verifying ADOP patches

Check AD tables for EBS application tier patches sqlplus apps/<apps_password> <<EOF -- Check if patch is registered SELECT bug_number, last_update_date FROM ad_bugs WHERE bug_number = '<patch_number>'; -- More reliable check using AD_PATCH function SELECT ad_patch.is_patch_applied('R12', -1, <patch_number>) FROM dual; -- Returns: EXPLICIT = applied -- Returns: NOT APPLIED = not applied or aborted -- Check patch history for a session SELECT adop_session_id, bug_number, status, end_date FROM ad_adop_session_patches WHERE bug_number = '<patch_number>' ORDER BY end_date DESC; EOF

Use AD_PATCH.IS_PATCH_APPLIED over AD_BUGS for verification. The AD_BUGS table can contain entries for patches that were applied during a cycle that was subsequently aborted. The AD_PATCH.IS_PATCH_APPLIED function checks the actual successful application status and is therefore more reliable for confirming a patch is truly in place.

Complete CPU April 2026 Patching Sequence — Tool by Tool

This is the correct sequence for applying a full quarterly CPU in EBS R12.2. Each step uses the correct tool for that component. Do not reorder these steps.

Step Component Tool Services Required Down
1 Run ECPUC and EJCPUC — identify all required patches ECPUC / EJCPUC scripts None
2 Oracle Database home — DB CPU patch OPatch Database and listener
3 Run datapatch after DB OPatch (for OJVM patches) datapatch DB up, no user connections
4 WebLogic Server and FMW Oracle homes OPatch WebLogic Admin and Managed Servers
5 Oracle HTTP Server (OHS) home OPatch OHS / web tier services
6 Java CPU — all Java homes on app tier and DB tier OPatch (per Java home) Services using each Java home
7 EBS application tier — CPU patches from ECPUC list ADOP None — brief cutover only
8 Run ECPUC and EJCPUC again — confirm zero remaining patches ECPUC / EJCPUC scripts None

Common Mistakes — Tool Confusion in Practice

Mistake Consequence Correct Approach
Using adpatch instead of ADOP on R12.2 Patch applies to run filesystem only — does not use dual filesystem or editions — leaves system inconsistent Always use ADOP for EBS application tier patches on R12.2
Applying DB CPU with ADOP ADOP does not patch Oracle database homes — patch will not apply Use OPatch on $ORACLE_HOME (DB) with the DB shut down
Applying FMW patches with ADOP FMW homes are not part of the ADOP patching cycle — patch will not apply Use OPatch on each FMW Oracle home
Applying OPatch to run FS only and not syncing patch FS Next ADOP prepare will detect discrepancy and may fail or run fs_clone unexpectedly Apply OPatch to both filesystems or run fs_clone after
Using AD_BUGS alone to verify patch application AD_BUGS may show patches from aborted cycles as applied when they are not Use AD_PATCH.IS_PATCH_APPLIED for reliable verification
Forgetting datapatch after DB OPatch Database SQL changes from the patch are not applied — partial patch state Always run datapatch after applying DB and OJVM OPatches

Quick Reference — Tool and Command Summary

Component Tool Key Command
Oracle DB home OPatch opatch apply (DB shut down)
Oracle JVM / OJVM OPatch + datapatch opatch apply then datapatch -verbose
WebLogic / FMW homes OPatch opatch apply (WLS services down)
Oracle HTTP Server OPatch opatch apply (OHS down)
Java CPU (per home) OPatch opatch apply (services using that home down)
EBS application tier ADOP adop phase=apply patches=<number>
Verify OPatch patch OPatch opatch lsinventory | grep <patch>
Verify ADOP patch SQL AD_PATCH.IS_PATCH_APPLIED('R12',-1,<patch>)

What is Edition-Based Redefinition and why EBS R12.2 online patching works

What Is Edition-Based Redefinition and Why EBS R12.2 Online Patching Works | punitoracledba

What Is Edition-Based Redefinition and Why EBS R12.2 Online Patching Works

Every EBS R12.2 DBA uses ADOP. Very few can explain why it works. When someone asks you in an interview or a team meeting — how does EBS R12.2 allow patching while users are online? — the answer is Edition-Based Redefinition, also known as EBR.

EBR is the Oracle database feature introduced in Oracle Database 11gR2 that makes the entire online patching model possible. Without EBR, R12.2 online patching does not exist. Understanding it makes you a better EBS DBA — you will troubleshoot patching issues faster, understand error messages more clearly, and explain the architecture to your team with confidence.

This post explains EBR in plain language — no marketing language, no jargon without explanation. By the end you will understand what an edition is, what the three edition types in EBS mean, what editioned and non-editioned objects are, and exactly how all of this maps to the ADOP phases you run every quarter.

The Problem EBR Solves

Before R12.2, patching Oracle EBS required a complete application shutdown. The reason was simple: when you apply a patch, you are changing database objects — packages, procedures, views, triggers. If users are connected and actively calling those objects while you are redefining them, the results are unpredictable. Applications crash, data gets corrupted, sessions error out.

The traditional solution was to bring the system down, apply the patch, bring it back up. For large environments this meant 4 to 12 hours of downtime every quarter. Multiply that by four CPU cycles per year and you have a significant availability problem.

Oracle's answer was Edition-Based Redefinition — a way to have two versions of the same database objects exist simultaneously in the same database, visible to different sessions, without conflict.

EBR was introduced in Oracle Database 11g Release 2 (11.2.0.1) in 2009. Oracle EBS R12.2 was the first major Oracle application to adopt EBR as its core patching mechanism when it was released in 2013.

What Is a Database Edition?

The simplest way to think of an edition is as a private namespace for database code objects. An edition is a named container that holds a version of your PL/SQL packages, procedures, functions, views, and synonyms. Different sessions can connect to different editions and each session sees only the objects belonging to its edition.

Think of it like two parallel rooms in the same building. Room A has the current version of your code — users are working in there right now. Room B is a private copy of Room A where you are free to make changes. Users in Room A cannot see what you are doing in Room B and are completely unaffected by it. When you finish your changes, you open the door, users move to Room B, and Room A becomes available for the next round of changes.

That is exactly what EBR does — except the rooms are database editions and the move from one room to the other is the ADOP cutover phase.

Check editions in your EBS database
sqlplus / as sysdba <<EOF
-- List all editions in the database
SELECT edition_name,
       status,
       created
FROM   dba_editions
ORDER  BY created;

-- Check which edition the current session is using
SELECT sys_context('USERENV','SESSION_EDITION_NAME') AS current_edition
FROM   dual;
EOF

The Three Edition Types in EBS R12.2

EBS R12.2 uses three specific edition types throughout the ADOP patching cycle. Understanding what each one is and when it exists removes all confusion about what ADOP is actually doing at each phase.

Edition Type Who Connects to It When It Exists
Run Edition All online users — the default edition for all application sessions Always — it never goes away. This is what users see at all times.
Patch Edition ADOP patching tools only — users never connect to it Only during an active patching cycle — from prepare to cutover or abort
Old Edition Nobody — no connections allowed After cutover, the previous run edition becomes the old edition. Removed during cleanup.

The patch edition is always a child of the run edition. It inherits all the objects from the run edition when it is created. Objects that are not changed by the patch remain inherited from the parent — they are not duplicated. Only objects that the patch actually modifies are stored separately in the patch edition.

This is why online patching is efficient. Oracle does not create a full duplicate copy of every database object for the patch edition. It uses inheritance — the patch edition only stores what is different from the run edition. Everything else is shared.

Editioned Objects vs Non-Editioned Objects

Not all database objects can be editioned. This distinction is fundamental to understanding why some patches require downtime mode and why EBR has limits.

Editioned objects — can exist in multiple editions simultaneously

  • PL/SQL packages and package bodies
  • Procedures and functions
  • Triggers
  • Views (when defined as editioning views)
  • Synonyms
  • Types and type bodies

Non-editioned objects — exist in a single copy shared by all editions

  • Tables — the physical storage is always shared
  • Sequences
  • Materialized views
  • Certain synonyms that point to non-editioned objects
  • Database links
  • Queues

This is the direct reason why patches that modify non-editioned objects — particularly tables — require downtime mode. You cannot safely change a table structure while users in the run edition are actively reading and writing to it, because the table is shared between editions. There is only one physical copy.

When you see apply_mode=downtime in a patch README, it almost always means the patch modifies a table or other non-editioned object. The downtime mode bypasses the edition-based cycle entirely and applies the change directly to the shared object with all services down.

How EBS Handles Table Changes During Online Patching

Since tables cannot be editioned, Oracle EBS uses a clever workaround involving editioning views and cross-edition triggers to make table changes appear editioned even though the underlying table is shared.

Editioning views

In EBS R12.2, application code does not access base tables directly. Instead, it accesses them through editioning views — views that sit on top of the physical table and present a specific set of columns to each edition.

When a patch adds a new column to a table, the base table gets the new column immediately — but the run edition's editioning view does not expose it. Users in the run edition cannot see the new column. Only the patch edition's editioning view exposes it. This gives the appearance of two different table structures while there is only one physical table.

Cross-edition triggers

When a user in the run edition inserts or updates a row, that data must also be reflected correctly when the patch edition takes over at cutover. Cross-edition triggers handle this synchronisation automatically.

A forward cross-edition trigger fires on DML in the run edition and copies data into the new columns that the patch edition expects. A reverse cross-edition trigger does the opposite — it keeps the run edition's data consistent if the patch edition writes to the new columns before cutover.

This is why ADOP cutover is never truly instant even for small patches. During cutover, Oracle must fire and resolve any pending cross-edition triggers, ensure data consistency between editions, and then switch the default edition. The more active DML was happening during the patch cycle, the more work cutover has to do.

Seed data and ZD_EDITION_NAME

EBS seed data — rows in application setup tables like FND_LOOKUP_VALUES — is also versioned per edition. Each seed data table has a column called ZD_EDITION_NAME. During the apply phase, new seed data rows written by the patch are tagged with the patch edition name. Users in the run edition see only rows tagged with the run edition. At cutover, the default edition switches and users begin seeing the patch edition's seed data automatically.

The Three Filesystems and How They Map to Editions

EBR handles the database tier. The application tier has its own parallel structure based on three filesystems. Understanding how they map together completes the picture.

Filesystem Also Known As Maps to DB Edition Contents
Run filesystem fs1 or fs2 — whichever is active Run edition Forms, reports, libraries, configuration serving users right now
Patch filesystem fs1 or fs2 — whichever is inactive Patch edition Where ADOP applies patch files during the apply phase
Non-editioned filesystem fs_ne Neither — shared by both ADOP logs, patch directories, shared configuration that does not change per edition

fs1 and fs2 alternate roles with every cutover. If fs1 is the run filesystem today, it becomes the patch filesystem after the next cutover. fs2 becomes the new run filesystem. This is why you never hardcode fs1 or fs2 in your scripts — always use the environment variables $APPL_TOP (run) and source the correct environment file.

Check which filesystem is currently run vs patch # Source run environment and check source /u01/oracle/R122/EBSapps.env run echo "Run filesystem: $APPL_TOP" # Check the NE base — always the same regardless of cutover echo "Non-editioned filesystem: $NE_BASE" # Check current session edition in the database sqlplus apps/<apps_password> <<EOF SELECT sys_context('USERENV','SESSION_EDITION_NAME') FROM dual; EOF

How EBR Maps to Every ADOP Phase

With EBR understood, the five ADOP phases make complete sense. Here is exactly what is happening at the EBR level during each phase.

ADOP Phase What Happens at the EBR Level
Prepare A new patch edition is created as a child of the run edition in the database. The patch filesystem is synchronised with the run filesystem. Cross-edition triggers are put in place to keep data consistent during the patch cycle.
Apply All database object changes — packages, procedures, views — are written to the patch edition only. Users in the run edition are completely unaffected. New seed data rows are written with ZD_EDITION_NAME set to the patch edition name.
Finalize Invalid objects in the patch edition are compiled. Editioning views in the patch edition are updated to expose any new table columns added by the patch. Cross-edition triggers are validated.
Cutover The database default edition is switched from run to patch. All new sessions now connect to the new run edition. The old run edition becomes the old edition. The patch filesystem becomes the new run filesystem. Services are briefly restarted.
Cleanup The old edition is dropped from the database. Cross-edition triggers used during the patch cycle are removed. Obsolete code objects and seed data from the old edition are purged. The old patch filesystem is reset for the next cycle.

What Users Actually Experience During Each Phase

ADOP Phase User Experience Any Impact?
Prepare No change — fully connected to run edition None
Apply No change — patch edition is invisible to users None
Finalize No change — compilation happens in patch edition None
Cutover Brief disconnection while services restart — 10 to 30 minutes Yes — this is the only user-facing downtime
Cleanup No change — fully connected to new run edition Minor — cleanup may cause brief I/O spikes on large environments

Edition-Enabled Schemas in EBS

For EBR to work on a schema, that schema must be edition-enabled. In EBS R12.2, the APPS schema and all application product schemas are edition-enabled out of the box. This was done as part of the R12.2 upgrade process and cannot be reversed once enabled.

Check which schemas are edition-enabled sqlplus / as sysdba <<EOF -- List all edition-enabled schemas SELECT username, editions_enabled FROM dba_users WHERE editions_enabled = 'Y' ORDER BY username; EOF

Custom schemas: If you have custom application schemas in EBS R12.2, they must also be edition-enabled for online patching to work correctly with custom code. If a custom schema is not edition-enabled, custom PL/SQL objects in that schema will not be visible correctly across editions. Use ALTER USER <custom_schema> ENABLE EDITIONS — but note this cannot be undone.

Useful EBR Queries for EBS DBAs

EBR diagnostic queries — run as SYSTEM or APPS sqlplus / as sysdba <<EOF -- 1. All editions in the database SELECT edition_name, status, created FROM dba_editions ORDER BY created; -- 2. Current session edition SELECT sys_context('USERENV','SESSION_EDITION_NAME') AS session_edition FROM dual; -- 3. Count of objects per edition (patch vs run) SELECT edition_name, object_type, COUNT(*) AS object_count FROM dba_objects_ae WHERE owner = 'APPS' GROUP BY edition_name, object_type ORDER BY edition_name, object_type; -- 4. Check editioning views in APPS schema SELECT view_name FROM dba_editioning_views WHERE owner = 'APPS' ORDER BY view_name FETCH FIRST 20 ROWS ONLY; -- 5. Cross-edition triggers (active during patch cycle) SELECT trigger_name, trigger_type, status FROM dba_triggers WHERE owner = 'APPS' AND trigger_type LIKE '%EDITION%' ORDER BY trigger_name FETCH FIRST 20 ROWS ONLY; -- 6. Edition-enabled schemas SELECT username, editions_enabled FROM dba_users WHERE editions_enabled = 'Y' ORDER BY username; EOF

Common Questions About EBR in EBS R12.2

Question Answer
Can I connect to the patch edition as a DBA? Yes, but only while a patching cycle is in progress. Use ALTER SESSION SET EDITION = <patch_edition_name> after prepare and before cutover.
Why does cutover take 10 to 30 minutes if editions already exist? Cutover must flush shared pool, resolve cross-edition triggers, switch the default edition, restart application services, and re-establish connections. The database switch itself is fast — the service bounce takes most of the time.
What happens if I skip cleanup? The old edition remains in the database. Over many patch cycles, old editions accumulate and consume space. ADOP will run a quick cleanup automatically on the next prepare, but this delays the prepare phase.
Why do some patches still require downtime? Those patches modify non-editioned objects — typically tables — that cannot be versioned by EBR. The change must be made to the single shared physical object, which requires all users to be disconnected first.
Can EBR be used for non-EBS applications? Yes. EBR is a standard Oracle Database feature available to any application. EBS R12.2 is simply the most prominent example of an application built on top of it.
Does EBR require Oracle Enterprise Edition? Yes. EBR is only available in Oracle Database Enterprise Edition. It is not available in Standard Edition.

Summary — The Five Things to Remember

  • EBR allows two versions of database code objects to exist simultaneously in the same database — the run edition for users and the patch edition for patching
  • Editioned objects — packages, procedures, views, triggers — can exist separately per edition. Non-editioned objects — tables, sequences — are shared by all editions and cannot be changed online
  • Editioning views and cross-edition triggers are how EBS makes table changes appear editioned even though the physical table is shared
  • The three filesystems — run, patch, and non-editioned — mirror the database edition structure on the application tier. fs1 and fs2 alternate roles at every cutover
  • Cutover is the only user-facing downtime because it is the only moment when the default database edition switches and services restart. Everything before cutover happens in the invisible patch edition

How to Apply Multiple EBS Patches in One ADOP Cycle — The Right Way

How to Apply Multiple EBS Patches in One ADOP Cycle the Right Way | punitoracledba

How to Apply Multiple EBS Patches in One ADOP Cycle — The Right Way

Every quarterly CPU cycle involves multiple patches — application tier patches, one-off fixes, prerequisite patches, and sometimes NLS patches on top. Running a separate ADOP cycle for each one is the most common mistake DBAs make. It means multiple prepare phases, multiple cutover windows, and hours of unnecessary downtime.

The right approach is to consolidate everything into a single ADOP cycle. One prepare. One cutover. One cleanup. The total downtime is the same regardless of how many patches you apply — so applying ten patches in one cycle costs the same cutover time as applying one.

This post covers two methods for applying multiple patches in one ADOP cycle — the comma-separated method and the admrgpch merge method — and explains when to use each one, how to handle conflicts, and what to watch out for.

Key principle: The cutover window in ADOP is fixed — it is the time needed to bounce services and switch filesystems. It does not grow significantly with the number of patches applied. Consolidating patches saves real downtime every quarter.

Two Methods for Applying Multiple Patches

ADOP gives you two ways to apply multiple patches in a single cycle. Understanding the difference helps you choose the right approach for each situation.

Method How It Works Best For
Comma-separated patches List all patch numbers in one apply command separated by commas. ADOP handles the merge automatically during apply. Most CPU patching scenarios — fast, simple, no pre-work needed
admrgpch pre-merge Merge patches manually before the ADOP cycle using the admrgpch utility. Apply the single merged patch via ADOP. Large upgrade patches, release update packs, or when you want to pre-validate merge conflicts before the maintenance window

For quarterly CPU patching, the comma-separated method is what you should use in almost every case. It is simpler, faster to set up, and fully supported by Oracle. The admrgpch method is covered later in this post for situations where it is specifically needed.

Method 1 — Comma-Separated Patches in One Apply Command

This is the standard approach for CPU patching. All patch numbers are listed in a single adop phase=apply command separated by commas. ADOP automatically merges the unified driver files during the apply phase and applies all patches in one pass.

Step 1 — Stage all patches

Download and unzip every patch into the $PATCH_TOP directory before starting the ADOP cycle. Each patch must be in its own numbered subdirectory.

Stage all patches in PATCH_TOP
# Confirm PATCH_TOP location
echo $PATCH_TOP
# Default: $NE_BASE/EBSapps/patch

# Unzip each patch into its own directory
unzip p36478206_R12_GENERIC.zip -d $PATCH_TOP
unzip p35987654_R12_GENERIC.zip -d $PATCH_TOP
unzip p36112233_R12_GENERIC.zip -d $PATCH_TOP

# Verify each patch directory exists
ls -la $PATCH_TOP/
# Should show: 36478206/  35987654/  36112233/

# On multi-node environments — patches only need to be staged
# on the PRIMARY node when using a shared filesystem

Step 2 — Run the ADOP cycle with all patches in one command

Full ADOP cycle — all patches consolidated # Source the run environment source /u01/oracle/R122/EBSapps.env run # Always dryrun first — no exceptions adop phase=apply \ patches=36478206,35987654,36112233 \ apply_mode=dryrun # Step 1 — Prepare adop phase=prepare # Step 2 — Apply all patches in one command adop phase=apply \ patches=36478206,35987654,36112233 \ workers=8 # Step 3 — Finalize adop phase=finalize # Step 4 — Cutover (only downtime window) adop phase=cutover # Step 5 — Cleanup adop phase=cleanup

When you list multiple patches with commas, ADOP automatically uses merge=yes internally. You do not need to specify it. The patches are merged on the fly during the apply phase and applied together in a single pass.

Applying patches in multiple apply commands within one cycle

You can also run multiple adop phase=apply commands within the same patching cycle without running cutover in between. This is useful when patches must be applied in a specific order — for example when one patch is a prerequisite for another.

Multiple apply commands — same cycle, no cutover between them # Start the cycle adop phase=prepare # Apply prerequisite patches first adop phase=apply patches=35987654 workers=8 # Then apply the main CPU patches adop phase=apply patches=36478206,36112233 workers=8 # Continue the cycle as normal adop phase=finalize adop phase=cutover adop phase=cleanup

You do not need to run finalize between multiple apply commands in the same cycle. Run finalize once after all apply commands are complete. This saves significant time in a large patching session.

Choosing the Right Number of Workers

The workers parameter controls how many parallel processes ADOP uses to apply patch jobs. More workers means faster apply — up to a point. Too many workers can exhaust database connections and cause the apply to fail.

Environment Size Recommended Workers Notes
Small — 4 CPU cores, 16 GB RAM 4 Default is usually adequate for small environments
Medium — 8 CPU cores, 32 GB RAM 6 to 8 Good balance of speed and stability
Large — 16+ CPU cores, 64+ GB RAM 8 to 16 Test in non-production first — monitor DB connections
Check DB processes limit before setting workers sqlplus / as sysdba <<EOF -- Confirm processes parameter can support your worker count SHOW PARAMETER processes; -- Each worker needs approximately 3 DB connections -- workers=8 needs ~24 connections available above current usage -- Check current active sessions SELECT COUNT(*) FROM v$session WHERE status = 'ACTIVE'; EOF

Method 2 — Pre-Merging Patches with admrgpch

The admrgpch utility allows you to merge multiple patches into a single merged patch before the ADOP cycle begins. The main advantage is that conflicts between patches are identified and resolved before your maintenance window opens — not during it.

This method is particularly useful for large release update packs, upgrade patches, or situations where you are applying a large number of patches and want to validate compatibility upfront.

Step 1 — Stage all patches in PATCH_TOP

Stage individual patches ready for merging # Unzip all patches into PATCH_TOP cd $PATCH_TOP unzip /downloads/p36478206_R12_GENERIC.zip unzip /downloads/p35987654_R12_GENERIC.zip unzip /downloads/p36112233_R12_GENERIC.zip # Confirm patch directories are present ls -la $PATCH_TOP # 36478206/ 35987654/ 36112233/

Step 2 — Create a destination directory for the merged patch

Create the merge destination directory # Create a destination directory under PATCH_TOP mkdir -p $PATCH_TOP/merged_cpu_apr2026 # Confirm it is empty ls -la $PATCH_TOP/merged_cpu_apr2026/

Step 3 — Run admrgpch to merge the patches

Run admrgpch to create the merged patch # Source the run environment source /u01/oracle/R122/EBSapps.env run # Run admrgpch # -s = source directory containing individual patches # -d = destination directory for the merged result admrgpch \ -s $PATCH_TOP \ -d $PATCH_TOP/merged_cpu_apr2026 # Review the output — look for conflicts or warnings # A merged driver file is created in the destination directory ls -la $PATCH_TOP/merged_cpu_apr2026/ # Should contain: fnd u_merged.drv (and others)

Step 4 — Move individual patch directories into the merged directory

This is the step most DBAs miss. ADOP looks for the individual patch directories inside the merged patch directory during the next prepare phase. If they are not there, the next prepare will fail.

Move individual patch directories under the merged directory # Move each individual patch directory into the merged destination mv $PATCH_TOP/36478206 $PATCH_TOP/merged_cpu_apr2026/ mv $PATCH_TOP/35987654 $PATCH_TOP/merged_cpu_apr2026/ mv $PATCH_TOP/36112233 $PATCH_TOP/merged_cpu_apr2026/ # Verify the merged directory structure ls -la $PATCH_TOP/merged_cpu_apr2026/ # Should now contain: # 36478206/ 35987654/ 36112233/ fnd u_merged.drv

Why this step is mandatory: During the next prepare phase after cutover, ADOP synchronises the patch filesystem and looks for the individual patch directories that were part of the previous cycle. If they are not inside the merged patch directory, prepare will fail with a missing patch directory error.

Step 5 — Apply the merged patch using ADOP

Apply the merged patch in the ADOP cycle # Prepare adop phase=prepare # Apply using the merged patch directory # Specify the patchtop pointing to the merged directory adop phase=apply \ patches=merged_cpu_apr2026 \ patchtop=$PATCH_TOP/merged_cpu_apr2026 \ workers=8 # Continue normally adop phase=finalize adop phase=cutover adop phase=cleanup

Handling Merge Conflicts

A conflict occurs when two patches modify the same file or database object in incompatible ways. Both the comma-separated method and admrgpch will detect conflicts — they just do it at different times.

  • Comma-separated method — conflict detected during the apply phase inside the maintenance window
  • admrgpch method — conflict detected before the maintenance window when you run admrgpch

What a conflict looks like

Typical conflict message in the apply log WARNING: Conflict detected for file: $FND_TOP/patch/115/import/US/fndscsgn.ldt Modified by patches: 36478206, 35987654 Resolution: Patch 36478206 will take precedence (higher patch number)

How ADOP resolves conflicts automatically

For most conflicts, ADOP and admrgpch resolve them automatically using the following rules:

  1. The patch with the higher patch number takes precedence for file conflicts
  2. For database object conflicts, the last patch in the list wins
  3. Conflicts that cannot be resolved automatically are flagged as errors and must be resolved manually

When to involve Oracle Support

If admrgpch or the apply phase reports an unresolvable conflict — meaning it cannot determine which patch should win — raise a Service Request with Oracle Support before proceeding. Applying patches with unresolved conflicts can leave the application in an inconsistent state.

Review conflict details in the merge log # For admrgpch — review the merge log immediately after running cat $PATCH_TOP/merged_cpu_apr2026/admrgpch.log | grep -i "conflict\|error\|warning" # For comma-separated — review the apply log during or after apply grep -i "conflict\|warning" \ $APPL_TOP_NE/admin/log/adop/<session_id>/<timestamp>/adop.log

Patch Ordering — Does Sequence Matter?

In most cases the order of patches in the comma-separated list does not matter because ADOP handles dependencies internally. However there are two situations where ordering is important.

Situation 1 — Prerequisite patches

If Patch B requires Patch A to be applied first, apply them in separate apply commands within the same cycle — not in the same comma-separated list. ADOP does not enforce prerequisite ordering within a single apply command.

Correct ordering when one patch is a prerequisite of another # Apply the prerequisite patch first adop phase=apply patches=35987654 workers=8 # Then apply the patch that depends on it adop phase=apply patches=36478206 workers=8 # Both are within the same cycle — no cutover between them

Situation 2 — NLS patches

NLS (language) patches must always be applied after the base US English patch in a separate apply command. Do not combine US and NLS patches in the same comma-separated list.

Correct approach for US and NLS patches # Apply the US base patch first adop phase=apply patches=36478206 workers=8 # Then apply NLS patches separately in the same cycle adop phase=apply patches=36478206_AR,36478206_FR workers=4 # Or use hotpatch mode if the NLS README approves it # One finalize and cutover covers everything adop phase=finalize adop phase=cutover adop phase=cleanup

Using an Input File for Large Patch Lists

When applying many patches, a long comma-separated list on the command line can become difficult to manage and prone to typing errors. ADOP supports an input file that lists all parameters cleanly.

Create the input file # Create the input file — one parameter per line cat > /stage/cpu_apr2026_input.txt << EOF patches=36478206,35987654,36112233,36001122,35778899 workers=8 apply_mode=online EOF
Run apply using the input file # Reference the input file in the apply command adop phase=apply input_file=/stage/cpu_apr2026_input.txt # The input file approach also works for dryrun adop phase=apply input_file=/stage/cpu_apr2026_input.txt \ apply_mode=dryrun

Common Mistakes When Applying Multiple Patches

Mistake Consequence Correct Approach
Running a separate ADOP cycle for each patch Multiple cutover windows — hours of unnecessary downtime per quarter Consolidate all patches into one cycle with comma-separated list
Running finalize between multiple apply commands Wastes time — finalize compiles everything, not just the last patch Run finalize once after all apply commands are complete
Using admrgpch and not moving patch directories into merged folder Next prepare phase fails looking for missing patch directories Always move individual patch directories inside the merged destination
Mixing US and NLS patches in one comma-separated list NLS patch may fail or apply in wrong order Apply US patch first, NLS patches in a separate apply command
Not reading README files before consolidating Miss a patch that requires downtime mode — wrong apply_mode used Read every README before staging — note any mode requirements
Setting too many workers DB processes limit exceeded — workers fail to connect Check processes parameter and active sessions before setting workers
Not running dryrun before apply Conflicts and mode issues discovered mid-apply in the maintenance window Always run dryrun before every real apply — catches issues early

Complete Example — CPU April 2026 Multi-Patch Cycle

This is a complete example of a quarterly CPU patching session applying five patches in one ADOP cycle using the comma-separated method.

Complete CPU April 2026 — five patches in one cycle # Environment setup source /u01/oracle/R122/EBSapps.env run # Stage all patches cd $PATCH_TOP unzip /downloads/p36478206_R12_GENERIC.zip unzip /downloads/p35987654_R12_GENERIC.zip unzip /downloads/p36112233_R12_GENERIC.zip unzip /downloads/p36001122_R12_GENERIC.zip unzip /downloads/p35778899_R12_GENERIC.zip # Dryrun first — validate before committing adop phase=apply \ patches=36478206,35987654,36112233,36001122,35778899 \ apply_mode=dryrun # Review dryrun log — confirm no errors or mode conflicts tail -50 $APPL_TOP_NE/admin/log/adop/<session_id>/<timestamp>/adop.log # Prepare — starts the patching cycle adop phase=prepare # Apply all patches in one command adop phase=apply \ patches=36478206,35987654,36112233,36001122,35778899 \ workers=8 # Monitor apply progress adop phase=status # Finalize — compile, generate, merge seed data adop phase=finalize # Cutover — notify users first, then run # This is the only step that requires a maintenance window adop phase=cutover # Verify patches registered in AD tables sqlplus apps/<apps_pwd> <<EOF SELECT bug_number, last_update_date FROM ad_bugs WHERE bug_number IN ( '36478206','35987654','36112233','36001122','35778899' ) ORDER BY bug_number; EOF # Cleanup — run after confirming system is stable adop phase=cleanup

Summary

  • Always consolidate multiple patches into one ADOP cycle — one cutover regardless of patch count
  • For CPU patching use the comma-separated method — it is simple, fast, and fully supported
  • Use admrgpch when you want to pre-validate conflicts before the maintenance window
  • If using admrgpch, always move individual patch directories into the merged destination folder
  • Apply prerequisite patches in a separate apply command before the patches that depend on them
  • Apply NLS patches in a separate apply command after the US base patch
  • Run finalize only once — after all apply commands in the cycle are complete
  • Always dryrun before every real apply — every time, no exceptions