6 Replies Latest reply on Sep 19, 2012 4:40 PM by Frank Langelage

    SEVERE error when deploying web-app with sources/build as of today (2012-09-17)

    Frank Langelage Master

      I updated my JBoss version with the current sources from github as of this morning. Previous checkout was somewhen middle of last week.

      After this I see exceptions during deployment of my war-file:

      17:25:11,014 INFO  [org.jboss.as.server.deployment#start] JBAS015876: Starting deployment of "web-hgm2e-langfr-sb2000-ipc.war"

      17:25:24,249 INFO  [org.jboss.weld.deployer#deploy] JBAS016002: Processing weld deployment web-hgm2e-langfr-sb2000-ipc.war

      17:25:26,487 INFO  [org.jboss.weld.deployer#deploy] JBAS016005: Starting Services for CDI deployment: web-hgm2e-langfr-sb2000-ipc.war

      17:25:26,754 INFO  [org.jboss.weld.deployer#start] JBAS016008: Starting weld service for deployment web-hgm2e-langfr-sb2000-ipc.war

      17:25:34,377 INFO  [org.jboss.web#start] JBAS018210: Register web context: /web-hgm2e-langfr-sb2000-ipc

      17:25:34,533 INFO  [javax.enterprise.resource.webcontainer.jsf.config#contextInitialized] Initializing Mojarra 2.1.12-jbossorg-1 20120816-1535 for context '/web-hgm2e-langfr-sb2000-ipc'

      17:25:38,980 SEVERE [javax.enterprise.resource.webcontainer.jsf.config#processClasspath] Unable to process annotations for url, vfs:/content/web-hgm2e-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

      17:25:38,982 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_35]

          at java.util.zip.ZipFile.<init>(ZipFile.java:127) [rt.jar:1.6.0_35]

          at java.util.jar.JarFile.<init>(JarFile.java:135) [rt.jar:1.6.0_35]

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

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

          at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.6.0_35]

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

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

          at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:70) [rt.jar:1.6.0_35]

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

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

          at com.sun.faces.config.JavaClassScanningAnnotationScanner.processClasspath(JavaClassScanningAnnotationScanner.java:166) [jsf-impl-2.1.12-jbossorg-1.jar:]

          at com.sun.faces.config.JavaClassScanningAnnotationScanner.getAnnotatedClasses(JavaClassScanningAnnotationScanner.java:125) [jsf-impl-2.1.12-jbossorg-1.jar:]

          at com.sun.faces.config.DelegatingAnnotationProvider.getAnnotatedClasses(DelegatingAnnotationProvider.java:85) [jsf-impl-2.1.12-jbossorg-1.jar:]

          at com.sun.faces.config.ConfigManager$AnnotationScanTask.call(ConfigManager.java:845) [jsf-impl-2.1.12-jbossorg-1.jar:]

          at com.sun.faces.config.ConfigManager$AnnotationScanTask.call(ConfigManager.java:797) [jsf-impl-2.1.12-jbossorg-1.jar:]

          at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [rt.jar:1.6.0_35]

          at java.util.concurrent.FutureTask.run(FutureTask.java:138) [rt.jar:1.6.0_35]

          at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:352) [jsf-impl-2.1.12-jbossorg-1.jar:]

          at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:223) [jsf-impl-2.1.12-jbossorg-1.jar:]

          at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.17.Final.jar:]

          at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.17.Final.jar:]

          at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:102) [jboss-as-web-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]

          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$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_35]

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_35]

          at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_35]

       

      My war-file contains these libs:

      253950 Fri Sep 14 07:15:20 CEST 2012 WEB-INF/lib/cssparser.jar

      309293 Fri Sep 14 07:15:20 CEST 2012 WEB-INF/lib/jcommon.jar

      1425744 Fri Sep 14 07:15:20 CEST 2012 WEB-INF/lib/jfreechart.jar

      2903872 Fri Sep 14 07:15:18 CEST 2012 WEB-INF/lib/openfaces.jar

      14526 Fri Sep 14 07:15:20 CEST 2012 WEB-INF/lib/sac.jar

      70358 Mon May 14 00:01:30 CEST 2012 WEB-INF/lib/richfaces-components-api.jar

      6417675 Mon May 14 00:01:30 CEST 2012 WEB-INF/lib/richfaces-components-ui.jar

      145915 Mon May 14 00:01:30 CEST 2012 WEB-INF/lib/richfaces-core-api.jar

      464753 Mon May 14 00:01:30 CEST 2012 WEB-INF/lib/richfaces-core-impl.jar

      89635 Mon Sep 17 12:28:30 CEST 2012 WEB-INF/lib/common.jar

      725735 Sat Oct 24 16:11:04 CEST 2009 WEB-INF/lib/jxl.jar

      65507 Sat Oct 15 19:42:20 CEST 2011 WEB-INF/lib/javatuples.jar

       

      I see the exception for richfaces-core-impl.jar (as shown above) and richfaces-components-ui.jar and openfaces.jar.

       

      Allthough the files are there:

      -rwxr--r--   1 mbi  informix  464753 May 14 00:01 richfaces/richfaces-core-impl.jar

      jar -tvf richfaces/richfaces-core-impl.jar META-INF/faces-config.xml

        3939 Sun May 13 22:42:46 CEST 2012 META-INF/faces-config.xml

      -rwxr--r--   1 mbi  informix 6417675 May 14 00:01 richfaces/richfaces-components-ui.jar

      jar -tvf richfaces/richfaces-components-ui.jar META-INF/faces-config.xml

      1864875 Sun May 13 23:03:32 CEST 2012 META-INF/faces-config.xml

      -rwxr--r--   1 mbi  informix 2903872 Sep 14 07:15 openfaces/openfaces.jar

      jar -tvf openfaces/openfaces.jar META-INF/faces-config.xml

      68008 Fri Sep 14 05:43:26 CEST 2012 META-INF/faces-config.xml

       

      And web-application is working without problems as it seems. Openfaces nd richfaces components are available and usable.