WebLogic Server Patching 10.3.6 - SU Patch [GFWX] 27395085

PATCH_ID - GFWX

Patch number - 27395085

# Weblogic Environment

export MW_HOME=/u01/app/oracle/product/middleware
export WLS_HOME=$MW_HOME/wlserver_10.3
export WL_HOME=$WLS_HOME
export JAVA_HOME=/u01/app/oracle/jre1.8.0_152
export PATH=$JAVA_HOME/bin:$PATH


Applying Patch Set Updates (PSUs)The patch set updates (PSUs) come with a "README.txt" file that explains how to apply the patches. You should always follow the patch note, but the basic format is typically as follows.Unzip the patch into the correct location.
[oracle@XXXXXXX tmp]$  unzip p27395085_1036_Generic.zip -d $MW_HOME/utils/bsu/cache_dir
Archive:  p27395085_1036_Generic.zip
replace /u01/app/oracle/product/middleware/utils/bsu/cache_dir/README.txt? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
  inflating: /u01/app/oracle/product/middleware/utils/bsu/cache_dir/README.txt
  inflating: /u01/app/oracle/product/middleware/utils/bsu/cache_dir/GFWX.jar
  inflating: /u01/app/oracle/product/middleware/utils/bsu/cache_dir/patch-catalog_25890.xml


[oracle@xxxx ]$ ls -l $MW_HOME/utils/bsu/cache_dir
total 183M
88M -rw-r--r--. 1 oracle oinstall  88M Feb 22 02:20 GFWX.jar
96M -rw-r--r--. 1 oracle oinstall  96M Feb 22 02:21 patch-catalog_25890.xml
12K -rw-rw-r--. 1 oracle oinstall 8.6K Feb 22 04:50 README.txt


[oracle@XXXXXXX cache_dir]$Apply the patch.
$ cd $MW_HOME/utils/bsu
$ [oracle@XXXXXXX bsu]$ ./bsu.sh -install -patch_download_dir=$MW_HOME/utils/bsu/cache_dir -patchlist=GFWX -prod_dir=$WLS_HOME -log=/tmp/weblogic_patching.log
Exception in thread "Thread-0" Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded
        at java.util.HashMap.newNode(HashMap.java:1747)
        at java.util.HashMap.putVal(HashMap.java:642)
        at java.util.HashMap.put(HashMap.java:612)
        at com.bea.cie.common.dao.xbean.XBeanDataHandler.loadPropertyMap(XBeanDataHandler.java:778)
        at com.bea.cie.common.dao.xbean.XBeanDataHandler.<init>(XBeanDataHandler.java:99)
        at com.bea.cie.common.dao.xbean.XBeanDataHandler.createDataHandler(XBeanDataHandler.java:559)
        at com.bea.cie.common.dao.xbean.XBeanDataHandler.getComplexValue(XBeanDataHandler.java:455)
        at com.bea.plateng.patch.dao.cat.PatchCatalogHelper.getPatchDetails(PatchCatalogHelper.java:695)
        at com.bea.plateng.patch.dao.cat.Version.getPatchDetails(Version.java:41)
        at com.bea.plateng.patch.dao.cat.PatchCatalogHelper.getFilteredPatchDetailMap(PatchCatalogHelper.java:1202)
        at com.bea.plateng.patch.dao.cat.PatchCatalogHelper.getPatchDetails(PatchCatalogHelper.java:1398)
        at com.bea.plateng.patch.dao.cat.PatchCatalogHelper.getEveryPatchDetail(PatchCatalogHelper.java:767)
        at com.bea.plateng.patch.dao.cat.PatchCatalogHelper.getInvalidatedPatchMap(PatchCatalogHelper.java:1622)
        at com.bea.plateng.patch.PatchSystem.updatePatchCatalog(PatchSystem.java:436)
        at com.bea.plateng.patch.PatchSystem.refresh(PatchSystem.java:130)
        at com.bea.plateng.patch.PatchSystem.<init>(PatchSystem.java:114)
        at com.bea.plateng.patch.PatchSystem.<clinit>(PatchSystem.java:41)
        at com.bea.plateng.patch.Patch.main(Patch.java:279)
java.lang.NoClassDefFoundError: Could not initialize class com.bea.plateng.patch.PatchSystem
        at com.bea.plateng.patch.PatchClientHelper.getAllPatchDetails(PatchClientHelper.java:74)
        at com.bea.plateng.patch.PatchInstallationHelper.cleanupPatchSets(PatchInstallationHelper.java:130)
        at com.bea.plateng.patch.PatchTarget.<init>(PatchTarget.java:272)
        at com.bea.plateng.patch.PatchTargetFactory.create(PatchTargetFactory.java:30)
        at com.bea.plateng.patch.ProductAliasTarget.constructPatchTargetList(ProductAliasTarget.java:88)
        at com.bea.plateng.patch.ProductAliasTarget.<init>(ProductAliasTarget.java:46)
        at com.bea.plateng.patch.ProductAliasTargetHelper.getProdAliasTargetList(ProductAliasTargetHelper.java:55)
        at com.bea.plateng.patch.ProductAliasTargetHelper.getAllHomeToProdAliasesTargetMap(ProductAliasTargetHelper.java:32)
        at com.bea.plateng.patch.ProductAliasTargetHelper.checkProfilesInProductAliases(ProductAliasTargetHelper.java:133)
        at com.bea.plateng.patch.Patch$1.run(Patch.java:376)
        at java.lang.Thread.run(Thread.java:748)

Solution : Edit the bsu.cmd and increase the JVM to something like below.
-Xms1024m –Xmx2048m
[oracle@XXXXXXX bsu]$ ./bsu.sh -install -patch_download_dir=$MW_HOME/utils/bsu/cache_dir -patchlist=GFWX -prod_dir=$WLS_HOME -log=/tmp/weblogic_patching.log
Checking for conflicts...
No conflict(s) detected

Installing Patch ID: GFWX
..
Result: Success

If you get conflicts, you may have to remove previous patches, before attempting to apply the patch again.

[oracle@xxxxxxxxx bsu]$ ./bsu.sh -install -patch_download_dir=$MW_HOME/utils/bsu/cache_dir -patchlist=GFXW -prod_dir=$WLS_HOME -log=/tmp/weblogic_patching.log
Checking for conflicts........
Conflict(s) detected - resolve conflict condition and execute patch installation again
Conflict condition details follow:
Patch GFWX is mutually exclusive and cannot coexist with patch(es): FMJJ
[oracle@FCISCOSTBAPP1 bsu]$

[oracle@xxxxxxxx bsu]# ./bsu.sh -remove -patchlist=FMJJ -prod_dir=$WLS_HOME -log=/tmp/weblogic_patching.log
Checking for conflicts......
No conflict(s) detected

Removing Patch ID: B25A.
Result: Success


[oracle@xxxxxxxxx bsu]# ./bsu.sh -install -patch_download_dir=/u01/app/oracle/Middleware/utils/bsu/cache_dir -patchlist=FMJJ -prod_dir=/u01/app/oracle/Middleware/wlserver_10.3/ -log=/tmp/weblogic_patching.log
Checking for conflicts......
No conflict(s) detected

Installing Patch ID: GFXW..
Result: Success

1 comment: