JBoss ESB
  1. JBoss ESB
  2. JBESB-406

Race condition for threaded managed lifecycles

    Details

    • Type: Bug Bug
    • Status: Closed Closed (View Workflow)
    • Priority: Major Major
    • Resolution: Done
    • Affects Version/s: 4.0
    • Fix Version/s: 4.2 Milestone Release 1
    • Component/s: None
    • Security Level: Public (Everyone can see)
    • Labels:
      None
    • Similar Issues:
      Show 10 results 

      Description

      There is race condition in the AbstractThreadedManagedLifecycle class between the original thread and the background thread.

      The background thread must wait until the lifecycle state has transitioned out of the STARTING state before continuing. At present the background thread ignores this and attempts to transition into the RUNNING state as soon as it starts.

      This transition could fail resulting in the background thread terminating.

        Activity

        Hide
        Kevin Conner
        added a comment -

        Fixed in revision 9348

        Show
        Kevin Conner
        added a comment - Fixed in revision 9348

          People

          • Assignee:
            Kevin Conner
            Reporter:
            Kevin Conner
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: