java.lang.IllegalStateException: Unable to bootstrap Bamboo: Unable to run pre-bootstrap upgrade tasks as your support period has ended. Please contact Atlassian and https://support.atlassian.com

Atlassian JIRA | Robin Fernandes [back 5th Oct] | 6 years ago
  1. 0

    Bamboo licenses have a maintenance expiry date. Builds newer than the license's maintenance expiry date fail to start. Plugin developer licenses set the maintenance limit to 3h in the future. Therefore, builds with a timestamp of >3h in the future fail to start on a plugin developer license. The logic that evaluates whether an instance's maintenance period has expired does not take timezones into account. Therefore, if you build a Bamboo release in Sydney and, within a few hours, attempt to start it in the US on a plugin dev license, you will hit the failure below. We run into this regularly in Studio builds after upgrading Bamboo (because the CI agents are in the US). {noformat} 2011-06-01 02:51:20,071 FATAL [main] [BootstrapLoaderListener] An error was encountered while bootstrapping Bamboo (see below): Unable to bootstrap Bamboo: Unable to run pre-bootstrap upgrade tasks as your support period has ended. Please contact Atlassian and https://support.atlassian.com java.lang.IllegalStateException: Unable to bootstrap Bamboo: Unable to run pre-bootstrap upgrade tasks as your support period has ended. Please contact Atlassian and https://support.atlassian.com at com.atlassian.bamboo.setup.BootstrapLoaderListener.contextInitialized(BootstrapLoaderListener.java:63) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3934) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4429) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardHost.start(StandardHost.java:722) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:583) 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.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) {noformat} The build timestamp is written to {{bamboo-api/com.atlassian.bamboo.util.BuildUtils}}, which is generated at build time. The maintenance limit verification logic is in {{bamboo-license/com.atlassian.bamboo.license.BambooLicenseManagerImpl.isMaintenanceExpiredForBuild()}}. One solution would be to update these to be timezone-aware.

    Atlassian JIRA | 6 years ago | Robin Fernandes [Atlassian]
    java.lang.IllegalStateException: Unable to bootstrap Bamboo: Unable to run pre-bootstrap upgrade tasks as your support period has ended. Please contact Atlassian and https://support.atlassian.com
  2. 0

    Bamboo licenses have a maintenance expiry date. Builds newer than the license's maintenance expiry date fail to start. Plugin developer licenses set the maintenance limit to 3h in the future. Therefore, builds with a timestamp of >3h in the future fail to start on a plugin developer license. The logic that evaluates whether an instance's maintenance period has expired does not take timezones into account. Therefore, if you build a Bamboo release in Sydney and, within a few hours, attempt to start it in the US on a plugin dev license, you will hit the failure below. We run into this regularly in Studio builds after upgrading Bamboo (because the CI agents are in the US). {noformat} 2011-06-01 02:51:20,071 FATAL [main] [BootstrapLoaderListener] An error was encountered while bootstrapping Bamboo (see below): Unable to bootstrap Bamboo: Unable to run pre-bootstrap upgrade tasks as your support period has ended. Please contact Atlassian and https://support.atlassian.com java.lang.IllegalStateException: Unable to bootstrap Bamboo: Unable to run pre-bootstrap upgrade tasks as your support period has ended. Please contact Atlassian and https://support.atlassian.com at com.atlassian.bamboo.setup.BootstrapLoaderListener.contextInitialized(BootstrapLoaderListener.java:63) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3934) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4429) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardHost.start(StandardHost.java:722) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:583) 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.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) {noformat} The build timestamp is written to {{bamboo-api/com.atlassian.bamboo.util.BuildUtils}}, which is generated at build time. The maintenance limit verification logic is in {{bamboo-license/com.atlassian.bamboo.license.BambooLicenseManagerImpl.isMaintenanceExpiredForBuild()}}. One solution would be to update these to be timezone-aware.

    Atlassian JIRA | 6 years ago | Robin Fernandes [back 5th Oct]
    java.lang.IllegalStateException: Unable to bootstrap Bamboo: Unable to run pre-bootstrap upgrade tasks as your support period has ended. Please contact Atlassian and https://support.atlassian.com
  3. 0

    Password authentication failed for user - Bamboo Knowledge Base - Atlassian Documentation

    atlassian.com | 12 months ago
    java.lang.IllegalStateException: Unable to bootstrap Bamboo: Failed to run pre-bootstrap upgrade tasks. Please contact Atlassian and https://support.atlassian.com
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Bamboo fails to start - Content is not allowed in prolog - Atlassian Documentation

    atlassian.com | 4 months ago
    java.lang.IllegalStateException: Unable to bootstrap Bamboo: Failed to parse config file: Error on line 1 of document : Content is not allowed in prolog. Nested exception: Content is not allowed in prolog.
  6. 0

    Logs show the following: {noformat} 2008-02-11 00:39:30,046 INFO [main] [lifecycle] Real path of servlet context: /opt/bamboo-2.0beta1/webapp/ 2008-02-11 00:39:30,202 FATAL [main] [DefaultAtlassianBootstrapManager] Cannot set default broker URL and no brokerURL defined. 2008-02-11 00:39:30,203 ERROR [main] [DefaultAtlassianBootstrapManager] Home is not configured properly: com.atlassian.config.ConfigurationException: Cannot set default broker URL and no brokerURL defined. 2008-02-11 00:39:30,210 FATAL [main] [BootstrapLoaderListener] An error was encountered while bootstrapping Bamboo (see below): Unable to bootstrap Bamboo: Cannot set default broker URL and no brokerURL defined. java.lang.IllegalStateException: Unable to bootstrap Bamboo: Cannot set default broker URL and no brokerURL defined. at com.atlassian.bamboo.setup.BootstrapLoaderListener.contextInitialized(BootstrapLoaderListener.java:65) at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:530) at org.mortbay.jetty.servlet.Context.startContext(Context.java:135) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1218) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:500) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117) at org.mortbay.jetty.Server.doStart(Server.java:217) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at com.atlassian.bamboo.server.Server.main(Server.java:60) {noformat}

    Atlassian JIRA | 9 years ago | Adrian Hempel [Atlassian]
    java.lang.IllegalStateException: Unable to bootstrap Bamboo: Cannot set default broker URL and no brokerURL defined.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Unable to bootstrap Bamboo: Unable to run pre-bootstrap upgrade tasks as your support period has ended. Please contact Atlassian and https://support.atlassian.com

      at com.atlassian.bamboo.setup.BootstrapLoaderListener.contextInitialized()
    2. com.atlassian.bamboo
      BootstrapLoaderListener.contextInitialized
      1. com.atlassian.bamboo.setup.BootstrapLoaderListener.contextInitialized(BootstrapLoaderListener.java:63)
      1 frame
    3. Glassfish Core
      Catalina.start
      1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3934)
      2. org.apache.catalina.core.StandardContext.start(StandardContext.java:4429)
      3. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
      4. org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
      5. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
      6. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
      7. org.apache.catalina.core.StandardService.start(StandardService.java:516)
      8. org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
      9. org.apache.catalina.startup.Catalina.start(Catalina.java:583)
      9 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    5. Glassfish Core
      Bootstrap.main
      1. org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
      2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
      2 frames