8 Replies Latest reply on Jul 11, 2015 1:46 PM by Jean Carlos Bezerra

    ZipException with JBoss 7.1.3 (EAP 6.0.1) and RichFaces 4.3.0

    Rodrigo Uchoa Novice

      I'm getting a weird exception and my application is being deployed:

       

      11:23:36,467 INFO  [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-4) Initializing Mojarra 2.1.13-jbossorg-1 20121010-0442 for context '/siasp'
      11:23:38,862 INFO  [javax.enterprise.resource.webcontainer.jsf.application] (MSC service thread 1-4) JSF1048: PostConstruct/PreDestroy annotations present.  ManagedBeans methods marked with these annotations will have said annotations processed.
      11:23:38,977 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-4) Unable to process annotations for url, vfs:/Users/rodrigouchoa/Java/jboss-eap-6.0/standalone/deployments/siasp.war/WEB-INF/lib/richfaces-components-ui-4.3.0.Final.jar/META-INF/faces-config.xml.  Reason: java.util.zip.ZipException: zip file is empty
      11:23:38,977 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-4) : java.util.zip.ZipException: zip file is empty
          at java.util.zip.ZipFile.open(Native Method) [rt.jar:1.7.0_17]
          at java.util.zip.ZipFile.<init>(ZipFile.java:214) [rt.jar:1.7.0_17]
          at java.util.zip.ZipFile.<init>(ZipFile.java:144) [rt.jar:1.7.0_17]
          at java.util.jar.JarFile.<init>(JarFile.java:153) [rt.jar:1.7.0_17]
          at sun.net.www.protocol.jar.URLJarFile.<init>(URLJarFile.java:88) [rt.jar:1.7.0_17]
          at sun.net.www.protocol.jar.URLJarFile$1.run(URLJarFile.java:221) [rt.jar:1.7.0_17]
          at sun.net.www.protocol.jar.URLJarFile$1.run(URLJarFile.java:216) [rt.jar:1.7.0_17]
          at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.7.0_17]
          at sun.net.www.protocol.jar.URLJarFile.retrieve(URLJarFile.java:215) [rt.jar:1.7.0_17]
          at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:71) [rt.jar:1.7.0_17]
          at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:73) [rt.jar:1.7.0_17]
          at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:122) [rt.jar:1.7.0_17]
          at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:89) [rt.jar:1.7.0_17]
          at com.sun.faces.config.JavaClassScanningAnnotationScanner.processClasspath(JavaClassScanningAnnotationScanner.java:166) [jsf-impl-2.1.13-redhat-1.jar:2.1.13-redhat-1]
          at com.sun.faces.config.JavaClassScanningAnnotationScanner.getAnnotatedClasses(JavaClassScanningAnnotationScanner.java:125) [jsf-impl-2.1.13-redhat-1.jar:2.1.13-redhat-1]
          at com.sun.faces.config.DelegatingAnnotationProvider.getAnnotatedClasses(DelegatingAnnotationProvider.java:85) [jsf-impl-2.1.13-redhat-1.jar:2.1.13-redhat-1]
          at com.sun.faces.config.ConfigManager$AnnotationScanTask.call(ConfigManager.java:845) [jsf-impl-2.1.13-redhat-1.jar:2.1.13-redhat-1]
          at com.sun.faces.config.ConfigManager$AnnotationScanTask.call(ConfigManager.java:797) [jsf-impl-2.1.13-redhat-1.jar:2.1.13-redhat-1]
          at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [rt.jar:1.7.0_17]
          at java.util.concurrent.FutureTask.run(FutureTask.java:166) [rt.jar:1.7.0_17]
          at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:352) [jsf-impl-2.1.13-redhat-1.jar:2.1.13-redhat-1]
          at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:223) [jsf-impl-2.1.13-redhat-1.jar:2.1.13-redhat-1]
          at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.17.Final-redhat-1.jar:]
          at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.17.Final-redhat-1.jar:]
          at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:89) [jboss-as-web-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]
          at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
          at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_17]
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_17]
          at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_17]
      

       

      Does anyone have a clue?