Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-15353

Bamboo should not fail to start if there are problems synchronising with Crowd

    XMLWordPrintable

Details

    Description

      During start-up, if Bamboo is configured to use Crowd and Crowd is not available, Bamboo will shut down.

      2014-12-15 02:39:06,034 INFO [localhost-startStop-1] [BambooContainer] Plugin system initialised in 44495ms
      2014-12-15 02:39:06,034 INFO [localhost-startStop-1] [XWorkPluginConfigurationMaintainer] Reloading Struts configuration (Struts configuration reloads enabled)...
      2014-12-15 02:39:06,034 INFO [localhost-startStop-1] [XWorkPluginConfigurationMaintainer] Struts configuration reloaded (Struts configuration reloads enabled).
      2014-12-15 02:39:06,037 INFO [localhost-startStop-1] [UpgradeLauncher] Initialisation completed.
      2014-12-15 02:39:28,404 INFO [pool-20-thread-1] [BambooStatsdClientProviderImpl] StatsD client initialized.
      2014-12-15 02:42:31,446 FATAL [localhost-startStop-1] [BambooContainer] Cannot start bamboo
      java.lang.IllegalStateException: Could not transition server from 'SETUP' to 'STARTING'
      	at com.atlassian.bamboo.ServerLifecycleManagerImpl.updateServerLifecycleState(ServerLifecycleManagerImpl.java:302)
      ...
      Caused by: javax.xml.bind.DataBindingException: javax.xml.bind.UnmarshalException
       - with linked exception:
      [org.xml.sax.SAXParseException; lineNumber: 3346; columnNumber: 4; XML document structures must start and end within the same entity.]
      	at javax.xml.bind.JAXB.unmarshal(JAXB.java:226)
      	at com.atlassian.crowd.integration.rest.service.RestExecutor$MethodExecutor.andReceive(RestExecutor.java:349)
      	at com.atlassian.crowd.integration.rest.service.RestCrowdClient.getMemberships(RestCrowdClient.java:834)
      	at com.atlassian.crowd.integration.atlassianuser.UserGroupFetcher.fetch(UserGroupFetcher.java:45)
      ...
      Dec 15, 2014 2:42:31 AM org.apache.catalina.core.StandardContext startInternal
      SEVERE: Error listenerStart
      Dec 15, 2014 2:42:31 AM org.apache.catalina.core.StandardContext startInternal
      SEVERE: Context [] startup failed due to previous errors
      2014-12-15 02:42:31,510 INFO [localhost-startStop-1] [QuartzScheduler] Scheduler scheduler_$_NON_CLUSTERED paused.
      2014-12-15 02:42:32,194 INFO [localhost-startStop-1] [SVNClientManagerFactory] Destroying SVNClientManagerFactories...
      2014-12-15 02:42:32,261 INFO [localhost-startStop-1] [ShutdownEnforcer] Container being shut down: starting last-resort termination thread.
      ...
      

      This is problematic in the case where the organisation is having a Crowd outage at the same time that Bamboo needs to be restarted. Bamboo should still be able to start and carry on as normal, despite its Crowd data not being up-to-date.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mknight@atlassian.com Michael Knight
              Votes:
              10 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: