cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andriy Redko (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CXF-6896) CDI integration: duplicate service / feature / provider beans are registered when Application class has singletons
Date Tue, 10 May 2016 23:27:12 GMT
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)

Mime
View raw message