How to apply weblocig Patches in R12.2

Before going to the Patch lets see the quick backgrounf information about application technology patches

Application technology patches are includes.

  • Oracle HTTP server (OHS) using Opatch
  • Oracle weblogic server using BSU
  • Oracle Forms (10.1.2 Oracle_HOME) using Opatch
Thoes patches are we can apply on directly on Run edition later run the fsclone and sync the file system

We can apply patch edition also start the Patching cycle apply the patches in Patch edition 

Weblogic (BSU) Patch

BSU is java utlity its used to apply the patch in weblogic server

Locatation: $FMW_HOME/utils/bsu/bsu.sh

Step 1: Download the Patch Oracle support

Step 2: Unzip the Patch file Patch file have (JAR) file and readme file

Step 3:  Place the Patches (For example Q3ZB.jar)in cache directory and no need to readme file

[oracle@VIS cache_dir]$pwd

/apps/VIS/r12/fs2/FMW_Home/utils/bsu/cache_dir

Step 4: Source the Patch file system

[oracle@VIS~]$. /apps/VIS/r12/fs2/EBSapps.env patch

[oracle@VIS~]$echo $FILE_EDITION

Patch            

Step 5: Apply the Patch using “BSU” Command

[oracle@VIS bsu]$./bsu.sh -install -patch_download_dir=/apps/VIS/r12/fs2/fs1/FMW_Home/utils/bsu/cache_dir -patchlist=Q3ZB -prod_dir=$FMW_HOME/wlserver_10.3

Checking for conflicts..

No conflict(s) detected

Installing Patch ID: Q3ZB..

Result: Success

[oracle@VIS bsu bsu]$ 


Weblogic Patch commands:

How to check installed patches?

/bsu.sh -prod_dir=$FMW_HOME/wlserver_10.3 -status=applied -verbose -view

./bsu.sh -report |grep "Q3ZB"

How to apply the Patch?

./bsu.sh -install -patch_download_dir=/apps/applmgr/r12/fs1/FMW_Home/utils/bsu/cache_dir -patchlist=Q3ZB -prod_dir=$FMW_HOME/wlserver_10.3

How to remove the patch?

./bsu.sh -prod_dir=$FMW_HOME/wlserver_10.3 -remove -patchlist=159X,M3C7,WFNK,LLU8,U5I2

How to find Weblogic patch version? 

java -cp $FMW_HOME/patch_wls1036/profiles/default/sys_manifest_classpath/weblogic_patch.jar:$FMW_HOME/wlserver_10.3/server/lib/weblogic.jar weblogic.version | grep PSU|awk '{print $1 " " $2 " "$3}'


Parameter

Description

Help

Displays the summary of “BSU” Parameter and arguments 

patch_download_dir=path

 

Specifies the patch download directory from which the patches are to be applied, represented as path. If you do not specify a patch download directory, the patch download directory designated in the Preference dialog box in the Smart Update graphical interface

 

Verbose

Display the full set of the details associated with each patch applied.

Prod_Dir_Path

Specifies the target installation to which the patches are to be applied,

GUI

 

Start the small update graphical interface mode

Log

 

Create the log file in specify location [-log_priority= {trace|debug|info|warn|error|fatal}]

Remove

 

Remove patches from the profile

Report

 

Generate report and showing applied patches and file changes detailed

Version

 

Display the version informationEx:Oracle Smart Update. Version: 3.3.3.0

 

Reference:

Oracle E-Business Suite 12.2 Patching Technology Components Guide (Doc ID 1355068.1)   

How to Apply WebLogic Server (WLS) Patches Using Smart Update
https://support.oracle.com/epmos/faces/DocumentDisplay?id=876004.1

BSU Command line interface
http://docs.oracle.com/cd/E14759_01/doc.32/e14143/commands.htm

Troubleshooting Patching Failures


WebLogic Server PSU - Popular Known Issues (Doc ID 2458832.1)
https://support.oracle.com/epmos/faces/DocumentDisplay?id=2458832.1

WLS BSU (Smart Update) Takes a Very Long Time to Apply Patches - Especially When Checking for Patch Conflicts
https://support.oracle.com/epmos/faces/DocumentDisplay?id=2271366.1 

Diagnosing "Encountered unrecognized patch ID" Failures When Trying to Patch WLS Using BSU
https://support.oracle.com/epmos/faces/DocumentDisplay?id=1186923.1

Conflict Detected - New PSU for WLS 10.3.6 is "mutually exclusive and cannot coexist with patch(es)"
https://support.oracle.com/epmos/faces/DocumentDisplay?id=2267696.1

 

Native Windows Zip/Unzip Tools Fail to Extract Patch Zip Files - "Path Too Long" or "is Invalid" Errors
https://support.oracle.com/epmos/faces/DocumentDisplay?id=2259579.1

Comments

Post a Comment

Popular posts from this blog

How to troubleshoot long running concurrent request in R12.2

How to run Gather Schema Statistics in R12.2

How to compile forms in R12.2