My Oracle Support Banner

Java.Util.Zip.Zipexception When Unziping A File On Dbfs Through A Java Program (Doc ID 1302073.1)

Last updated on MARCH 31, 2020

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.1 and later
Information in this document applies to any platform.

Symptoms

When running java app which uses java utility java.util.zip.ZipFile to access a zip file on a DBFS mount point the process fails with following

mmap failed for CEN and END part of zip file
Exception in thread "main" java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:114)
at java.util.zip.ZipFIle.<init>(ZipFile.java:131)
...

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.