Java.util.zip.zipexception Error In Opening Zip File Jboss Ear
Contents |
here for a quick overview of the site caused by java.lang.runtimeexception java.util.zip.zipexception error in opening zip file Help Center Detailed answers to any questions you might java.util.zip.zipexception error in opening zip file weblogic have Meta Discuss the workings and policies of this site About Us Learn more java.util.zip.zipexception: error in opening zip file android about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users java.util.zip.zipexception error in opening zip file eclipse Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up JBoss5: Cannot deploy due to java.util.zip.ZipException: error in opening zip file up
Java.util.zip.zipexception Jboss
vote 11 down vote favorite 6 I have a web client and a EJB project, which I created with Eclipse 3.4. When I want to deploy it on Jboss 5.0.1, I receive the error below. I searched a lot but I wasn't able to find a solution to this. 18:21:21,899 INFO [ServerImpl] Starting JBoss (Microcontainer)... 18:21:21,900 INFO [ServerImpl] Release ID: JBoss [Morpheus] 5.0.1.GA (build: SVNTag=JBoss_5_0_1_GA date=200902231221) 18:21:21,900 INFO [ServerImpl] Bootstrap URL: null 18:21:21,900 INFO [ServerImpl] Home Dir: /Applications/jboss-5.0.1.GA 18:21:21,900 INFO [ServerImpl] Home URL: file:/Applications/jboss-5.0.1.GA/ 18:21:21,901 INFO [ServerImpl] Library URL: file:/Applications/jboss-5.0.1.GA/lib/ 18:21:21,901 INFO [ServerImpl] Patch URL: null 18:21:21,901 INFO [ServerImpl] Common Base URL: file:/Applications/jboss-5.0.1.GA/common/ 18:21:21,902 INFO [ServerImpl] Common Library URL: file:/Applications/jboss-5.0.1.GA/common/lib/ 18:21:21,902 INFO [ServerImpl] Server Name: default 18:21:21,902 INFO [ServerImpl] Server Base Dir: /Applications/jboss-5.0.1.GA/server 18:21:21,902 INFO [ServerImpl] Server Base URL: file:/Applications/jboss-5.0.1.GA/server/ 18:21:21,902 INFO [ServerImpl] Server Config URL: file:/Applica
in opening zip fileAgile
Java.util.zip.zipexception: Zip File Is Empty
Board ExportXMLWordPrintable Details Type: Bug Status: java.util.zip.zipexception error in opening zip file linux Closed (View Workflow) Priority: Major Resolution: Done Affects Version/s: 7.0.0.Beta3 java util zip zipexception error in opening zip file documentum Fix Version/s: No Release Component/s: VFS Labels: ear maven vfs Environment: JBoss Tools 3.3-M6 (Eclipse Indigo, http://stackoverflow.com/questions/646322/jboss5-cannot-deploy-due-to-java-util-zip-zipexception-error-in-opening-zip-fi Win7 32-bit), Maven 3.0.3 application Description Deployment of EAR application (ejb module, JSF war module, 2 jar libraries) fails with ZipException error on JBoss AS Beta 3 and Beta-4-SNAPSHOT using standalone server with https://issues.jboss.org/browse/AS7-995 exploded archives. Application is published by JBoss Tools 3.3.M6. Content of "\jboss-7.0.0.Beta3\standalone\deployments" directory included in attachment. 15:20:17,611 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.deployment.unit."SNapplication-0.0.1-SNAPSHOT.ear".STRUCTURE: org.jboss.msc.service.StartException in service jboss.deployment.unit."SNapplication-0.0.1-SNAPSHOT.ear".STRUCTURE: Failed to process phase STRUCTURE of deployment "SNapplication-0.0.1-SNAPSHOT.ear" at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:108) at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1675) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) [:1.6.0_22] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [:1.6.0_22] at java.lang.Thread.run(Unknown Source) [:1.6.0_22] Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: Failed to process children for EAR ["/C:/Dev/jboss-7.0.0.Beta3/bin/content/SNapplication-0.0.1-SNAPSHOT.ear"] at org.jboss.as.ee.structure.EarStructureProcessor.deploy(EarStructureProcessor.java:211) at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:102) ... 4 more Caused by: java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) [:1.6.0_22] at java.util.zip.ZipFile.
JBOSS 6.0 nimmagadda Joined: 10/Aug/2010 15:39:40 Messages: 13 Offline Created a project using Icefaces 2.0,JSF2.0 and http://www.icesoft.org/JForum/posts/list/18506.page EJB 3.0.Created a EAR file and deployed it on Jboss https://vikashazrati.wordpress.com/2008/05/25/quicktip-javautilzipzipexception/ 6.0 and I am stuck with the exception(zip exception) given below.I want to have a solution for this Unable to process annotations for url, vfs:/C:/jboss-6.0.0/server/default/deploy/FUSFEAR.ear/FUSFWEB.war/WEB-INF/lib/icefaces.jar/META-INF/faces-config.xml. Reason: java.util.zip.ZipException: error in opening zip file 11:25:53,498 SEVERE [config] : java.util.zip.ZipException: error in zip file opening zip file 24/Jan/2011 12:56:28 Subject: Re:deployment exception for EAR file(Icefaces) in JBOSS 6.0 judy.guglielmin Joined: 20/Feb/2007 00:00:00 Messages: 1374 Offline Can you please post the entire stack trace? This server seems to be spouting this exception for a few different reasons so it's good to review the error in opening entire stack trace for this one. Also, the list of jars that you have included and where they are located in the ear. 24/Jan/2011 13:35:59 Subject: Re:deployment exception for EAR file(Icefaces) in JBOSS 6.0 nimmagadda Joined: 10/Aug/2010 15:39:40 Messages: 13 Offline First I am listing all the jar files that are being used.They are under WEB-INF/lib folder in war file back-port-util-concurrent.jar commons jar files Fastinfoset.jar icefaces.jar icefaces-comps.jar icefaces-facelets.jar jsf-api.jar jsf-impl.jar jxl.jar krysalis-jCharts-1.0.0-alpha-1.jar jar files in ear file commons-lang-2.0.jar Java source files jar file Junit jar files org.eclipse.persistence.antlr_1.1.3.v20091002-r5404.jar org.eclipse.persistence.asm_1.1.3.v20091002-r5404.jar org.eclipse.persistence.core_1.1.3.v20091002-r5404.jar org.eclipse.persistence.jpa_1.1.3.v20091002-r5404.jar Stack trace is as given below: 13:25:54,448 SEVERE [config] Unable to process annotations for url, vfs:/C:/jboss-6.0.0/server/default/deploy/FUSFEAR.ear/FUSFWEB.war/WEB-INF/lib/icefaces.jar/META-INF/faces-config.xml. Reason: java.util.zip.ZipException: error in opening zip file 13:25:54,448 SEVERE [config] : java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) [:1.6.0_16] at java.util.zip.ZipFile.
on Sunday, May 25, 2008 0 Recently we were trying to deploy a EJB3 .ear to the Jboss 4.3GA application server when we started getting this exception. org.jboss.deployment.DeploymentException: exception in init of file:/D:/jboss-4.3.0.GA/server/default/deploy/esl_dist.ear/conf.jar ; - nested throwable: (java.lang.RuntimeException: java.util.zip.ZipException: error in opening zip file) at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:53) at org.jboss.deployment.MainDeployer.init(MainDeployer.java:901) at org.jboss.deployment.MainDeployer.init(MainDeployer.java:895) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:809) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) Luckily for us we did not have to spend too much time trying to sort it out. This exception occurs when the app server is not able to open the archive that you have created. In our case we had created the archive with winrar and the size of the archive was 95KB. When we created the archive again with Winzip the size war 107KB and this time deployment to the app server worked like a dream! Rate this:Share this:LinkedInRedditFacebookTwitterMoreEmailPrintLike this:Like Loading... Related Posted in: Java ← QuickTip : annotations are not supported in -source1.3 Is wordpress.com reeling under excessive userload? → Be the first to start a conversation Leave a Reply Cancel reply Enter your comment here... Fill in your details below or click an icon to log in: Email (required) (Address never made public) Name (required) Website You are commenting using your WordPress.com account. (LogOut/Change) You are commenting using your Twitter account. (LogOut/Change) You are commenting using your Facebook account. (LogOut/Change) You are commenting using your Google+ account. (LogOut/Change) Cancel Connecting to %s Notify me of new comments via email. Vikas Hazrati Actively posted on May 2008 M T W T F S S « Apr Jun » 1234 567891011 12131415161718 19202122232425 262728293031 Search for: Interested onAcegi Agile Architecture Article Auditing Better Software Business Cloud CMS Conference Database dbunit General Hibernate hsqldb Infrastructure Java