Why does my new AEM servlet stay in satisfied state? | Community
Skip to main content
May 26, 2022

Why does my new AEM servlet stay in satisfied state?

  • May 26, 2022
  • 3 replies
  • 1152 views

After several attempts its weird to see a servlet stays in satisfied state and not active.

1. what are the possible AEM servlet states?

2. How do we move a servlet from satisfied to active state? The component annotation already has immediate=true

 

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

3 replies

SantoshSai
Community Advisor
Community Advisor
May 27, 2022

Hi @explorer1 


It looks like you are using some service in your servlet, eg.

@Reference
private CustomReferenceService customReferenceService;

Please ensure that all the services being used in servlet is in active state. 

Also I believe you must have a Impl class that is implementing the service. So try to use 

@Reference
private CustomReferenceServiceImpl customReferenceServiceImpl;

Hope that helps!


Regards,
Santosh

Santosh Sai
Mayank_Gandhi
Adobe Employee
Adobe Employee
May 27, 2022

@explorer1 Go to bundle and click it, it should show you the service and if any unresolved dependency

arunpatidar
Community Advisor
Community Advisor
May 27, 2022

Hi,

Check the reference classes.

Try to remove the references and check, the only reason is unresolved dependency.

Arun Patidar