My Oracle Support Banner

Deploying WAR File Throws Error "java.util.zip.ZipException: error in opening zip file" (Doc ID 1283992.1)

Last updated on FEBRUARY 13, 2024

Applies to:

Oracle Containers for J2EE - Version 10.1.3.4.0 to 10.1.3.5.0 [Release AS10gR3]
Information in this document applies to any platform.

Symptoms

The following error occurs when deploying WAR files to OAS 10.1.3.X (i.e. 10.1.3.4) via EM or using the admin_client.jar tool.

11/01/11 08:07:50 WARNING: DeployerRunnable.run error in opening zip file

oracle.oc4j.admin.jmx.shared.exceptions.JMXRuntimeException: error in opening zip file
at oracle.oc4j.admin.jmx.shared.util.EarFileUtils.toEar(EarFileUtils.java:163)
at oracle.oc4j.admin.jmx.shared.util.EarFileUtils.toEar(EarFileUtils.java:56)
at oracle.oc4j.admin.jmx.shared.util.EarFileUtils.toEar(EarFileUtils.java:40)
at oracle.oc4j.admin.internal.DeployerFactory.getInstance(DeployerFactory.java:61)
at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:50)
at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableReso urcePooledExecutor.java:298)
at java.lang.Thread.run(Thread.java:595)
Caused by: 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:203)
at java.util.jar.JarFile.<init>(JarFile.java:132)
at java.util.jar.JarFile.<init>(JarFile.java:97)
at oracle.oc4j.admin.jmx.shared.util.JarTool.<init>(JarTool.java:119)
at oracle.oc4j.admin.jmx.shared.util.JarTool.createNewJarFile(JarTool.java:155)
at oracle.oc4j.admin.jmx.shared.util.EarFileUtils.toEar(EarFileUtils.java:157)

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


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