Make sure both bundles are wired to the same `com.castortech.iris.emf.irisdb.custom.api` package. If there are more than one instance of this package in the system and the provider and potential consumer are not wired to the same package, then the service is not type safe for the potential consumer and thus it will not be able to use the service.
--
BJ Hargrave
Senior Technical Staff Member, IBM // office: +1 386 848 1781
OSGi Fellow and CTO of the OSGi Alliance // mobile: +1 386 848 3788
hargr...@us.ibm.com
BJ Hargrave
Senior Technical Staff Member, IBM // office: +1 386 848 1781
OSGi Fellow and CTO of the OSGi Alliance // mobile: +1 386 848 3788
hargr...@us.ibm.com
----- Original message -----
From: Alain Picard via osgi-dev <osgi-dev@mail.osgi.org>
Sent by: osgi-dev-boun...@mail.osgi.org
To: OSGi Developer Mail List <osgi-dev@mail.osgi.org>
Cc:
Subject: [EXTERNAL] [osgi-dev] Strange Unresolved component issue
Date: Tue, May 14, 2019 7:41 AM
I've just had a weird case of unresolved component where the unsatisfied dependency is actually satisfied.{ "check": "Services Check", "status": "YELLOW", "details": "Component com.castortech.iris.models.query.cached.impl.QueryCacheService missing config on pid [IQueryCacheService_PID]
Component com.castortech.iris.emf.irisdb.custom.utils.impl.CoreStereotypeUtilsImpl unsatisfied references
unsatisfied ref coreModelHelper interface com.castortech.iris.emf.irisdb.custom.api.CoreModelHelper
Component com.castortech.iris.core.modelHelper.provider.BaCoreModelHelperImpl satisfiedWe can see the CoreModelHelper is showing as unsatisfied but its implementation is satisfied.I put some breakpoints to debug and track and all was fine and at the end it all started correctly, so I'm very puzzled, is it a timing issue?Thanks,Alain_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev
_______________________________________________ OSGi Developer Mail List osgi-dev@mail.osgi.org https://mail.osgi.org/mailman/listinfo/osgi-dev