unable to restart bamboo server -error 503 error - http error

unable to restart bamboo server - error 503 error

2012-06-29 17:12:34,141 FATAL main BambooContainer Cannot start bamboo

com.google.common.collect.ComputationException: com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.IllegalStateException: Cannot load repository. Plugins may have been disabled.

at com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingConcurrentHashMap.java:167)

at com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingConcurrentHashMap.java:116)

at com.google.common.collect.ComputingConcurrentHashMap.apply(ComputingConcurrentHashMap.java:67)

at com.google.common.collect.MapMaker$ComputingMapAdapter.get(MapMaker.java:623)

at com.atlassian.bamboo.build.CachedBuildDefinitionManagerImpl.getBuildDefinition(CachedBuildDefinitionManagerImpl.java:59)

at com.atlassian.bamboo.plan.AbstractPlan.getBuildDefinition(AbstractPlan.java:277)

at com.atlassian.bamboo.container.BambooContainer.initialisePlans(BambooContainer.java:339)

at com.atlassian.bamboo.container.BambooContainer.start(BambooContainer.java:247)

at com.atlassian.bamboo.upgrade.UpgradeLauncher.upgradeAndStartBamboo(UpgradeLauncher.java:150)

at com.atlassian.bamboo.upgrade.UpgradeLauncher.contextInitialized(UpgradeLauncher.java:39)

at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:633)

at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:228)

at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1160)

at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:576)

at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)

at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)

at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:93)

at org.eclipse.jetty.server.Server.doStart(Server.java:243)

at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)

at com.atlassian.bamboo.server.Server.main(Server.java:75)

Caused by: com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.IllegalStateException: Cannot load repository. Plugins may have been disabled.

at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:152)

at com.atlassian.util.concurrent.LazyReference.get(LazyReference.java:115)

at com.atlassian.bamboo.repository.RepositoryDefinitionImpl.getRepository(RepositoryDefinitionImpl.java:153)

at com.atlassian.bamboo.build.DefaultBuildDefinitionManager.getBuildDefinition(DefaultBuildDefinitionManager.java:79)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)

at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)

at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)

at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)

at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)

at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)

at $Proxy48.getBuildDefinition(Unknown Source)

at com.atlassian.bamboo.build.CachedBuildDefinitionManagerImpl$1.apply(CachedBuildDefinitionManagerImpl.java:44)

at com.atlassian.bamboo.build.CachedBuildDefinitionManagerImpl$1.apply(CachedBuildDefinitionManagerImpl.java:38)

at com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingConcurrentHashMap.java:155)

... 19 more

Caused by: java.lang.IllegalStateException: Cannot load repository. Plugins may have been disabled.

at com.atlassian.bamboo.repository.RepositoryReference.create(RepositoryReference.java:31)

at com.atlassian.bamboo.repository.RepositoryReference.create(RepositoryReference.java:8)

at com.atlassian.util.concurrent.LazyReference$Sync.run(LazyReference.java:326)

at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:146)

... 36 more

2012-06-29 17:12:34,142 FATAL main UpgradeLauncher Failed to initialise Bamboo container

com.google.common.collect.ComputationException: com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.IllegalStateException: Cannot load repository. Plugins may have been disabled.

at com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingConcurrentHashMap.java:167)

at com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingConcurrentHashMap.java:116)

at com.google.common.collect.ComputingConcurrentHashMap.apply(ComputingConcurrentHashMap.java:67)

at com.google.common.collect.MapMaker$ComputingMapAdapter.get(MapMaker.java:623)

at com.atlassian.bamboo.build.CachedBuildDefinitionManagerImpl.getBuildDefinition(CachedBuildDefinitionManagerImpl.java:59)

at com.atlassian.bamboo.plan.AbstractPlan.getBuildDefinition(AbstractPlan.java:277)

at com.atlassian.bamboo.container.BambooContainer.initialisePlans(BambooContainer.java:339)

at com.atlassian.bamboo.container.BambooContainer.start(BambooContainer.java:247)

at com.atlassian.bamboo.upgrade.UpgradeLauncher.upgradeAndStartBamboo(UpgradeLauncher.java:150)

at com.atlassian.bamboo.upgrade.UpgradeLauncher.contextInitialized(UpgradeLauncher.java:39)

at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:633)

at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:228)

at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1160)

at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:576)

at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)

at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)

at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:93)

at org.eclipse.jetty.server.Server.doStart(Server.java:243)

at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)

at com.atlassian.bamboo.server.Server.main(Server.java:75)

Caused by: com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.IllegalStateException: Cannot load repository. Plugins may have been disabled.

at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:152)

at com.atlassian.util.concurrent.LazyReference.get(LazyReference.java:115)

at com.atlassian.bamboo.repository.RepositoryDefinitionImpl.getRepository(RepositoryDefinitionImpl.java:153)

at com.atlassian.bamboo.build.DefaultBuildDefinitionManager.getBuildDefinition(DefaultBuildDefinitionManager.java:79)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)

at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)

at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)

at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)

at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)

at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)

at $Proxy48.getBuildDefinition(Unknown Source)

at com.atlassian.bamboo.build.CachedBuildDefinitionManagerImpl$1.apply(CachedBuildDefinitionManagerImpl.java:44)

at com.atlassian.bamboo.build.CachedBuildDefinitionManagerImpl$1.apply(CachedBuildDefinitionManagerImpl.java:38)

at com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingConcurrentHashMap.java:155)

... 19 more

Caused by: java.lang.IllegalStateException: Cannot load repository. Plugins may have been disabled.

at com.atlassian.bamboo.repository.RepositoryReference.create(RepositoryReference.java:31)

at com.atlassian.bamboo.repository.RepositoryReference.create(RepositoryReference.java:8)

at com.atlassian.util.concurrent.LazyReference$Sync.run(LazyReference.java:326)

at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:146)

... 36 more

2012-06-29 17:12:34.145:WARN::Failed startup of context WebAppContext@5f43d9cf@5f43d9cf/,file:/cme/bamboocit/Bamboo-3.4.4/webapp/,webapp

java.lang.RuntimeException: Failed to upgrade

at com.atlassian.bamboo.upgrade.UpgradeLauncher.upgradeAndStartBamboo(UpgradeLauncher.java:165)

at com.atlassian.bamboo.upgrade.UpgradeLauncher.contextInitialized(UpgradeLauncher.java:39)

at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:633)

at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:228)

at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1160)

at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:576)

at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)

at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)

at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:93)

at org.eclipse.jetty.server.Server.doStart(Server.java:243)

at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)

at com.atlassian.bamboo.server.Server.main(Server.java:75)

Caused by:

com.google.common.collect.ComputationException: com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.IllegalStateException: Cannot load repository. Plugins may have been disabled.

at com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingConcurrentHashMap.java:167)

at com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingConcurrentHashMap.java:116)

at com.google.common.collect.ComputingConcurrentHashMap.apply(ComputingConcurrentHashMap.java:67)

at com.google.common.collect.MapMaker$ComputingMapAdapter.get(MapMaker.java:623)

at com.atlassian.bamboo.build.CachedBuildDefinitionManagerImpl.getBuildDefinition(CachedBuildDefinitionManagerImpl.java:59)

at com.atlassian.bamboo.plan.AbstractPlan.getBuildDefinition(AbstractPlan.java:277)

at com.atlassian.bamboo.container.BambooContainer.initialisePlans(BambooContainer.java:339)

at com.atlassian.bamboo.container.BambooContainer.start(BambooContainer.java:247)

at com.atlassian.bamboo.upgrade.UpgradeLauncher.upgradeAndStartBamboo(UpgradeLauncher.java:150)

at com.atlassian.bamboo.upgrade.UpgradeLauncher.contextInitialized(UpgradeLauncher.java:39)

at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:633)

at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:228)

at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1160)

at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:576)

at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)

at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)

at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:93)

at org.eclipse.jetty.server.Server.doStart(Server.java:243)

at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)

at com.atlassian.bamboo.server.Server.main(Server.java:75)

Caused by:

com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.IllegalStateException: Cannot load repository. Plugins may have been disabled.

at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:152)

at com.atlassian.util.concurrent.LazyReference.get(LazyReference.java:115)

at com.atlassian.bamboo.repository.RepositoryDefinitionImpl.getRepository(RepositoryDefinitionImpl.java:153)

at com.atlassian.bamboo.build.DefaultBuildDefinitionManager.getBuildDefinition(DefaultBuildDefinitionManager.java:79)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)

at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)

at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)

at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)

at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)

at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)

at $Proxy48.getBuildDefinition(Unknown Source)

at com.atlassian.bamboo.build.CachedBuildDefinitionManagerImpl$1.apply(CachedBuildDefinitionManagerImpl.java:44)

at com.atlassian.bamboo.build.CachedBuildDefinitionManagerImpl$1.apply(CachedBuildDefinitionManagerImpl.java:38)

at com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingConcurrentHashMap.java:155)

at com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingConcurrentHashMap.java:116)

at com.google.common.collect.ComputingConcurrentHashMap.apply(ComputingConcurrentHashMap.java:67)

at com.google.common.collect.MapMaker$ComputingMapAdapter.get(MapMaker.java:623)

at com.atlassian.bamboo.build.CachedBuildDefinitionManagerImpl.getBuildDefinition(CachedBuildDefinitionManagerImpl.java:59)

at com.atlassian.bamboo.plan.AbstractPlan.getBuildDefinition(AbstractPlan.java:277)

at com.atlassian.bamboo.container.BambooContainer.initialisePlans(BambooContainer.java:339)

at com.atlassian.bamboo.container.BambooContainer.start(BambooContainer.java:247)

at com.atlassian.bamboo.upgrade.UpgradeLauncher.upgradeAndStartBamboo(UpgradeLauncher.java:150)

at com.atlassian.bamboo.upgrade.UpgradeLauncher.contextInitialized(UpgradeLauncher.java:39)

at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:633)

at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:228)

at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1160)

at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:576)

at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)

at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)

at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:93)

at org.eclipse.jetty.server.Server.doStart(Server.java:243)

at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)

at com.atlassian.bamboo.server.Server.main(Server.java:75)

Caused by:

java.lang.IllegalStateException: Cannot load repository. Plugins may have been disabled.

at com.atlassian.bamboo.repository.RepositoryReference.create(RepositoryReference.java:31)

at com.atlassian.bamboo.repository.RepositoryReference.create(RepositoryReference.java:8)

at com.atlassian.util.concurrent.LazyReference$Sync.run(LazyReference.java:326)

at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:146)

at com.atlassian.util.concurrent.LazyReference.get(LazyReference.java:115)

at com.atlassian.bamboo.repository.RepositoryDefinitionImpl.getRepository(RepositoryDefinitionImpl.java:153)

at com.atlassian.bamboo.build.DefaultBuildDefinitionManager.getBuildDefinition(DefaultBuildDefinitionManager.java:79)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)

at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)

at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)

at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)

at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)

at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)

at $Proxy48.getBuildDefinition(Unknown Source)

at com.atlassian.bamboo.build.CachedBuildDefinitionManagerImpl$1.apply(CachedBuildDefinitionManagerImpl.java:44)

at com.atlassian.bamboo.build.CachedBuildDefinitionManagerImpl$1.apply(CachedBuildDefinitionManagerImpl.java:38)

at com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingConcurrentHashMap.java:155)

at com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingConcurrentHashMap.java:116)

at com.google.common.collect.ComputingConcurrentHashMap.apply(ComputingConcurrentHashMap.java:67)

at com.google.common.collect.MapMaker$ComputingMapAdapter.get(MapMaker.java:623)

at com.atlassian.bamboo.build.CachedBuildDefinitionManagerImpl.getBuildDefinition(CachedBuildDefinitionManagerImpl.java:59)

at com.atlassian.bamboo.plan.AbstractPlan.getBuildDefinition(AbstractPlan.java:277)

at com.atlassian.bamboo.container.BambooContainer.initialisePlans(BambooContainer.java:339)

at com.atlassian.bamboo.container.BambooContainer.start(BambooContainer.java:247)

at com.atlassian.bamboo.upgrade.UpgradeLauncher.upgradeAndStartBamboo(UpgradeLauncher.java:150)

at com.atlassian.bamboo.upgrade.UpgradeLauncher.contextInitialized(UpgradeLauncher.java:39)

at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:633)

at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:228)

at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1160)

at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:576)

at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)

at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)

at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:93)

at org.eclipse.jetty.server.Server.doStart(Server.java:243)

at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)

at com.atlassian.bamboo.server.Server.main(Server.java:75)

2012-06-29 17:12:34.168:INFO::Started SelectChannelConnector@0.0.0.0:8086

****************************************************************

* *

* You can see Bamboo by visiting http://localhost:8086/

* *

****************************************************************

1 answer

Hey Saravanan,

As you remember, last week we did a screen share, and this case ended up being an Oracle DB corruption and clearcase plugin issue. I have created a knowledge based article (https://confluence.atlassian.com/display/BAMKB/Database+Corruption++-+Bamboo+server+fails+to+start+-+error+503+-+clearcase+plugin) so that others can refer to the resolution steps too.

Please let me know if you have any further questions or concerns.

Cheers,
Armen

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,324 views 0 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you