com.liferay.portal.kernel.deploy.auto.AutoDeployException: java.util.zip.ZipException: error in opening zip file

Liferay Issues | Thomas Berg | 6 years ago
  1. 0

    RE: How does Jasper integration work? - Forums | Liferay

    liferay.com | 1 year ago
    com.liferay.portal.kernel.deploy.auto.AutoDeployException: java.util.zip.ZipException: error in opening zip file
  2. 0

    [LPS-11919] Rapid war unpacking leads to blaklisting - Liferay Issues

    liferay.com | 12 months ago
    com.liferay.portal.kernel.deploy.auto.AutoDeployException: java.util.zip.ZipException: error in opening zip file
  3. 0

    Using Liferay 6.0.4, I tried to deploy a portlet and the Autodeployer went nuts... Within a very short time period (see times below), the portal had made 10 tries and blacklisted my portlet. Below is an excerpt from my Tomcat log (the actual portlet name has been changed): 15:28:25,984 INFO [AutoDeployDir:167] Processing my-portlet.war 15:28:25,984 ERROR [AutoDeployDir:197] com.liferay.portal.kernel.deploy.auto.AutoDeployException: java.util.zip.ZipException: error in opening zip file com.liferay.portal.kernel.deploy.auto.AutoDeployException: java.util.zip.ZipException: error in opening zip file at com.liferay.portal.kernel.deploy.auto.BaseAutoDeployListener.isMatchingFile(BaseAutoDeployListener.java:76) at com.liferay.portal.kernel.deploy.auto.BaseAutoDeployListener.isHookPlugin(BaseAutoDeployListener.java:40) at com.liferay.portal.deploy.auto.HookAutoDeployListener.deploy(HookAutoDeployListener.java:38) at com.liferay.portal.kernel.deploy.auto.AutoDeployDir.processFile(AutoDeployDir.java:180) at com.liferay.portal.kernel.deploy.auto.AutoDeployDir.scanDirectory(AutoDeployDir.java:221) at com.liferay.portal.kernel.deploy.auto.AutoDeployScanner.run(AutoDeployScanner.java:49) 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:114) at java.util.zip.ZipFile.<init>(ZipFile.java:131) at com.liferay.portal.kernel.deploy.auto.BaseAutoDeployListener.isMatchingFile(BaseAutoDeployListener.java:61) ... 5 more 15:28:26,500 INFO [AutoDeployDir:172] Processing my-portlet.war. This is attempt 2. 15:28:26,500 ERROR [AutoDeployDir:197] com.liferay.portal.kernel.deploy.auto.AutoDeployException: java.util.zip.ZipException: error in opening zip file . . . 15:28:30,062 INFO [AutoDeployDir:172] Processing my-portlet.war. This is attempt 9. 15:28:30,062 ERROR [AutoDeployDir:197] com.liferay.portal.kernel.deploy.auto.AutoDeployException: java.util.zip.ZipException: error in opening zip file com.liferay.portal.kernel.deploy.auto.AutoDeployException: java.util.zip.ZipException: error in opening zip file at com.liferay.portal.kernel.deploy.auto.BaseAutoDeployListener.isMatchingFile(BaseAutoDeployListener.java:76) at com.liferay.portal.kernel.deploy.auto.BaseAutoDeployListener.isHookPlugin(BaseAutoDeployListener.java:40) at com.liferay.portal.deploy.auto.HookAutoDeployListener.deploy(HookAutoDeployListener.java:38) at com.liferay.portal.kernel.deploy.auto.AutoDeployDir.processFile(AutoDeployDir.java:180) at com.liferay.portal.kernel.deploy.auto.AutoDeployDir.scanDirectory(AutoDeployDir.java:221) at com.liferay.portal.kernel.deploy.auto.AutoDeployScanner.run(AutoDeployScanner.java:49) 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:114) at java.util.zip.ZipFile.<init>(ZipFile.java:131) at com.liferay.portal.kernel.deploy.auto.BaseAutoDeployListener.isMatchingFile(BaseAutoDeployListener.java:61) ... 5 more 15:28:30,062 INFO [AutoDeployDir:203] Add my-portlet.war to the blacklist

    Liferay Issues | 6 years ago | Thomas Berg
    com.liferay.portal.kernel.deploy.auto.AutoDeployException: java.util.zip.ZipException: error in opening zip file
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    RE: How does Jasper integration work? - Forums | Liferay

    liferay.com | 9 months ago
    com.liferay.portal.kernel.deploy.auto.AutoDeployException: java.util.zip.ZipException: error in opening zip file
  6. 0

    Using Liferay 6.0.4, I tried to deploy a portlet and the Autodeployer went nuts... Within a very short time period (see times below), the portal had made 10 tries and blacklisted my portlet. Below is an excerpt from my Tomcat log (the actual portlet name has been changed): 15:28:25,984 INFO [AutoDeployDir:167] Processing my-portlet.war 15:28:25,984 ERROR [AutoDeployDir:197] com.liferay.portal.kernel.deploy.auto.AutoDeployException: java.util.zip.ZipException: error in opening zip file com.liferay.portal.kernel.deploy.auto.AutoDeployException: java.util.zip.ZipException: error in opening zip file at com.liferay.portal.kernel.deploy.auto.BaseAutoDeployListener.isMatchingFile(BaseAutoDeployListener.java:76) at com.liferay.portal.kernel.deploy.auto.BaseAutoDeployListener.isHookPlugin(BaseAutoDeployListener.java:40) at com.liferay.portal.deploy.auto.HookAutoDeployListener.deploy(HookAutoDeployListener.java:38) at com.liferay.portal.kernel.deploy.auto.AutoDeployDir.processFile(AutoDeployDir.java:180) at com.liferay.portal.kernel.deploy.auto.AutoDeployDir.scanDirectory(AutoDeployDir.java:221) at com.liferay.portal.kernel.deploy.auto.AutoDeployScanner.run(AutoDeployScanner.java:49) 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:114) at java.util.zip.ZipFile.<init>(ZipFile.java:131) at com.liferay.portal.kernel.deploy.auto.BaseAutoDeployListener.isMatchingFile(BaseAutoDeployListener.java:61) ... 5 more 15:28:26,500 INFO [AutoDeployDir:172] Processing my-portlet.war. This is attempt 2. 15:28:26,500 ERROR [AutoDeployDir:197] com.liferay.portal.kernel.deploy.auto.AutoDeployException: java.util.zip.ZipException: error in opening zip file . . . 15:28:30,062 INFO [AutoDeployDir:172] Processing my-portlet.war. This is attempt 9. 15:28:30,062 ERROR [AutoDeployDir:197] com.liferay.portal.kernel.deploy.auto.AutoDeployException: java.util.zip.ZipException: error in opening zip file com.liferay.portal.kernel.deploy.auto.AutoDeployException: java.util.zip.ZipException: error in opening zip file at com.liferay.portal.kernel.deploy.auto.BaseAutoDeployListener.isMatchingFile(BaseAutoDeployListener.java:76) at com.liferay.portal.kernel.deploy.auto.BaseAutoDeployListener.isHookPlugin(BaseAutoDeployListener.java:40) at com.liferay.portal.deploy.auto.HookAutoDeployListener.deploy(HookAutoDeployListener.java:38) at com.liferay.portal.kernel.deploy.auto.AutoDeployDir.processFile(AutoDeployDir.java:180) at com.liferay.portal.kernel.deploy.auto.AutoDeployDir.scanDirectory(AutoDeployDir.java:221) at com.liferay.portal.kernel.deploy.auto.AutoDeployScanner.run(AutoDeployScanner.java:49) 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:114) at java.util.zip.ZipFile.<init>(ZipFile.java:131) at com.liferay.portal.kernel.deploy.auto.BaseAutoDeployListener.isMatchingFile(BaseAutoDeployListener.java:61) ... 5 more 15:28:30,062 INFO [AutoDeployDir:203] Add my-portlet.war to the blacklist

    Liferay Issues | 6 years ago | Thomas Berg
    com.liferay.portal.kernel.deploy.auto.AutoDeployException: java.util.zip.ZipException: error in opening zip file

  1. davidvanlaatum 64 times, last 2 months ago
  2. davidvanlaatum 89 times, last 1 month ago
  3. Mihail Melnic 1 times, last 6 months ago
  4. Roberto Tomás 441 times, last 8 months ago
  5. martyn 1 times, last 8 months ago
2 more registered users
25 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.util.zip.ZipException

    error in opening zip file

    at java.util.zip.ZipFile.open()
  2. Java RT
    ZipFile.<init>
    1. java.util.zip.ZipFile.open(Native Method)
    2. java.util.zip.ZipFile.<init>(ZipFile.java:114)
    3. java.util.zip.ZipFile.<init>(ZipFile.java:131)
    3 frames
  3. Liferay Portal Service
    BaseAutoDeployListener.isHookPlugin
    1. com.liferay.portal.kernel.deploy.auto.BaseAutoDeployListener.isMatchingFile(BaseAutoDeployListener.java:61)
    2. com.liferay.portal.kernel.deploy.auto.BaseAutoDeployListener.isHookPlugin(BaseAutoDeployListener.java:40)
    2 frames
  4. Liferay Portal Impl
    HookAutoDeployListener.deploy
    1. com.liferay.portal.deploy.auto.HookAutoDeployListener.deploy(HookAutoDeployListener.java:38)
    1 frame
  5. Liferay Portal Service
    AutoDeployScanner.run
    1. com.liferay.portal.kernel.deploy.auto.AutoDeployDir.processFile(AutoDeployDir.java:180)
    2. com.liferay.portal.kernel.deploy.auto.AutoDeployDir.scanDirectory(AutoDeployDir.java:221)
    3. com.liferay.portal.kernel.deploy.auto.AutoDeployScanner.run(AutoDeployScanner.java:49)
    3 frames