[
https://issues.apache.org/jira/browse/CXF-8142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Colm O hEigeartaigh updated CXF-8142:
-------------------------------------
Fix Version/s: 4.2.5
4.1.10
> WSDLManager.removeDefinition doesn't work well
> ----------------------------------------------
>
> Key: CXF-8142
> URL: https://issues.apache.org/jira/browse/CXF-8142
> Project: CXF
> Issue Type: Bug
> Components: Core
> Affects Versions: 3.3.3
> Reporter: Arkady Zelekman
> Assignee: Colm O hEigeartaigh
> Priority: Major
> Fix For: 4.2.5, 4.1.10
>
> Attachments: CXF_TEST.7z
>
>
> WSDLManager.removeDefinition still doesn't work in cxf-core-3.3.3
> The problem is in org.apache.cxf.common.util.CacheMap class: "extraKeyMap"
> sometimes contains multiple entries for the same wsdl.
> I tried to understand why 2 maps (mainDataMap and extraKeyMap) are need, but
> didn't success. If I change these maps to be ConcurrentHashMap so everything
> works find.
> I attached project of Eclipse which reproduces the problem.
> Output:
> Definition removed for: http://10.110.108.41/services/SMPConfig?wsdl. Number
> of occurrences: 1. Definition still exist: false
> Definition added for: http://10.110.108.41/services/SMPConfig?wsdl
> Definition removed for: http://10.110.108.41/services/SMPConfig?wsdl. Number
> of occurrences: 1. Definition still exist: false
> Definition added for: http://10.110.108.41/services/SMPConfig?wsdl
> Definition removed for: http://10.110.108.41/services/SMPConfig?wsdl. Number
> of occurrences: 2. Definition still exist: false
> Definition added for: http://10.110.108.41/services/SMPConfig?wsdl
> Definition removed for: http://10.110.108.41/services/SMPConfig?wsdl. Number
> of occurrences: 2. Definition still exist: false
> Definition added for: http://10.110.108.41/services/SMPConfig?wsdl
> Definition removed for: http://10.110.108.41/services/SMPConfig?wsdl. Number
> of occurrences: 1. Definition still exist: false
> Definition added for: http://10.110.108.41/services/SMPConfig?wsdl
> Definition removed for: http://10.110.108.41/services/SMPConfig?wsdl. Number
> of occurrences: 1. Definition still exist: false
--
This message was sent by Atlassian Jira
(v8.20.10#820010)