Note that service visibility is subject to class space coherence... What does that mean?
It means that the package who's interface the service is published under, has to be the same package imported by the referencing code. The service registry won't offer up the service to the bundle who would suffer a ClassCastException when handed the service instance otherwise. So, what you want to do is check that both the service bundle and the tracking bundle are using the same package. HTH - Ray On Fri, Sep 9, 2016 at 1:04 PM, mduduzik <[email protected]> wrote: > I have a DM component that depends on a service that looks like is > available > (checking with WebConsole). However, the consuming DM component stays in > WAITING_FOR_REQUIRED state. How do I debug why an available service is not > being consumed. > > Note: required service is registered after the component is created (via > dm.add(component)). > > Thanks. > > > > -- > View this message in context: http://apache-felix.18485.x6. > nabble.com/Help-debug-ServiceDependency-in-DM4-R8-tp5018369.html > Sent from the Apache Felix - Users mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- *Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile> (@rotty3000) Senior Software Architect *Liferay, Inc.* <http://www.liferay.com> (@Liferay) Board Member & EEG Co-Chair, OSGi Alliance <http://osgi.org> (@OSGiAlliance)

