You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Andriy Redko (JIRA)" <ji...@apache.org> on 2016/05/10 23:27:12 UTC
[jira] [Created] (CXF-6896) CDI integration: duplicate service /
feature / provider beans are registered when Application class has
singletons
Andriy Redko created CXF-6896:
---------------------------------
Summary: CDI integration: duplicate service / feature / provider beans are registered when Application class has singletons
Key: CXF-6896
URL: https://issues.apache.org/jira/browse/CXF-6896
Project: CXF
Issue Type: Bug
Components: Integration
Affects Versions: 3.2.0
Reporter: Andriy Redko
Assignee: Andriy Redko
Fix For: 3.2.0
When JAXRS Factory Bean is initialized from the Application class instance which has singletons defined, duplicate beans are being registered, as per WARN messages below:
{noformat}
May 10, 2016 9:53:05 AM org.apache.cxf.jaxrs.model.OperationResourceInfoComparator compare
WARNING: Both org.apache.sse.StatsRestServiceImpl#stats and org.apache.sse.StatsRestServiceImpl#stats are equal candidates for handling the current request which can lead to unpredictable results
May 10, 2016 9:53:17 AM org.apache.cxf.jaxrs.model.OperationResourceInfoComparator compare
WARNING: Both org.apache.sse.StatsRestServiceImpl#stats and org.apache.sse.StatsRestServiceImpl#stats are equal candidates for handling the current request which can lead to unpredictable results
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)