org.apache.catalina.core.ContainerBase.startInternal A child container failed during start
Asked by NCSU Libraries Information Technology:

> ```
> 09-Aug-2019 14:17:28.443 SEVERE [main] org.apache.catalina.core.ContainerBase.startInternal A child container failed during start
> java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Standalone].StandardHost[localhost].StandardContext[/confluence]]
> at java.util.concurrent.FutureTask.report(FutureTask.java:122)
> at java.util.concurrent.FutureTask.get(FutureTask.java:192)
> at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:951)
> at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:839)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
> at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1429)
> at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1419)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
> at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
> at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:944)
> at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:261)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
> at org.apache.catalina.core.StandardService.startInternal(StandardService.java:422)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
> at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:770)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:682)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:350)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:492)
> Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Standalone].StandardHost[localhost].StandardContext[/confluence]]
> at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:441)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:198)
> at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1429)
> at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1419)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
> at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
> at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:944)
> ... 21 more
> Caused by: java.lang.NullPointerException
> at org.apache.tomcat.util.scan.StandardJarScanner.process(StandardJarScanner.java:373)
> at org.apache.tomcat.util.scan.StandardJarScanner.scan(StandardJarScanner.java:191)
> at org.apache.catalina.startup.ContextConfig.processJarsForWebFragments(ContextConfig.java:1927)
> at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1119)
> at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:765)
> at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:299)
> at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
> at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5007)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
> ... 27 more
>
> 09-Aug-2019 14:17:28.452 SEVERE [main] org.apache.catalina.core.ContainerBase.startInternal A child container failed during start
> java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: A child container failed during start
> at java.util.concurrent.FutureTask.report(FutureTask.java:122)
> at java.util.concurrent.FutureTask.get(FutureTask.java:192)
> at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:951)
> at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:261)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
> at org.apache.catalina.core.StandardService.startInternal(StandardService.java:422)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:682)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:350)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:492)
> Caused by: org.apache.catalina.LifecycleException: A child container failed during start
> at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:960)
> at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:839)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
> at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1429)
> at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1419)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
> at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
> at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:944)
> ... 13 more
> at java.util.concurrent.FutureTask.report(FutureTask.java:122)
> at java.util.concurrent.FutureTask.get(FutureTask.java:192)
> at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:951)
> ... 21 more
> Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Standalone].StandardHost[localhost].StandardContext[/confluence]]
> at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:441)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:198)
> at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1429)
> at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1419)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5007)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
> ... 27 more
>
> 09-Aug-2019 14:17:28.453 SEVERE [main] org.apache.catalina.startup.Catalina.start The required Server component failed to start so Tomcat is unable to start.
> org.apache.catalina.LifecycleException: A child container failed during start
> at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:960)
> at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:261)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
> at org.apache.catalina.core.StandardService.startInternal(StandardService.java:422)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
> at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:770)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:682)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:350)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:492)
> Caused by: java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: A child container failed during start
> at java.util.concurrent.FutureTask.report(FutureTask.java:122)
> at java.util.concurrent.FutureTask.get(FutureTask.java:192)
> at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:951)
> ... 13 more
> Caused by: org.apache.catalina.LifecycleException: A child container failed during start
> at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:960)
> at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:839)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
> at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1429)
> at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1419)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
> at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
> at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:944)
> ... 13 more
> Caused by: java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Standalone].StandardHost[localhost].StandardContext[/confluence]]
> at java.util.concurrent.FutureTask.report(FutureTask.java:122)
> at java.util.concurrent.FutureTask.get(FutureTask.java:192)
> at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:951)
> ... 21 more
> Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Standalone].StandardHost[localhost].StandardContext[/confluence]]
> at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:441)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:198)
> at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1429)
> at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1419)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
> at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
> at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:944)
> ... 21 more
> Caused by: java.lang.NullPointerException
> at org.apache.tomcat.util.scan.StandardJarScanner.process(StandardJarScanner.java:373)
> at org.apache.tomcat.util.scan.StandardJarScanner.scan(StandardJarScanner.java:191)
> at org.apache.catalina.startup.ContextConfig.processJarsForWebFragments(ContextConfig.java:1927)
> at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1119)
> at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:765)
> at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:299)
> at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
> at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5007)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
> ... 27 more
> ```

I am really not sure what I am doing wrong here, this worked for a while then we had a crash. I have tried looking around but best I can find is java version, but we are using jre1.8.0_201-amd64


Answers:
author: Shannon S
body: Hello there,

Happy to help you get Confluence back online. I would recommend first following the diagnostic steps below:

* [Confluence Service Stops after a Few Seconds](https://confluence.atlassian.com/confkb/confluence-service-stops-after-a-few-seconds-confluence-service-won-t-start-779355975.html)

It would also help to confirm your Confluence and database versions. I'd also like to know when you were able to last start Confluence successfully and if there's been an upgrade or migration recently.

Regards,

Shannon