servlet in satisfied status not active | Community
Skip to main content
Level 2
August 8, 2022
Solved

servlet in satisfied status not active

  • August 8, 2022
  • 4 replies
  • 2291 views

 

once I tried to create new servlet in my project and deploy the change to aem instance, it is deployed fine, but I got the servlet in satisfied status and i cannot use it? why it is not active? 

 

once I tried to check the logs, here what I get

 

08.08.2022 22:29:02.094 *ERROR* [OsgiInstallerImpl] b2c-agent-portal.core bundle b2c-agent-portal.core:1.0.0.SNAPSHOT (589)[com.adobe.aem.react.core.servlets.TestServlet(3746)] : Could not load implementation object class com.adobe.aem.react.core.servlets.TestServlet (java.lang.ClassNotFoundException: com.adobe.aem.react.core.servlets.TestServlet not found by react-v26.core [583])

 

 TestServlet : is my new servlet name

b2c-agent-portal.core: my project name

react-v26 : another old project on the same aem instance

 

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 DEBAL_DAS

I would like to focus on below points -

  • OSGi Configuration, are you reading any OSGi configuration in your Test servlet? If yes , have you configured it ?
  • Other services that it depends to, are they already active or also in Satisfied state?

I want to take a look into your Servlet code.

4 replies

Level 2
August 8, 2022

Can you please try checking by adding property immediate=true for @8220494 annotation

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/why-my-servlet-component-is-in-quot-satisfied-quot-state-will-it/td-p/408335

Thanks,

Anil

Mayank_Gandhi
Adobe Employee
Adobe Employee
August 9, 2022

As the log says "implementation object class" - check the object for impl class in your servlet.

 

here is a sample code- https://experienceleague.adobe.com/docs/experience-manager-learn/forms/store-and-retrieve-af-with-2fa/create-servlet.html?lang=en

DEBAL_DAS
DEBAL_DASAccepted solution
New Member
August 9, 2022

I would like to focus on below points -

  • OSGi Configuration, are you reading any OSGi configuration in your Test servlet? If yes , have you configured it ?
  • Other services that it depends to, are they already active or also in Satisfied state?

I want to take a look into your Servlet code.

Debal Das, Senior AEM Consultant
HeenaMadan
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
August 9, 2022

Please check all reference variables are successfully referenced in impl class of the servlet. Go to http://localhost:4502/system/console/components  find servlet and check all Reference implementations by click servletpath.

It would be good if you share reference servlet code