Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java.util.zip.ZipException: error in opening zip file while deploying war in jboss7

 
priyatham suresh
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am facing following problem while deploying war file in jboss7.


org.jboss.as.server.deployment.DeploymentUnitProcessingException: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS018037: Failed to process WEB-INF/lib: "/content/telephony-rest-1.7.1.local-SNAPSHOT.war/WEB-INF/lib/atmosphere-compat-jbossweb-2.0.1.jar"
at org.jboss.as.web.deployment.WarStructureDeploymentProcessor.deploy(WarStructureDeploymentProcessor.java:120)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
... 5 more
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS018037: Failed to process WEB-INF/lib: "/content/telephony-rest-1.7.1.local-SNAPSHOT.war/WEB-INF/lib/atmosphere-compat-jbossweb-2.0.1.jar"
at org.jboss.as.web.deployment.WarStructureDeploymentProcessor.createWebInfLibResources(WarStructureDeploymentProcessor.java:175)
at org.jboss.as.web.deployment.WarStructureDeploymentProcessor.createResourceRoots(WarStructureDeploymentProcessor.java:153)
at org.jboss.as.web.deployment.WarStructureDeploymentProcessor.deploy(WarStructureDeploymentProcessor.java:114)
... 6 more
Caused by: java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method) [rt.jar:1.7.0_80]
at java.util.zip.ZipFile.<init>(ZipFile.java:215) [rt.jar:1.7.0_80]
at java.util.zip.ZipFile.<init>(ZipFile.java:145) [rt.jar:1.7.0_80]
at java.util.jar.JarFile.<init>(JarFile.java:154) [rt.jar:1.7.0_80]
at java.util.jar.JarFile.<init>(JarFile.java:118) [rt.jar:1.7.0_80]
at org.jboss.vfs.spi.JavaZipFileSystem.<init>(JavaZipFileSystem.java:97)
at org.jboss.vfs.spi.JavaZipFileSystem.<init>(JavaZipFileSystem.java:83)
at org.jboss.vfs.VFS.mountZip(VFS.java:408)
at org.jboss.vfs.VFS.mountZip(VFS.java:434)
at org.jboss.as.web.deployment.WarStructureDeploymentProcessor.createWebInfLibResources(WarStructureDeploymentProcessor.java:170)
... 8 more

01-09-2015 10:28:23,555 ERROR [org.jboss.as.server.deployment.scanner] (handleFailureResult) (DeploymentScanner-threads - 2) {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"telephony-rest-1.7.1.local-SNAPSHOT.war\".STRUCTURE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"telephony-rest-1.7.1.local-SNAPSHOT.war\".STRUCTURE: Failed to process phase STRUCTURE of deployment \"telephony-rest-1.7.1.local-SNAPSHOT.war\""}}}}


Thanks in advance for the solution.
 
Himai Minh
Ranch Hand
Posts: 1361
7
 
priyatham suresh
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I resolved this issue by upgrading maven from maven2 to maven3
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic