Troubleshoot: The installer is unable to update a .jar file on the system
Attempting to install a WebSphere Commerce fix pack, an error is logged indicating a problem with a JAR file update.
Problem
If you receive an error message indicating that the installer is unable to update a .jar file on the system, refer to the WC_installdir/logs/update/maintenance_name/updatetrace.log file. Search this log file for an error message similar toInstaller has pro2007.09.25 12:04:30.328 EDT java.lang.NullPointerException at com.ibm.ws.install.ni.framework.io.ZIPFileSystem.copyZipEntry (ZIPFileSystem.java:2010) at com.ibm.ws.install.ni.framework.io.ZIPFileSystem.copyZipEntry (ZIPFileSystem.java:1995) at com.ibm.ws.install.ni.framework.io.ZIPFileSystem.copyThisEntryInThisSource ToThisZipFileWithThisName(ZIPFileSystem.java:989) at com.ibm.ws.install.ni.framework.io.ZIPFileSystem.applyZIPFileOperationsTo ZIPFile(ZIPFileSystem.java:2112) at com.ibm.ws.install.ni.framework.io.ZIPFileSystem.performAllZIPOperationsFor ThisTargetFile(ZIPFileSystem.java:88) at com.ibm.ws.install.ni.framework.fileactions.ZIPFileOperationController. performAllZIPOperations(ZIPFileOperationController.java:108) at com.ibm.commerce.install.updi.product.wc.WCUpdateComponent.execute (WCUpdateComponent.java:119)
Solution
If you receive this error message, check if the path to the .pak file contains spaces. If there are spaces in the path, move the fix pack file to a path that does not contain spaces and complete the following steps:
- Rerun the Update Installer to uninstall the fix pack from the system.
- Reapply the fix pack to the system.
Related tasks
Install WebSphere Commerce fix packs
Uninstall WebSphere Commerce fix packs
Related Reference