You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2011/07/29 05:02:09 UTC

[jira] [Created] (CXF-3696) Race condition in BusFactory

Race condition in BusFactory
----------------------------

                 Key: CXF-3696
                 URL: https://issues.apache.org/jira/browse/CXF-3696
             Project: CXF
          Issue Type: Bug
          Components: Bus
    Affects Versions: 2.4.1
            Reporter: Daniel Kulp
            Assignee: Daniel Kulp
             Fix For: 2.3.6, 2.4.2



There is a race condition in BusFactory that can lead to deadlocks.   If one threads calls getThreadDefaultBus(true) while another thread is calling getDefaultBus(true), it can lock up as the first thread blocks waiting to call getDefaultBus(), but the second will block calling maybeSetThreadBus.



--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CXF-3696) Race condition in BusFactory

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-3696?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp resolved CXF-3696.
------------------------------

    Resolution: Fixed

> Race condition in BusFactory
> ----------------------------
>
>                 Key: CXF-3696
>                 URL: https://issues.apache.org/jira/browse/CXF-3696
>             Project: CXF
>          Issue Type: Bug
>          Components: Bus
>    Affects Versions: 2.4.1
>            Reporter: Daniel Kulp
>            Assignee: Daniel Kulp
>             Fix For: 2.3.6, 2.4.2
>
>
> There is a race condition in BusFactory that can lead to deadlocks.   If one threads calls getThreadDefaultBus(true) while another thread is calling getDefaultBus(true), it can lock up as the first thread blocks waiting to call getDefaultBus(), but the second will block calling maybeSetThreadBus.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira