[jboss-as7-dev] error in opening zip file: faces-config.xml

Frank Langelage frank at lafr.de
Mon Nov 26 16:38:53 EST 2012


After today's update of my local JBossAS 7 with sources from github 
(Fast-forwarded master to b72f8b72a6d3f1d24309582bb45ad45485c7e3fb) I 
see this in my server.log while my web-app is deploying:
20:58:39,613 SEVERE 
[javax.enterprise.resource.webcontainer.jsf.config#processClasspath] 
Unable to process annotations for url, 
vfs:/content/web-pel2e-langfr-sb2000-ipc.war/WEB-INF/lib/richfaces-core-impl.jar/META-INF/faces-config.xml. 
Reason: java.util.zip.ZipException: error in opening zip file
20:58:39,615 SEVERE 
[javax.enterprise.resource.webcontainer.jsf.config#processClasspath] : 
java.util.zip.ZipException: error in opening zip file
         at java.util.zip.ZipFile.open(Native Method) [rt.jar:1.6.0_37]
         at java.util.zip.ZipFile.<init>(ZipFile.java:127) [rt.jar:1.6.0_37]
         at java.util.jar.JarFile.<init>(JarFile.java:135) [rt.jar:1.6.0_37]
         at 
sun.net.www.protocol.jar.URLJarFile.<init>(URLJarFile.java:67) 
[rt.jar:1.6.0_37]
         at 
sun.net.www.protocol.jar.URLJarFile$1.run(URLJarFile.java:214) 
[rt.jar:1.6.0_37]
         at java.security.AccessController.doPrivileged(Native Method) 
[rt.jar:1.6.0_37]
         at 
sun.net.www.protocol.jar.URLJarFile.retrieve(URLJarFile.java:198) 
[rt.jar:1.6.0_37]
         at 
sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:50) 
[rt.jar:1.6.0_37]
         at 
sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:70) 
[rt.jar:1.6.0_37]
         at 
sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:104) 
[rt.jar:1.6.0_37]
         at 
sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:71) 
[rt.jar:1.6.0_37]
         at 
com.sun.faces.config.JavaClassScanningAnnotationScanner.processClasspath(JavaClassScanningAnnotationScanner.java:166) 
[jsf-impl-2.1.13-jbossorg-1.jar:]
         at 
com.sun.faces.config.JavaClassScanningAnnotationScanner.getAnnotatedClasses(JavaClassScanningAnnotationScanner.java:125) 
[jsf-impl-2.1.13-jbossorg-1.jar:]
         at 
com.sun.faces.config.DelegatingAnnotationProvider.getAnnotatedClasses(DelegatingAnnotationProvider.java:85) 
[jsf-impl-2.1.13-jbossorg-1.jar:]
         at 
com.sun.faces.config.ConfigManager$AnnotationScanTask.call(ConfigManager.java:845) 
[jsf-impl-2.1.13-jbossorg-1.jar:]
         at 
com.sun.faces.config.ConfigManager$AnnotationScanTask.call(ConfigManager.java:797) 
[jsf-impl-2.1.13-jbossorg-1.jar:]
         at 
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) 
[rt.jar:1.6.0_37]
         at java.util.concurrent.FutureTask.run(FutureTask.java:138) 
[rt.jar:1.6.0_37]
         at 
com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:352) 
[jsf-impl-2.1.13-jbossorg-1.jar:]
         at 
com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:223) 
[jsf-impl-2.1.13-jbossorg-1.jar:]
         at 
org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3339) 
[jbossweb-7.2.0.Alpha5.jar:7.2.0.Alpha5]
         at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:3777) [jbossweb-7.2.0.Alpha5.jar:7.2.0.Alpha5]
         at 
org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:156) 
[jboss-as-web-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]
         at 
org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:60) 
[jboss-as-web-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]
         at 
org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:93) 
[jboss-as-web-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]
         at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439) 
[rt.jar:1.6.0_37]
         at 
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) 
[rt.jar:1.6.0_37]
         at java.util.concurrent.FutureTask.run(FutureTask.java:138) 
[rt.jar:1.6.0_37]
         at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) 
[rt.jar:1.6.0_37]
         at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) 
[rt.jar:1.6.0_37]
         at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_37]
         at org.jboss.threads.JBossThread.run(JBossThread.java:122)

The same for some other libs included in my war:
20:58:39,634 SEVERE 
[javax.enterprise.resource.webcontainer.jsf.config#processClasspath] 
Unable to process annotations for url, 
vfs:/content/web-pel2e-langfr-sb2000-ipc.war/WEB-INF/lib/openfaces.jar/META-INF/faces-config.xml. 
Reason: java.util.zip.ZipException: error in opening zip file
20:58:39,763 SEVERE 
[javax.enterprise.resource.webcontainer.jsf.config#processClasspath] 
Unable to process annotations for url, 
vfs:/content/web-pel2e-langfr-sb2000-ipc.war/WEB-INF/lib/richfaces-components-ui.jar/META-INF/faces-config.xml. 
Reason: java.util.zip.ZipException: error in opening zip file



More information about the jboss-as7-dev mailing list