java.lang.IllegalStateException: Could not transition server from 'SETUP' to 'STARTING'

Atlassian JIRA | Mike Knight | 2 years ago
  1. 0

    During start-up, if Bamboo is configured to use Crowd and Crowd is not available, Bamboo will shut down. {noformat} 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. ... {noformat} 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.

    Atlassian JIRA | 2 years ago | Mike Knight
    java.lang.IllegalStateException: Could not transition server from 'SETUP' to 'STARTING'
  2. 0

    During start-up, if Bamboo is configured to use Crowd and Crowd is not available, Bamboo will shut down. {noformat} 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. ... {noformat} 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.

    Atlassian JIRA | 2 years ago | Mike Knight
    java.lang.IllegalStateException: Could not transition server from 'SETUP' to 'STARTING'
  3. 0

    Hazelcast joining second instance failed on load all keys

    Stack Overflow | 8 months ago | Alex
    java.lang.IllegalStateException: Transition not allowed from state NOT_LOADED to LOADED
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Race condition in MapKeyLoader

    GitHub | 1 year ago | lukasblu
    java.lang.IllegalStateException: Transition not allowed from state LOADED to LOADED
  6. 0

    Using MapStoreConfig in a cluster raises Transition not allowed from state NOT_LOADED to LOADED exception

    GitHub | 7 months ago | TheBellman
    java.lang.IllegalStateException: Transition not allowed from state NOT_LOADED to LOADED

    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

      Could not transition server from 'SETUP' to 'STARTING'

      at com.atlassian.bamboo.ServerLifecycleManagerImpl.updateServerLifecycleState()
    2. com.atlassian.bamboo
      ServerLifecycleManagerImpl.updateServerLifecycleState
      1. com.atlassian.bamboo.ServerLifecycleManagerImpl.updateServerLifecycleState(ServerLifecycleManagerImpl.java:302)
      1 frame