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 <[email protected]> wrote: > 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: Missing required capability > Require-Capability: osgi.service; > filter="(objectClass=org.wso2.carbon.analytics.api.AnalyticsDataAPI)"* > Following are the imported packages in the written osgi component. > > <Import-Package> > > org.apache.commons.logging.*; version="${commons.logging.version}", > org.osgi.service.component; > version="${imp.pkg.version.osgi.service.component}", > org.osgi.framework; version="${imp.pkg.version.osgi.framework}", > org.wso2.carbon.core; version="${wso2das.version}", > org.wso2.carbon.analytics.api.*; version=${wso2analytics.api.version}, > org.wso2.carbon.analytics.datasource.commons.exception.*; > resolution:=optional > </Import-Package> > > > Following are the scr tags specified in the component. > > > > > > > > */** * @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="unsetAnalyticsDataAPI" */* > > I highly appreciate any help on understandng this issue. > > Thanks > Regards, > Dilhasha > > > -- > Fathima Dilhasha > *Software Engineer* > Mobile : +94 (0) 771663314 <%2B94%20%280%29%20773655496> > <%2B94%20%280%29%20773%20451194> > [email protected] <[email protected]> > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- *Anjana Fernando* Senior Technical Lead WSO2 Inc. | http://wso2.com lean . enterprise . middleware
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
