Expand my Community achievements bar.

SOLVED

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

Avatar

Level 5

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.

1 Accepted Solution

Avatar

Correct answer by
Employee

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.

View solution in original post

4 Replies

Avatar

Correct answer by
Employee

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.

Avatar

Employee

I would raise a support ticket for this.

Avatar

Level 5

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