@Reference annotation for injecting AccountManagementService setting servlet state to "Unsatisfied" in AEM 6.2 | Community
Skip to main content
Level 4
January 28, 2017
Solved

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

  • January 28, 2017
  • 4 replies
  • 1049 views

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.
Best answer by Feike_Visser1

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
January 28, 2017

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.

Feike_Visser1
Adobe Employee
Adobe Employee
January 28, 2017

I would raise a support ticket for this.

Level 4
January 28, 2017

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. :)

Feike_Visser1
Adobe Employee
Adobe Employee
January 28, 2017

Ah cool!