cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bharath Ganesh (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CXF-1488) Synchronization issues in PolicyEngineImpl
Date Tue, 25 Mar 2008 05:23:26 GMT

     [ 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.


Mime
View raw message