SAP Knowledge Base Article - Preview

2406689 - Uploading zipped UWL Configuration fails with error "Unable to read File"

Symptom

When trying to upload to the UWL a ZIP file containing an XML configuration file together with the .properties files, following error shows up in the screen:

error.jpg

... (Configuration): com.sap.netweaver.bc.uwl.UWLException: ... Unable to read File: <name_of_zip_file>

This happens no matter where the ZIP file is located (locally or remotely) and which web browser is used to perform such operation.

If extracting the XML file from inside of the ZIP file and uploading the XML file alone, it works fine. The problem only happens when trying to upload a ZIP file, containing the XML file and the .properties files.

When checking the trace messages (according to SAP KBA 2261632), following Warning message is found:

Caught java.io.EOFException
at java.util.zip.ZipInputStream.readFully(ZipInputStream.java:409)
at java.util.zip.ZipInputStream.readLOC(ZipInputStream.java:279)
at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:82)
at com.sap.netweaver.bc.uwl.core.config.Zipper.unzip(Zipper.java:203)
at com.sap.netweaver.bc.uwl.core.config.Zipper.<init>(Zipper.java:69)
at com.sap.netweaver.bc.uwl.core.config.UWLConfigurationAdmin.registerConfigurationZip(UWLConfigurationAdmin.java:138)
at com.sap.netweaver.bc.uwl.core.config.UWLConfigurationAdmin.registerConfiguration(UWLConfigurationAdmin.java:554)
at com.sap.netweaver.bc.uwl.ui.admin.util.ServiceHelper.registerConfiguration(ServiceHelper.java:344)
at com.sap.netweaver.bc.uwl.ui.admin.config.Upload.onActiononConfirmed(Upload.java:322)
at com.sap.netweaver.bc.uwl.ui.admin.config.Upload.onActionupload(Upload.java:284)
...

Reading configuration Failed for : (<name_of_zip_file>). Exception is <date>
 Unable to read File : <name_of_zip_file>
...


Read more...

Environment

  • SAP Enterprise Portal
  • Universal Worklist

Product

SAP NetWeaver 7.3 ; SAP NetWeaver 7.4 ; SAP NetWeaver 7.5 ; SAP enhancement package 1 for SAP NetWeaver 7.3

Keywords

corrupted, corrupt, unabletoreadfile, compressed , KBA , EP-BC-UWL , Universal Worklist , BC-WD-JAV , WebDynpro Java , MFG-ME-INT , Integration , MFG-MII , SAP Manufacturing Integration and Intelligence , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.