Caused By Java.util.zip.zipexception Error In Opening Zip File Tomcat
here for a quick overview of the site Help Center Detailed answers to
Caused By: Java.lang.illegalargumentexception: Java.util.zip.zipexception: Error In Opening Zip File
any questions you might have Meta Discuss the workings and java.lang.illegalargumentexception: invalid or unreadable war file : error in opening zip file policies of this site About Us Learn more about Stack Overflow the company Business Learn java.util.zip.zipexception error in opening zip file weblogic more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow
Severe Exception Fixing Docbase For Context Java.util.zip.zipexception Error In Opening Zip File
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 trouble deploying .WAR to tomcat up vote 10 down vote favorite 1 im having trouble deploying a war file on tomcat. i have written a webapp
Java.util.zip.zipexception Error In Opening Zip File Linux
in netbeans on my windows machine. it all runs fine. what i want to do is deploy the application on my linux computer that is acting as my server. once the application is built, i copy the war file from the dist folder in my project directory onto a pendrive. i then copy this onto the desktop of my linux computer. i then start tomcat and using the application manager i browse the war file to deploy, then click deploy. i get a message at the top of the browser saying 'OK'. yet if i look at my tomcat output in the terminal window i have the following error: 4/01/2011 5:09:07 PM org.apache.catalina.startup.HostConfig deployWAR INFO: Deploying web application archive Kingdoms.war 4/01/2011 5:09:07 PM org.apache.catalina.startup.ContextConfig init SEVERE: Exception fixing docBase for context [/Kingdoms] java.util.zip.ZipException: invalid CEN header (bad signature) at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.
here for a quick overview of the
Java.util.zip.zipexception: Error In Opening Zip File Jar
site Help Center Detailed answers to any questions you might have Meta caused by: org.apache.catalina.lifecycleexception: error in resourcestart() Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business http://stackoverflow.com/questions/4590614/trouble-deploying-war-to-tomcat Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like http://stackoverflow.com/questions/24799533/java-util-zip-zipexception-error-in-opening-zip-file-tomcat you, helping each other. Join them; it only takes a minute: Sign up java.util.zip.ZipException: error in opening zip file ,tomcat up vote 1 down vote favorite My project is working, but I don't know what happend why. I'm having this problem when I run the application: Avertissement: Failed to scan JAR [file:/C:/Users/TOSHIBA/Desktop/Nouveau%20dossier%20(3)/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/1-BaseAppMaven/WEB-INF/lib/scala-library-2.10.4.jar] from WEB-INF/lib java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.
in opening zip file This post is not necessarily about any specific technology. Just wanted to tell you about one possible reason error in for this commonly faced problem. I was working on a Spring MVC application lately and I got the following error SEVERE [localhost-startStop-4] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to error in opening start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/springcaptcha]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:153) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:940) at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1816) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.catalina.LifecycleException: Failed to start component [org.apache.catalina.webresources.StandardRoot@70d8c322] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:153) at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4958) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5088) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147) … 10 more Caused by: org.apache.catalina.LifecycleException: Failed to initialize component [org.apache.catalina.webresources.JarResourceSet@2e94c523] at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:106) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:136) at org.apache.catalina.webresources.StandardRoot.startInternal(StandardRoot.java:699) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147) … 13 more Caused by: java.lang.IllegalArgumentException: java.util.zip.ZipException: error in opening zip file at org.apache.catalina.webresources.JarResourceSet.initInternal(JarResourceSet.java:139) at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102) … 16 more Caused by: java.util
10:47 am Actually we got the Exception like below after the JRE 1.5 to JRE "1.6.0_16"migration.We have a list of jar files under WEB-INF/lib directory.And Exception had been thrown for all jar files but here I will paste a partof Exception stack trace.Can anyone help us to debug this issue.Actually in windows there is no issue.But in solaris we faced this issue.The Platform setup is,Jre 1.6.0_16OS - Solaris 9 4/04 s9s_u6wos_08a SPARCTomcat 5.5WARNING: Could not get dir listing for/opt/CSCOpx/MDC/tomcat/webapps/ipm/WEB-INFOct 23, 2009 6:10:45 PM org.apache.catalina.startup.TldConfig tldScanJarSEVERE: Exception processing JAR at resource path/opt/CSCOpx/MDC/tomcat/webapps/ipm/WEB-INF/lib/struts.jar in context /ipmjava.util.zip.ZipException: error in opening zip fileat java.util.zip.ZipFile.open(Native Method)at java.util.zip.ZipFile.(JarFile.java:133)at java.util.jar.JarFile.(T ldConfig.java:457)at org.apache.catalina.startup.TldConfig.execute(TldC onfig.java:307)at org.apache.catalina.core.StandardContext.processTlds(StandardContext.java:4278)at org.apache.catalina.core.StandardContext.start(StandardContext.java:4115)at org.apache.catalina.core.ContainerBase.start(Conta inerBase.java:1013)at org.apache.catalina.core.StandardHost.start(Standa rdHost.java:718)at org.apache.catalina.core.ContainerBase.start(Conta inerBase.java:1013)at org.apache.catalina.core.StandardEngine.start(Stan dardEngine.java:442)at org.apache.catalina.core.StandardService.start(Sta ndardService.java:450)at org.apache.catalina.core.StandardServer.start(Stan dardServer.java:709)at org.apache.catalina.startup.Catalina.start(Catalin a.java:551)at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)at java.lang.reflect.Method.invoke(Method.java:597)at org.apache.catalina.startup.Bootstrap.start(Bootst rap.java:294)at org.ap