Below are few important commands to apply weblogic patches using BSU.

Steps:


  • Download the required patch from Oracle Support.
  • Copy the patch to $MW_HOME/utils/bsu/cache_dir or $FMW_HOME/utils/bsu/cache_dir 
  • In case cache_dir is not present, please create this directory.
  • Unzip the patch in cache_dir. This will create a jar file.
  • Set the environment  using below command.


cd $FMW_HOME/wlserver_10.3/server/bin
    

     . ./setWLSEnv.sh



Installing  a  patch

cd $FMW_HOME/utils/bsu

./bsu.sh -install -patch_download_dir=$FMW_HOME/utils/bsu/cache_dir -patchlist=<patch_name without jar extension> -prod_dir=$FMW_HOME/wlserver_10.3 -log=patch_apply.log

Removing a patch

cd $FMW_HOME/utils/bsu

./bsu.sh -remove -patchlist=<patch_name without jar extension> -prod_dir=$FMW_HOME/wlserver_10.3


List the patches applied

cd $FMW_HOME/utils/bsu
./bsu.sh -report -bea_home=$FMW_HOME -output_file=bsu_patch_report.log