1 Reply Latest reply on May 12, 2010 12:05 PM by jaikiran pai

    AS6.0M3 and dreaded ZipException: error in opening zip file

    Vladimir Blagojevic Master

      Hi,

       

      I am playing around with AS 6.0M3, deploying a toy app I've been developing in order to get familiar with new features in J2EE6. Web app deploys succesfully, works perfectly well, except at the end of deployment I get ZipException: error in opening zip file. I've checked that war file is openable with jar utility as well as all jar files within a war file. Is there anything else I can do in order to trace the origin of this ZipException?

       

      Regards,

      Vladimir

       

       

      1:46:58,255 INFO  [TomcatDeployment] deploy, ctxPath=/horizon-web
      11:46:58,334 INFO  [config] Initializing Mojarra 2.0.2 (FCS b10) for context '/horizon-web'
      11:47:00,744 SEVERE [config] Unable to process annotations for url, vfs:/Users/vladimir/jboss-6.0.0.20100429-M3/server/default/deploy/horizon-web.war/WEB-INF/lib/primefaces-2.0.2-SNAPSHOT.jar/META-INF/faces-config.xml.  Reason: java.util.zip.ZipException: error in opening zip file
      11:47:00,745 SEVERE [config] : java.util.zip.ZipException: error in opening zip file
          at java.util.zip.ZipFile.open(Native Method) [:1.6.0_17]
          at java.util.zip.ZipFile.<init>(ZipFile.java:114) [:1.6.0_17]
          at java.util.jar.JarFile.<init>(JarFile.java:133) [:1.6.0_17]
          at sun.net.www.protocol.jar.URLJarFile.<init>(URLJarFile.java:67) [:1.6.0_17]
          at sun.net.www.protocol.jar.URLJarFile$1.run(URLJarFile.java:214) [:1.6.0_17]
          at java.security.AccessController.doPrivileged(Native Method) [:1.6.0_17]
          at sun.net.www.protocol.jar.URLJarFile.retrieve(URLJarFile.java:198) [:1.6.0_17]
          at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:50) [:1.6.0_17]
          at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:68) [:1.6.0_17]
          at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:104) [:1.6.0_17]
          at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:71) [:1.6.0_17]
          at com.sun.faces.config.AnnotationScanner.processClasspath(AnnotationScanner.java:290) [:2.0.2-FCS]
          at com.sun.faces.config.AnnotationScanner.getAnnotatedClasses(AnnotationScanner.java:215) [:2.0.2-FCS]