You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Bharath Ganesh (JIRA)" <ji...@apache.org> on 2008/03/25 06:23:26 UTC

[jira] Resolved: (CXF-1488) Synchronization issues in PolicyEngineImpl

     [ https://issues.apache.org/jira/browse/CXF-1488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bharath Ganesh resolved CXF-1488.
---------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 2.0.5)
                   2.0.6

While cleaning up the entries of requestInfo's, responseInfo's and faultInfo's map, we create a temperory Set with all the keys. Later we iterate over the keys of this temp set, and if it's same as that of the endpoint being undeployed, we remove the corresponding entries from the client and server maps.   

> Synchronization issues in PolicyEngineImpl
> ------------------------------------------
>
>                 Key: CXF-1488
>                 URL: https://issues.apache.org/jira/browse/CXF-1488
>             Project: CXF
>          Issue Type: Bug
>          Components: WS-* Components
>    Affects Versions: 2.0.5, 2.1
>            Reporter: Bharath Ganesh
>            Assignee: Bharath Ganesh
>             Fix For: 2.1, 2.0.6
>
>
> The cleaning up tasks of BindingOperations and BindingFaults during the stopServer() callback in PolicyEngine, is not threadsafe. We take an iterator over the clientRequestInfo map keyset, clientResponseMap, serverRequestInfo, serverResponseInfo, clientFaultInfo, serverFaultInfo etc and do a map.remove() which would lead to synchronization issues.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.