tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier (tomcat) ...@ice-sa.com>
Subject Re: Multiple errors
Date Mon, 20 Nov 2017 08:08:53 GMT
On 19.11.2017 07:32, Karen Goh wrote:
> Hi,
>
> I am writing to this group as I could not get an answer from anywhere.
>
> Basically, I do not know what happened cos my Tomcat was running fine and then I got
a bunch of error.
>
> I did a mvn clean, delete all my dependencies in my .m2 repositotries and rebuilt, re-installed
Tomcat many times but to no avail.
>
> My tomcat is in my built path in my Eclipse NEON.
>
> So, I really hope someone can let me know what went wrong.

I'm not the expert, but it looks as if one of the .jar files composing tomcat may be corrupt.
I am basing this on the following lines below :

[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/Hi5S]]
...
 > Caused by: java.lang.IllegalArgumentException: java.util.zip.ZipException: invalid LOC

header (bad signature)

(a .jar file is a zip file containing java programs and libraries)

"/Hi5S" does not look like it is any part of a standard tomcat, so maybe it is in your 
application rather than tomcat itself.

>
> Here's the error message :
>
> Nov 19, 2017 2:30:29 PM org.apache.catalina.core.StandardService startInternal
> INFO: Starting service [Catalina]
> Nov 19, 2017 2:30:29 PM org.apache.catalina.core.StandardEngine startInternal
> INFO: Starting Servlet Engine: Apache Tomcat/8.5.23
> Nov 19, 2017 2:30:30 PM org.apache.catalina.core.ContainerBase startInternal
> SEVERE: A child container failed during start
> java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed
to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/Hi5S]]
> 	at java.util.concurrent.FutureTask.report(Unknown Source)
> 	at java.util.concurrent.FutureTask.get(Unknown Source)
> 	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:939)
> 	at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:872)
> 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> 	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1419)
> 	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409)
> 	at java.util.concurrent.FutureTask.run(Unknown Source)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> 	at java.lang.Thread.run(Unknown Source)
> Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/Hi5S]]
> 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
> 	... 6 more
> Caused by: org.apache.catalina.LifecycleException: Failed to start component [org.apache.catalina.webresources.StandardRoot@59d0966f]
> 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
> 	at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4860)
> 	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4995)
> 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> 	... 6 more
> Caused by: org.apache.catalina.LifecycleException: Failed to initialize component [org.apache.catalina.webresources.JarResourceSet@38099cbe]
> 	at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:113)
> 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:140)
> 	at org.apache.catalina.webresources.StandardRoot.startInternal(StandardRoot.java:724)
> 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> 	... 9 more
> Caused by: java.lang.IllegalArgumentException: java.util.zip.ZipException: invalid LOC
header (bad signature)
> 	at org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.initInternal(AbstractSingleArchiveResourceSet.java:113)
> 	at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)
> 	... 12 more
> Caused by: java.util.zip.ZipException: invalid LOC header (bad signature)
> 	at java.util.zip.ZipFile.read(Native Method)
> 	at java.util.zip.ZipFile.access$1400(Unknown Source)
> 	at java.util.zip.ZipFile$ZipFileInputStream.read(Unknown Source)
> 	at java.util.zip.ZipFile$ZipFileInflaterInputStream.fill(Unknown Source)
> 	at java.util.zip.InflaterInputStream.read(Unknown Source)
> 	at sun.misc.IOUtils.readFully(Unknown Source)
> 	at java.util.jar.JarFile.getBytes(Unknown Source)
> 	at java.util.jar.JarFile.getManifestFromReference(Unknown Source)
> 	at java.util.jar.JarFile.getManifest(Unknown Source)
> 	at org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.initInternal(AbstractSingleArchiveResourceSet.java:111)
> 	... 13 more
>
> Nov 19, 2017 2:30:30 PM org.apache.catalina.core.ContainerBase startInternal
> SEVERE: A child container failed during start
> java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed
to start component [StandardEngine[Catalina].StandardHost[localhost]]
> 	at java.util.concurrent.FutureTask.report(Unknown Source)
> 	at java.util.concurrent.FutureTask.get(Unknown Source)
> 	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:939)
> 	at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
> 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> 	at org.apache.catalina.core.StandardService.startInternal(StandardService.java:422)
> 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> 	at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:793)
> 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> 	at org.apache.catalina.startup.Catalina.start(Catalina.java:670)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> 	at java.lang.reflect.Method.invoke(Unknown Source)
> 	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:355)
> 	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:495)
> Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]
> 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
> 	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1419)
> 	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409)
> 	at java.util.concurrent.FutureTask.run(Unknown Source)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> 	at java.lang.Thread.run(Unknown Source)
> Caused by: org.apache.catalina.LifecycleException: A child container failed during start
> 	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:948)
> 	at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:872)
> 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> 	... 6 more
>
> Nov 19, 2017 2:30:30 PM org.apache.catalina.startup.Catalina start
> SEVERE: The required Server component failed to start so Tomcat is unable to start.
> org.apache.catalina.LifecycleException: Failed to start component [StandardServer[8005]]
> 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
> 	at org.apache.catalina.startup.Catalina.start(Catalina.java:670)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> 	at java.lang.reflect.Method.invoke(Unknown Source)
> 	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:355)
> 	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:495)
> Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardService[Catalina]]
> 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
> 	at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:793)
> 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> 	... 7 more
> Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina]]
> 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
> 	at org.apache.catalina.core.StandardService.startInternal(StandardService.java:422)
> 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> 	... 9 more
> Caused by: org.apache.catalina.LifecycleException: A child container failed during start
> 	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:948)
> 	at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
> 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> 	... 11 more
>
> Nov 19, 2017 2:30:30 PM org.apache.coyote.AbstractProtocol pause
> INFO: Pausing ProtocolHandler ["http-nio-8013"]
> Nov 19, 2017 2:30:30 PM org.apache.coyote.AbstractProtocol pause
> INFO: Pausing ProtocolHandler ["ajp-nio-8009"]
> Nov 19, 2017 2:30:30 PM org.apache.catalina.core.StandardService stopInternal
> INFO: Stopping service [Catalina]
> Nov 19, 2017 2:30:30 PM org.apache.coyote.AbstractProtocol destroy
> INFO: Destroying ProtocolHandler ["http-nio-8013"]
> Nov 19, 2017 2:30:30 PM org.apache.coyote.AbstractProtocol destroy
> INFO: Destroying ProtocolHandler ["ajp-nio-8009"]
> Nov 19, 2017 2:30:30 PM org.apache.catalina.deploy.NamingResourcesImpl cleanUp
> WARNING: Failed to retrieve JNDI naming context for container [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/Hi5S]]
so no cleanup was performed for that container
> javax.naming.NamingException: No naming context bound to this class loader
> 	at org.apache.naming.ContextBindings.getClassLoader(ContextBindings.java:268)
> 	at org.apache.catalina.deploy.NamingResourcesImpl.cleanUp(NamingResourcesImpl.java:993)
> 	at org.apache.catalina.deploy.NamingResourcesImpl.stopInternal(NamingResourcesImpl.java:976)
> 	at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:226)
> 	at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5443)
> 	at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:226)
> 	at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:264)
> 	at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:854)
> 	at org.apache.catalina.core.ContainerBase.destroyInternal(ContainerBase.java:1036)
> 	at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:297)
> 	at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:854)
> 	at org.apache.catalina.core.ContainerBase.destroyInternal(ContainerBase.java:1036)
> 	at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:297)
> 	at org.apache.catalina.core.StandardService.destroyInternal(StandardService.java:585)
> 	at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:297)
> 	at org.apache.catalina.core.StandardServer.destroyInternal(StandardServer.java:883)
> 	at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:297)
> 	at org.apache.catalina.startup.Catalina.start(Catalina.java:674)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> 	at java.lang.reflect.Method.invoke(Unknown Source)
> 	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:355)
> 	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:495)
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message