OSGI - Refrence unsatisfied | Community
Skip to main content
October 16, 2015
Solved

OSGI - Refrence unsatisfied

  • October 16, 2015
  • 2 replies
  • 2312 views

Hi everyone,

AEM 6.1

 

I'm trying to the example Media Handler from:

https://helpx.adobe.com/experience-manager/using/damhandler.html

Maven deploys the bundle and starts the bundle.

But the Declarative Service Component   stays on "state unsatisfied (reference)".

Two of the references are unsatisfied (see picture).

 

How can I solve this problem?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by kautuk_sahni

Hi jerrys49113842

If I read this correctly, then your problem is not an unsatisfied bundle, but an unsatisfied service. If it so far that the SCR picked up your service, then your bundle must already be active.

With declarative services, I have seen similar behavior when a service with configuration-policy=require is missing a configuration. Another possibility is that the activate-method threw an exception.

 

Please verify it.

 

Thanks and Regards

Kautuk Sahni

2 replies

smacdonald2008
Level 10
October 16, 2015

What version of AEM Are you using - this is a 5.x article. 

kautuk_sahni
Community Manager
kautuk_sahniCommunity ManagerAccepted solution
Community Manager
October 16, 2015

Hi jerrys49113842

If I read this correctly, then your problem is not an unsatisfied bundle, but an unsatisfied service. If it so far that the SCR picked up your service, then your bundle must already be active.

With declarative services, I have seen similar behavior when a service with configuration-policy=require is missing a configuration. Another possibility is that the activate-method threw an exception.

 

Please verify it.

 

Thanks and Regards

Kautuk Sahni

Kautuk Sahni