How To Avoid The Corruption of a Zip As Resource of a WAR file?

(Doc ID 1368895.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle Weblogic Server - Version: 10.3 and later   [Release: and later ]
Information in this document applies to any platform.


Why has a zip file, as resource of a war file, been corrupted? 

A zip file could be corrupted if a previous version of the same file still exists in the cache.

The following symptom can be seen while trying to unzip this zip file:
-bash-3.00$ unzip -l
End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a multi-part archive.
In the latter case the central directory and zipfile comment will be found on the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of or, and cannot find, period.


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