You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Colm O hEigeartaigh (Jira)" <ji...@apache.org> on 2026/10/19 08:48:00 UTC
[jira] [Assigned] (CXF-8142) WSDLManager.removeDefinition doesn't work well
[ https://issues.apache.org/jira/browse/CXF-8142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Colm O hEigeartaigh reassigned CXF-8142:
----------------------------------------
Assignee: Colm O hEigeartaigh
> 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
> 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)