Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

after a reboot of the server bamboo no longer loading

Stewart Harrison October 22, 2018

Getting a 404

Output of catalina.out

 

22-Oct-2018 14:38:25.775 WARNING [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin [SetPropertiesRule]{Server/Service/Engine/Valve} Setting property 'resolveHosts' to 'false' did not find a matching property.
22-Oct-2018 14:38:25.788 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
22-Oct-2018 14:38:25.906 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8085"]
22-Oct-2018 14:38:25.928 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
22-Oct-2018 14:38:25.932 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 926 ms
22-Oct-2018 14:38:25.951 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Catalina
22-Oct-2018 14:38:25.951 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.36
22-Oct-2018 14:38:41.703 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
22-Oct-2018 14:38:41.743 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log file
22-Oct-2018 14:38:41.755 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal Context [] startup failed due to previous errors
22-Oct-2018 14:38:41.821 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8085"]
22-Oct-2018 14:38:41.828 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 15896 ms

1 answer

1 accepted

0 votes
Answer accepted
Jeremy Owen
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 22, 2018

Hey Stewart,

According to this line:

22-Oct-2018 14:38:41.743 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log file

Due to the type of start-up error, there should be more detail in the <bamboo-install>/logs/localhost*.log about what's preventing Bamboo from starting.

Can you check that for us and let us know what you find?

Cheers,

Jeremy 

Stewart Harrison October 23, 2018

Here's an excerpt from the localhost*.log file:

 

22-Oct-2018 14:06:12.441 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log No Spring WebApplicationInitializer types detected on classpath22-Oct-2018 14:06:12.451 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.listenerStart Error configuring application listener of class com.atlassian.bamboo.setup.BootstrapLoaderListener java.lang.UnsupportedClassVersionError: com/atlassian/bamboo/setup/BootstrapLoaderListener : Unsupported major.minor version 52.0 (unable to load class com.atlassian.bamboo.setup.BootstrapLoaderListener)    at org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:2544)    at org.apache.catalina.loader.WebappClassLoaderBase.findClass(WebappClassLoaderBase.java:858)    at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1301)    at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1166)    at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:518)    at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:499)    at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:118)    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4764)    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5303)    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:262)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)    at java.lang.Thread.run(Thread.java:745)
22-Oct-2018 14:06:12.452 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.listenerStart Error configuring application listener of class com.atlassian.bamboo.ww2.actions.setup.BambooContextLoaderListener java.lang.UnsupportedClassVersionError: com/atlassian/bamboo/ww2/actions/setup/BambooContextLoaderListener : Unsupported major.minor version 52.0 (unable to load class com.atlassian.bamboo.ww2.actions.setup.BambooContextLoaderListener)    at org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:2544)    at org.apache.catalina.loader.WebappClassLoaderBase.findClass(WebappClassLoaderBase.java:858)    at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1301)    at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1166)    at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:518)    at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:499)    at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:118)    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4764)    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5303)    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:262)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)    at java.lang.Thread.run(Thread.java:745)
22-Oct-2018 14:06:12.457 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.listenerStart Error configuring application listener of class com.atlassian.bamboo.upgrade.UpgradeLauncher java.lang.UnsupportedClassVersionError: com/atlassian/bamboo/upgrade/UpgradeLauncher : Unsupported major.minor version 52.0 (unable to load class com.atlassian.bamboo.upgrade.UpgradeLauncher)    at org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:2544)    at org.apache.catalina.loader.WebappClassLoaderBase.findClass(WebappClassLoaderBase.java:858)    at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1301)    at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1166)    at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:518)    at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:499)    at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:118)    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4764)    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5303)    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:262)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)    at java.lang.Thread.run(Thread.java:745)

Jeremy Owen
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 23, 2018

Hey Stewart,

Thanks for that. The error you've encountered is caused when Bamboo is attempting to start with a lower version of the JDK than is supported. 

To fix this, you'll need to set your JAVA_HOME environment variable to point to a JDK 1.8 installation:

Hope this helps. Let us know how it goes.

Cheers,

Jeremy

Stewart Harrison October 24, 2018

Thank you, that was the fix.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events