Below are few important commands to apply weblogic patches using BSU.
Steps:
. ./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
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
2 Comments
thanks for share it
ReplyDeleteTook me time to understand all of the comments, but I seriously enjoyed the write-up. It proved being really helpful to me and Im positive to all of the commenters right here! Its constantly nice when you can not only be informed, but also entertained! I am certain you had enjoyable writing this write-up. Apply Slotxo
ReplyDeletePost a Comment