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

Last updated on NOVEMBER 05, 2016

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.
***Checked for relevance on 09-Dec-2012***

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
fileoracle.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

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