Skip to main content
Level 4
Jan 28, 2017 5:03 AM UTC
Solved

@Reference annotation for injecting AccountManagementService setting servlet state to "Unsatisfied" in AEM 6.2

I need to use  AccountManagementService(com.adobe.cq.account.api.AccountManagementService since Interface AccountManager is deprecated in AEM 6.2.

But when I am inject the AccountManagementService in amy servlet and registering it servlet state goes to "Unsatisfied". If anybody has idea on this please reply. I have attached the screenshot of component tab for details.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Feike_Visser1
Feike_Visser1Accepted solution
Adobe Employee
Jan 28, 2017 8:12 AM UTC

I checked this, and you are right.

This is because there is a unsatisfied reference (com.day.cq.mailer.MailService) in com.adobe.cq.account.api.AccountManagementService 

Let me see if these is a workarond for this.

4 replies

Feike_Visser1
Adobe Employee
Feike_Visser1Adobe EmployeeAccepted solution
Adobe Employee
Jan 28, 2017 8:12 AM UTC

I checked this, and you are right.

This is because there is a unsatisfied reference (com.day.cq.mailer.MailService) in com.adobe.cq.account.api.AccountManagementService 

Let me see if these is a workarond for this.

Translate
Feike_Visser1
Adobe Employee
Adobe Employee
Jan 28, 2017 8:23 AM UTC

I would raise a support ticket for this.

Translate
Level 4
Jan 28, 2017 8:34 AM UTC

Thanks Feike.

After configuring com.day.cq.mailer.MailService  (which is not configured by default in felix console) , the issue is resolved and servlet is in active state. :)

Translate
Feike_Visser1
Adobe Employee
Adobe Employee
Jan 28, 2017 8:43 AM UTC

Ah cool! 

Translate