5 Replies Latest reply on Jul 2, 2013 3:14 PM by shura_gk

    ZipException deploying ear

    shura_gk Newbie

      I am trying to deploy a seam application as part of a migration from glassfish to JBoss AS 7.1.1.  When I try to enable the ear file content, I get the following error:

       

      ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/tpals]] (MSC service thread 1-7) Exce

      ption sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener: java.lang.RuntimeE

      xception: Error handling file /content/tpals-ear-1.0.1-SNAPSHOT.ear/tpals-ejb-1.0.1-SNAPSHOT.jar

              at org.jboss.seam.deployment.URLScanner.handleArchiveByFile(URLScanner.java:134) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

              at org.jboss.seam.deployment.URLScanner.handle(URLScanner.java:107) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

              at org.jboss.seam.deployment.URLScanner.scanResources(URLScanner.java:90) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

              at org.jboss.seam.deployment.StandardDeploymentStrategy.scan(StandardDeploymentStrategy.java:113) [jboss-seam-2.2.0.G

      A.jar:2.2.0.GA]

              at org.jboss.seam.init.Initialization.create(Initialization.java:132) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

              at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:36) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

              at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.ja

      r:]

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

              at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar

      :7.1.1.Final]

              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_22]

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

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

      Caused by: java.util.zip.ZipException: error in opening zip file

              at java.util.zip.ZipFile.open(Native Method) [rt.jar:1.6.0_22]

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

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

              at org.jboss.seam.deployment.URLScanner.handleArchiveByFile(URLScanner.java:123) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

              ... 13 more

       

      Can anybody explain what is going? 

      Thanks in advance.