Re: [Dev] Missing required capability in osgi component

2016-05-27 Thread Fathima Dilhasha
Hi Akila, Thanks for the suggestion. But unfortunately, it didn't work for me. :( Regards, Dilhasha On Fri, May 27, 2016 at 6:56 PM, Akila Ravihansa Perera wrote: > What I'm suggesting is, instead of; > > > > > > */** * @scr.component name="org.wso2.carbon.cloud.das.datapurge.tool" * > @scr.r

Re: [Dev] Missing required capability in osgi component

2016-05-27 Thread Akila Ravihansa Perera
What I'm suggesting is, instead of; */** * @scr.component name="org.wso2.carbon.cloud.das.datapurge.tool" * @scr.reference name="analytics.component" interface="org.wso2.carbon.analytics.api.AnalyticsDataAPI" * cardinality="1..1" policy="dynamic" bind="setAnalyticsDataAPI" unbind="unsetAnalyti

Re: [Dev] Missing required capability in osgi component

2016-05-27 Thread Fathima Dilhasha
Hi Akila, Do you suggest that the @scr.reference needs to be specified in one line as follows? ** @scr.reference name="analytics.component" interface="org.wso2.carbon.analytics.api.AnalyticsDataAPI" cardinality="1..1" * policy="dynamic" bind="setAnalyticsDataAPI" unbind="unsetAnalyticsDataAPI"

Re: [Dev] Missing required capability in osgi component

2016-05-27 Thread Akila Ravihansa Perera
Hi Fathima, The problem is with your service definition; */** * @scr.component name="org.wso2.carbon.cloud.das.datapurge.tool" * @scr.reference name="analytics.component" interface="org.wso2.carbon.analytics.api.AnalyticsDataAPI" * cardinality="1..1" policy="dynamic" bind="setAnalyticsDataAPI

Re: [Dev] Missing required capability in osgi component

2016-05-27 Thread Fathima Dilhasha
Please find attached pom.xml. On Fri, May 27, 2016 at 1:02 PM, Sameera Jayasoma wrote: > Can you attach the Pom.xml ? > > > On Friday, May 27, 2016, Fathima Dilhasha wrote: > >> The service is available and I can actually use it without any problem. >> I'm calling some methods on it and they ar

Re: [Dev] Missing required capability in osgi component

2016-05-27 Thread Sameera Jayasoma
Can you attach the Pom.xml ? On Friday, May 27, 2016, Fathima Dilhasha wrote: > The service is available and I can actually use it without any problem. > I'm calling some methods on it and they are working fine. > On 27 May 2016 12:17, "Sameera Jayasoma" > wrote: > >> Looks like this service is

Re: [Dev] Missing required capability in osgi component

2016-05-26 Thread Fathima Dilhasha
The service is available and I can actually use it without any problem. I'm calling some methods on it and they are working fine. On 27 May 2016 12:17, "Sameera Jayasoma" wrote: > Looks like this service is not available in your OSGi environment. > > *org.wso2.carbon.analytics.api.AnalyticsDataAP

Re: [Dev] Missing required capability in osgi component

2016-05-26 Thread Sameera Jayasoma
Looks like this service is not available in your OSGi environment. *org.wso2.carbon.analytics.api.AnalyticsDataAPI* Can you double check on this? On Fri, May 27, 2016 at 12:08 PM, Anjana Fernando wrote: > Hi Sameera/Niranjan, > > You guys have any idea on to why this is happening? .. here, eve

Re: [Dev] Missing required capability in osgi component

2016-05-26 Thread Anjana Fernando
Hi Sameera/Niranjan, You guys have any idea on to why this is happening? .. here, even though the OSGi is available and accessible to that bundle, it is still giving that message. Cheers, Anjana. On Fri, May 27, 2016 at 10:15 AM, Fathima Dilhasha wrote: > Hi, > > I'm trying to build an osgi co

[Dev] Missing required capability in osgi component

2016-05-26 Thread Fathima Dilhasha
Hi, I'm trying to build an osgi component which uses " *org.wso2.carbon.analytics.api.AnalyticsDataAPI*". When I add the bundle to carbon server, the bundle is working as expected. But in the osgi console when I diagnose the bundle I get the following. *Direct constraints which are unresolved: