Confluence startup fails without any specific reason in logs
Asked by ve3io:

Am using confluence on linux with Java8, while starting it fails (was running perfectly fine till yesterday through ) and gives following errors in catalina.out, nothing specific. Help needed urgently

30-Jul-2017 22:55:25.918 INFO \[localhost-startStop-2\] org.springframework.web.servlet.DispatcherServlet.initServletBean FrameworkServlet 'dispatcher': initialization completed in 1138 ms  
30-Jul-2017 22:55:25.931 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\]\]  
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:943)  
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)  
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)  
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:441)  
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)  
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:789)  
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)  
at org.apache.catalina.startup.Catalina.start(Catalina.java:629)  
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:351)  
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:485)  
Caused by: org.apache.catalina.LifecycleException: Failed to start component \[StandardEngine\[Standalone\].StandardHost\[localhost\]\]  
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:162)  
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)  
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)  
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: A child container failed during start  
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:951)  
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:871)  
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)  
... 6 more

30-Jul-2017 22:55:25.932 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: Failed to start component \[StandardServer\[8000\]\]  
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:162)  
at org.apache.catalina.startup.Catalina.start(Catalina.java:629)  
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:351)  
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:485)  
Caused by: org.apache.catalina.LifecycleException: Failed to start component \[StandardService\[Tomcat-Standalone\]\]  
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:162)  
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:789)  
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)  
... 7 more  
Caused by: org.apache.catalina.LifecycleException: Failed to start component \[StandardEngine\[Standalone\]\]  
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:162)  
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:441)  
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)  
... 9 more  
Caused by: org.apache.catalina.LifecycleException: A child container failed during start  
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:951)  
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)  
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)  
... 11 more


Answers:
author: Shannon S
body: Hello Shobhit,

Can you let us know what has changed since the last time Confluence was successfully started? Was an upgrade attempted of either Confluence or Java? Was the URL changed at all?

I would also recommend that you have a look at the workaround listed on [CONFSERVER-37452](https://jira.atlassian.com/browse/CONFSERVER-37452) so we can check to make sure the Java Home is still valid. The cause is not the same but the error is.

Please let us know how it goes or if you have any questions.

Kind Regards,  
Shannon