Conflicting Patch Cannot Be Removed (Doc ID 2160379.1)

Last updated on AUGUST 03, 2017

Applies to:

Oracle WebLogic Server - Version 10.3.6 to 12.1.1.0
Information in this document applies to any platform.

Symptoms

Using BEA Smart Update (the patching utility for WebLogic Server before WLS 12.1.2), a conflicting patch cannot be removed. The following command is used:

bsu -remove -patchlist=NPM3 -prod_dir=\Oracle\BIP\wlserver_10.3 -profile -verbose -log=D:\patchlog.txt

The following error is encountered:

2016-06-28 13:18:01,345 FATAL [main] com.bea.plateng.patch.Patch - com.bea.plateng.patch.dao.PatchException: Unable to locate the specified product directory.[D:\Oracle\BIP\wlserver_1.2]
com.bea.plateng.patch.dao.PatchException: Unable to locate the specified product directory.[D:\Oracle\BIP\wlserver_1.2]
at com.bea.plateng.patch.Patch.getPatchTarget(Patch.java:429)
at com.bea.plateng.patch.Patch.getPatchTarget(Patch.java:416)
at com.bea.plateng.patch.Patch.main(Patch.java:311)
Caused by: java.io.FileNotFoundException: Properties file not found for D:\Oracle\BIP\wlserver_1.2
at com.bea.plateng.patch.PatchTargetHelper.getPlatformProperties(PatchTargetHelper.java:287)
at com.bea.plateng.patch.Patch.getPatchTarget(Patch.java:425)
... 2 more
:
:
2016-06-28 13:19:07,709 DEBUG [main] com.bea.plateng.patch.CommandLineProgress - Command line progress started with initial text: Checking for conflicts
2016-06-28 13:20:54,351 DEBUG [main] com.bea.plateng.patch.CommandLinePatchInstaller$SilentPatchUninstallValidator - Validating dependencies for patch=[com.bea.plateng.patch.dao.cat.PatchDetail @74493713 id='NPM3]' createDateTime='null]' creator='null]' archiveName='NPM3.jar]' description='WLST CANNOT GET ENV ON WINDOWS SERVER 12 WITH MINIMAL ENV
WLST CANNOT GET ENV ON WINDOWS SERVER 12 WITH MINIMAL ENV]' checksum='1605655855]' platform='[]]' size='2009666]' external='true]' publisher='null]' publishDateTime='null]' restart='true]' scope='product]' cr='[cr='16844206']]' category='[category='OA&M']]' severity='optional]' privateCode='null]' invalidator='null]' invalidateDateTime='null]' isCommonCompsPatch='false]' masterPatchId='null]' clonedPatchId='[clonedPatchId='']]' bugId='16844206]' aruStatus='null]' aruId='-1]' ]
2016-06-28 13:20:54,351 DEBUG [main] com.bea.plateng.patch.CommandLinePatchInstaller$SilentPatchUninstallValidator - No validation errors found.
2016-06-28 13:20:54,351 DEBUG [main] com.bea.plateng.patch.CommandLineProgress - Command line progress stopped
2016-06-28 13:20:54,367 DEBUG [main] com.bea.plateng.common.util.logging.LogWriter - Starting removal of Patch ID: NPM3
:
:
2016-06-28 13:20:54,398 DEBUG [main] com.bea.plateng.patch.PatchRemover - _fullyRemove.get(detail) true
2016-06-28 13:20:54,398 DEBUG [main] com.bea.plateng.patch.FilePatchRemover - target: WebLogic Server version: 10.3.6.0
2016-06-28 13:20:54,398 DEBUG [main] com.bea.plateng.patch.FilePatchRemover - detail: NPM3
2016-06-28 13:20:54,398 DEBUG [main] com.bea.plateng.patch.FilePatchRemover - profiles: [Default]
2016-06-28 13:20:54,398 DEBUG [main] com.bea.plateng.patch.FilePatchRemover - manifest: com.bea.plateng.patch.dao.bak.PatchBackupManifest@728535c6
2016-06-28 13:20:54,398 DEBUG [main] com.bea.plateng.patch.FilePatchRemover - fullyremove: true
2016-06-28 13:20:54,398 DEBUG [main] com.bea.plateng.patch.dao.bak.PatchBackupHelper - id: NPM3
2016-06-28 13:20:54,398 DEBUG [main] com.bea.plateng.patch.FilePatchRemover - backups: [com.bea.plateng.patch.dao.bak.PatchBackup@29f21842]
2016-06-28 13:20:54,398 DEBUG [main] com.bea.plateng.patch.FilePatchRemover - entering if backups......
2016-06-28 13:20:54,429 DEBUG [main] com.bea.plateng.patch.PatchHelper - Created backup file from D:\Oracle\BIP\wlserver_10.3\common\wlst\modules\jython-modules.jar to D:\Oracle\BIP\wlserver_10.3\common\wlst\modules\jython-modules.jar53270.bak copy=false
2016-06-28 13:20:54,445 DEBUG [main] com.bea.plateng.common.util.logging.LogWriter - Restoring D:\Oracle\BIP\wlserver_10.3\common\wlst\modules\jython-modules.jar from D:\Oracle\BIP\patch_wls1036\backup\backup.jar
2016-06-28 13:20:54,445 ERROR [main] com.bea.plateng.patch.FilePatchRemover - Error restoring files from backup archive.
2016-06-28 13:20:54,445 ERROR [main] com.bea.plateng.patch.PatchRemover - Error encountered removing patch.
2016-06-28 13:20:54,445 DEBUG [main] com.bea.plateng.common.util.logging.LogWriter - Result: Failure
2016-06-28 13:20:54,445 DEBUG [main] com.bea.plateng.common.util.logging.LogWriter - Failure condition follows:
2016-06-28 13:20:54,445 DEBUG [main] com.bea.plateng.common.util.logging.LogWriter - An error occured while removing patches - run with logging to obtain detailed information
2016-06-28 13:20:54,445 DEBUG [main] com.bea.plateng.common.util.logging.LogWriter - java.lang.IllegalArgumentException: JarEntry must not be null.
2016-06-28 13:20:54,445 DEBUG [main] com.bea.plateng.common.util.logging.LogWriter - Result: Failure
2016-06-28 13:20:54,445 DEBUG [main] com.bea.plateng.common.util.logging.LogWriter - Failure condition follows:
2016-06-28 13:20:54,445 DEBUG [main] com.bea.plateng.common.util.logging.LogWriter - An error occured while removing patches - run with logging to obtain detailed information
2016-06-28 13:20:54,445 DEBUG [main] com.bea.plateng.common.util.logging.LogWriter - java.lang.IllegalArgumentException: JarEntry must not be null.
2016-06-28 13:20:54,461 DEBUG [main] com.bea.plateng.patch.CommandLinePatchInstaller - An unexpected error was encountered removing patch NPM3. That resource may be busy.
The patch was not removed, and has been restored to its original state. For further information, enable logging and run patch removal again.
com.bea.plateng.patch.PatchRemovalException: java.lang.IllegalArgumentException: JarEntry must not be null.
at com.bea.plateng.patch.FilePatchRemover.removePatch(FilePatchRemover.java:210)
at com.bea.plateng.patch.AbstractPatchRemover.remove(AbstractPatchRemover.java:56)
at com.bea.plateng.patch.PatchRemover.removePatch(PatchRemover.java:463)
at com.bea.plateng.patch.PatchRemover.removePatches(PatchRemover.java:355)
at com.bea.plateng.patch.PatchRemover.remove(PatchRemover.java:183)
at com.bea.plateng.patch.CommandLinePatchInstaller.remove(CommandLinePatchInstaller.java:180)
at com.bea.plateng.patch.CommandLinePatchInstaller.remove(CommandLinePatchInstaller.java:132)
at com.bea.plateng.patch.Patch.main(Patch.java:323)
Caused by: java.lang.IllegalArgumentException: JarEntry must not be null.
at com.bea.plateng.common.util.JarHelper.extract(JarHelper.java:717)
at com.bea.plateng.common.util.JarHelper.extract(JarHelper.java:676)
at com.bea.plateng.common.util.JarHelper.extract(JarHelper.java:634)
at com.bea.plateng.patch.FilePatchRemover.removePatch(FilePatchRemover.java:194)
... 7 more

Changes

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms