4 Replies Latest reply on Feb 19, 2011 6:09 AM by Sam W

    EAR file - error in opening zip file.

    Sam W Expert

      Hello,

       

      I got another problem when deploy an EAR file in jboss 6.0 Final.

       

      The EAR project has a war client and ejb3 project. The WAR project is included primefaces 2.2.1 libraries.

       

      Here is the exception error when I drop the .ear file to the deploy/ directory:

       

      2011-02-19 18:33:22,789 INFO  [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (HDScanner) deploy, ctxPath=/HousewareEnterpriseApplicationClient-war

      2011-02-19 18:33:22,965 INFO  [javax.enterprise.resource.webcontainer.jsf.config] (HDScanner) Initializing Mojarra 2.0.2 (FCS b10) for context '/HousewareEnterpriseApplicationClient-war'

      2011-02-19 18:33:34,419 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (HDScanner) Unable to process annotations for url, vfs:/C:/jboss-6.0.0.Final/server/default/deploy/HousewareEnterpriseApplicationClient.ear/lib/primefaces-2.2.1.jar/META-INF/faces-config.xml.  Reason: java.util.zip.ZipException: error in opening zip file

      2011-02-19 18:33:34,420 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (HDScanner) : java.util.zip.ZipException: error in opening zip file

              at java.util.zip.ZipFile.open(Native Method) [:1.6.0_11]

              at java.util.zip.ZipFile.<init>(ZipFile.java:114) [:1.6.0_11]

              at java.util.jar.JarFile.<init>(JarFile.java:133) [:1.6.0_11]

              at sun.net.www.protocol.jar.URLJarFile.<init>(URLJarFile.java:67) [:1.6.0_11]

              at sun.net.www.protocol.jar.URLJarFile$1.run(URLJarFile.java:214) [:1.6.0_11]

              at java.security.AccessController.doPrivileged(Native Method) [:1.6.0_11]

              at sun.net.www.protocol.jar.URLJarFile.retrieve(URLJarFile.java:198) [:1.6.0_11]

              at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:50) [:1.6.0_11]

              at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:78) [:1.6.0_11]

              at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:104) [:1.6.0_11]

              at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:71) [:1.6.0_11]

      ....

       

       

      What stops jboss unzip the file?

       

      Thanks

      Sam