Uploaded image for project: 'Bamboo'
  1. Bamboo
  2. BAM-15471

Updating crowd repository settings leads to Bamboo breaking

    XMLWordPrintable

    Details

      Description

      Reported by one customer so far: This logging happens when they update their Cache refresh interval.

      2015-01-14 10:51:34,148 ERROR [http-bio-8085-exec-14] [FiveOhOh] 500 Exception was thrown.
      java.lang.IllegalStateException: Connection factory has been shutdown.
              at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.doGetConnection(MultiThreadedHttpConnectionManager.java:456)
              at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.getConnectionWithTimeout(MultiThreadedHttpConnectionManager.java:394)
              at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:152)
              at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
              at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)
              at com.atlassian.crowd.integration.rest.service.RestExecutor$MethodExecutor.executeCrowdServiceMethod(RestExecutor.java:452)
              at com.atlassian.crowd.integration.rest.service.RestExecutor$MethodExecutor.andReceive(RestExecutor.java:341)
              at com.atlassian.crowd.integration.rest.service.RestCrowdClient.getCookieConfiguration(RestCrowdClient.java:1033)
              at com.atlassian.crowd.integration.http.CrowdHttpAuthenticatorImpl.getCookieTokenKey(CrowdHttpAuthenticatorImpl.java:219)
              at com.atlassian.crowd.integration.http.CrowdHttpAuthenticatorImpl.getToken(CrowdHttpAuthenticatorImpl.java:200)
              at com.atlassian.crowd.integration.http.CacheAwareCrowdHttpAuthenticator.getToken(CacheAwareCrowdHttpAuthenticator.java:83)
              at com.atlassian.crowd.integration.seraph.v25.CrowdAuthenticator.getUser(CrowdAuthenticator.java:345)
              at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:138)
      
      

      The ConnectionFactory is meant to be shut down, but a new one is meant to be started. My best guess thus far is a race condition. We are investigating with the customer via support.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              achystoprudov Alexey Chystoprudov
              Reporter:
              don.willis@atlassian.com Don Willis
              Votes:
              12 Vote for this issue
              Watchers:
              22 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: