0 Replies Latest reply on May 17, 2013 10:21 AM by nitinkhekare

    Getting error for JSF2.0 (PrimeFaces) + JBoss Seam 2.3 + JBoss 6.1.0

    nitinkhekare

      Hi

       

      I am trying to deply an application with PrimeFaces 3.5 + Jboss Seam 2.3 on JBoss 6.1.0. Getting error like

       

       

      18:07:31,090 INFO  [application] JSF1048: PostConstruct/PreDestroy annotations present.  ManagedBeans methods marked with these annotations will have said annotations processed.

      18:07:31,161 SEVERE [config] Unable to process annotations for url, vfs:/opt/Avaya/JBoss/6.1.0/jboss-as/server/avmgmt/deploy/drsApplication.ear/drsPrimeFaces.war/WEB-INF/lib/primefaces-3.5.jar/META-INF/faces-config.xml.  Reason: java.util.zip.ZipException: zip file is empty

      18:07:31,162 SEVERE [config] : java.util.zip.ZipException: zip file is empty

              at java.util.zip.ZipFile.open(Native Method) [:1.7.0_17]

              at java.util.zip.ZipFile.<init>(ZipFile.java:214) [:1.7.0_17]

              at java.util.zip.ZipFile.<init>(ZipFile.java:144) [:1.7.0_17]

              at java.util.jar.JarFile.<init>(JarFile.java:153) [:1.7.0_17]

              at sun.net.www.protocol.jar.URLJarFile.<init>(URLJarFile.java:88) [:1.7.0_17]

              at sun.net.www.protocol.jar.URLJarFile$1.run(URLJarFile.java:221) [:1.7.0_17]

              at sun.net.www.protocol.jar.URLJarFile$1.run(URLJarFile.java:216) [:1.7.0_17]

              at java.security.AccessController.doPrivileged(Native Method) [:1.7.0_17]

              at sun.net.www.protocol.jar.URLJarFile.retrieve(URLJarFile.java:215) [:1.7.0_17]

              at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:71) [:1.7.0_17]

              at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:88) [:1.7.0_17]

              at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:122) [:1.7.0_17]

              at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:89) [:1.7.0_17]

              at com.sun.faces.config.JavaClassScanningAnnotationScanner.processClasspath(JavaClassScanningAnnotationScanner.java:166) [:2.0.3-]

              at com.sun.faces.config.JavaClassScanningAnnotationScanner.getAnnotatedClasses(JavaClassScanningAnnotationScanner.java:125) [:2.0.3-]

              at com.sun.faces.config.DelegatingAnnotationProvider.getAnnotatedClasses(DelegatingAnnotationProvider.java:85) [:2.0.3-]

              at com.sun.faces.config.ConfigManager$AnnotationScanTask.call(ConfigManager.java:845) [:2.0.3-]

              at com.sun.faces.config.ConfigManager$AnnotationScanTask.call(ConfigManager.java:797) [:2.0.3-]

              at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [:1.7.0_17]

              at java.util.concurrent.FutureTask.run(FutureTask.java:166) [:1.7.0_17]

              at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:352) [:2.0.3-]

              at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:225) [:2.0.3-]

              at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3369) [:6.1.0.Final]

              at org.apache.catalina.core.StandardContext.start(StandardContext.java:3828) [:6.1.0.Final]

              at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:294) [:6.1.0.Final]

              at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:146) [:6.1.0.Final]

       

       

      18:07:31,216 SEVERE [config] Unable to process annotations for url, vfs:/opt/Avaya/JBoss/6.1.0/jboss-as/server/avmgmt/deploy/drsApplication.ear/drsPrimeFaces.war/WEB-INF/lib/jboss-seam.jar/META-INF/faces-config.xml.  Reason: java.util.zip.ZipException: zip file is empty

      18:07:31,216 SEVERE [config] : java.util.zip.ZipException: zip file is empty

              at java.util.zip.ZipFile.open(Native Method) [:1.7.0_17]

              at java.util.zip.ZipFile.<init>(ZipFile.java:214) [:1.7.0_17]

              at java.util.zip.ZipFile.<init>(ZipFile.java:144) [:1.7.0_17]

              at java.util.jar.JarFile.<init>(JarFile.java:153) [:1.7.0_17]

              at sun.net.www.protocol.jar.URLJarFile.<init>(URLJarFile.java:88) [:1.7.0_17]

              at sun.net.www.protocol.jar.URLJarFile$1.run(URLJarFile.java:221) [:1.7.0_17]

              at sun.net.www.protocol.jar.URLJarFile$1.run(URLJarFile.java:216) [:1.7.0_17]

              at java.security.AccessController.doPrivileged(Native Method) [:1.7.0_17]

              at sun.net.www.protocol.jar.URLJarFile.retrieve(URLJarFile.java:215) [:1.7.0_17]

              at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:71) [:1.7.0_17]

              at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:88) [:1.7.0_17]

              at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:122) [:1.7.0_17]

              at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:89) [:1.7.0_17]

              at com.sun.faces.config.JavaClassScanningAnnotationScanner.processClasspath(JavaClassScanningAnnotationScanner.java:166) [:2.0.3-]

              at com.sun.faces.config.JavaClassScanningAnnotationScanner.getAnnotatedClasses(JavaClassScanningAnnotationScanner.java:125) [:2.0.3-]

              at com.sun.faces.config.DelegatingAnnotationProvider.getAnnotatedClasses(DelegatingAnnotationProvider.java:85) [:2.0.3-]

              at com.sun.faces.config.ConfigManager$AnnotationScanTask.call(ConfigManager.java:845) [:2.0.3-]

              at com.sun.faces.config.ConfigManager$AnnotationScanTask.call(ConfigManager.java:797) [:2.0.3-]

              at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [:1.7.0_17]

              at java.util.concurrent.FutureTask.run(FutureTask.java:166) [:1.7.0_17]

              at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:352) [:2.0.3-]

              at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:225) [:2.0.3-]

              at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3369) [:6.1.0.Final]

              at org.apache.catalina.core.StandardContext.start(StandardContext.java:3828) [:6.1.0.Final]

              at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:294) [:6.1.0.Final]

              at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:146) [:6.1.0.Final]

              at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:476) [:6.1.0.Final]

              at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118) [:6.1.0.Final]

              at org.jboss.web.deployers.WebModule.start(WebModule.java:95) [:6.1.0.Final]

              at sun.reflect.GeneratedMethodAccessor1455.invoke(Unknown Source) [:1.7.0_17]

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [:1.7.0_17]

              at java.lang.reflect.Method.invoke(Method.java:601) [:1.7.0_17]

              at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) [:6.0.0.GA]

              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) [:6.0.0.GA]

              at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) [:6.0.0.GA]

              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:271) [:6.0.0.GA]

              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:670) [:6.0.0.GA]

              at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206) [:2.2.0.SP2]

       

      can anybody help me to resolve this issue.

       

      Thanks