[ 
http://jira.amdatu.org/jira/browse/AMDATU-296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=10869#comment-10869
 ] 

Ivo Ladage - van Doorn edited comment on AMDATU-296 at 2/10/11 1:05 PM:
------------------------------------------------------------------------

The problem seems to be a conflict when a service is both an adapter service as 
well as a ManagedService. When I change the Activator such that the service is 
not an adapter service anymore, the error disappears. The 
FSUserAdminStorageProvider service is the only service in Amdatu that is both a 
managed service and adapter service for Tenant. It is not used by default (the 
cassandra storage provider is), but does this mean that a tenant aware service 
cannot be a managed service?
Hopefully not, Marcel, can you dive into this issue?

      was (Author: ivol):
    The problem seems to be a conflict when a service is both an adapter 
service as well as a ManagedService. The FSUserAdminStorageProvider service is 
the only service in Amdatu that is both a managed service and adapter service 
for Tenant. It is not used by default (the cassandra storage provider is), but 
does this mean that a tenant aware service cannot be a managed service?
Hopefully not, Marcel, can you dive into this issue?
  
> When running the OAuthTwoLeggedTest integration test, an error comes by about 
> duplicate claims of useradminstore-fs configuration 
> ----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AMDATU-296
>                 URL: http://jira.amdatu.org/jira/browse/AMDATU-296
>             Project: Amdatu
>          Issue Type: Bug
>          Components: Amdatu Core
>    Affects Versions: 0.1.0
>            Reporter: Ivo Ladage - van Doorn
>            Assignee: Marcel Offermans
>            Priority: Critical
>             Fix For: 0.1.0
>
>
> When you run the OAuthTwoLeggedTest (the integration test, be sure to remove 
> the @Ignore annotation first since it is currently disabled), the following 
> error appears in the console:
> [2011-02-10 12:44:17] ERROR: Configuration for 
> org.amdatu.core.useradminstore-fs has already been used for service [org.
> osgi.service.cm.ManagedService, id=23, bundle=24] and will now also be given 
> to [org.osgi.service.cm.ManagedService, id=
> 89, bundle=24] [org.apache.felix.configadmin]

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to