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

Marcel Offermans commented on AMDATU-296:
-----------------------------------------

An adaptor cannot have a required configuration dependency, because there can 
be multiple instances and you cannot share configurations.

If you want each adapter instance, so each tenant, to have a configuration, you 
have to configure such a dependency in the init() of the component, making sure 
you generate the PID of that configuration out of some base PID plus some 
tenant ID specific part.

> 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