OSGi service reference error even though osgi:ls shows the service exported
Issue
In a fabric environment, I have a blueprint reference defined and the container shows the OSGi service is available. But I still receive errors like:
ERROR | 6.1.1-1-thread-1 | DeploymentAgent | Unable to update agent | org.osgi.service.resolver.ResolutionException: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=nissan-leads; type=osgi.bundle; version="[1.0.0.SNAPSHOT,1.0.0.SNAPSHOT]"; resolution:=mandatory [caused by: Unable to resolve mytest/1.0.0.SNAPSHOT: missing requirement [mytest/1.0.0.SNAPSHOT] osgi.service; effective:=active; filter:="(&(objectClass= ...
Environment
- Red Hat JBoss Fuse
- 6.x
- Fabric
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.