[jboss-jira] [JBoss JIRA] Created: (JBESB-406) Race condition for threaded managed lifecycles

Kevin Conner (JIRA) jira-events at jboss.com
Mon Feb 5 12:04:19 EST 2007


Race condition for threaded managed lifecycles
----------------------------------------------

                 Key: JBESB-406
                 URL: http://jira.jboss.com/jira/browse/JBESB-406
             Project: JBoss ESB
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 4.0
            Reporter: Kevin Conner
         Assigned To: Kevin Conner
             Fix For: 4.0 Maintenance Pack 1


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.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list