You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2016/11/23 18:42:59 UTC
[jira] [Commented] (CXF-6896) CDI integration: duplicate service /
feature / provider beans are registered when Application class has
singletons
[ https://issues.apache.org/jira/browse/CXF-6896?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15690999#comment-15690999 ]
Claus Ibsen commented on CXF-6896:
----------------------------------
Would it be possible to backport this fix to CXF 3.1.x branch also ?
> 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)