Bamboo wont start after upgrade
Asked by David McLaughlin:

Just upgraded to latest Bamboo from 5.8 and get following error on startup in logs.

Running Java x64 1.8.0_171-b11 on Windows 2008R2

Any ideas ?

03-Jul-2018 16:21:28.409 SEVERE \[Catalina-startStop-1\] 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\[Catalina\].StandardHost\[localhost\].StandardContext\[\]\]  
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:915)  
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:871)  
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)  
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1407)  
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1397)  
at java.util.concurrent.FutureTask.run(FutureTask.java:266)  
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)  
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)  
at java.lang.Thread.run(Thread.java:748)  
Caused by: org.apache.catalina.LifecycleException: Failed to start component \[StandardEngine\[Catalina\].StandardHost\[localhost\].StandardContext\[\]\]  
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:153)  
... 6 more  
Caused by: java.lang.IllegalStateException: Unable to complete the scan for annotations for web application \[\] due to a StackOverflowError. Possible root causes include a too low setting for -Xss and illegal cyclic inheritance dependencies. The class hierarchy being processed was \[com.opensymphony.xwork2.validator.ValidatorContext-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object-\>java.lang.Object\]  
at org.apache.catalina.startup.ContextConfig.checkHandlesTypes(ContextConfig.java:2097)  
at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:2043)  
at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1988)  
at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1958)  
at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1912)  
at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1157)  
at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:779)  
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:306)  
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:95)  
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)  
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5202)  
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)  
... 6 more


Answers:
author: Krystian Brazulewicz
body: [@David McLaughlin](/t5/user/viewprofilepage/user-id/846289) I suggest contacting Support (<https://getsupport.atlassian.com/>)


author: Andrew Moulton
body: I see that you said Java 1.8, but make sure that's what Bamboo is starting with (maybe it's getting the wrong path?). You may want to add JAVA_HOME="/opt/jdk1.8...." to setenv.sh