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/11 01:47:12 UTC

[jira] [Resolved] (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:all-tabpanel ]

Andriy Redko resolved CXF-6896.
-------------------------------
    Resolution: Fixed

> 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)