Expand my Community achievements bar.

SOLVED

Servlet state is failed activation

Avatar

Level 4

Why servlet goes to failed activation state?

1 Accepted Solution

Avatar

Correct answer by
Level 6

Hi @lone_Ranger please go to http://localhost:4502/system/console/components or http://localhost:4502/system/console/bundles and search your servlet there. On clicking your servlet you can see which packages are missing. Check if any service is in unsatisfied state. Share the info here.

View solution in original post

5 Replies

Avatar

Community Advisor

Hi @lone_Ranger 
Could you please share the code or check the error log for more details? This will help to guide you better.



Arun Patidar

Avatar

Level 4

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 on, are they already active or also in a satisfied state?

Avatar

Correct answer by
Level 6

Hi @lone_Ranger please go to http://localhost:4502/system/console/components or http://localhost:4502/system/console/bundles and search your servlet there. On clicking your servlet you can see which packages are missing. Check if any service is in unsatisfied state. Share the info here.

Avatar

Community Advisor

@lone_Ranger 

 

From the bundle, click on the servlet.

aanchalsikka_0-1721273110591.png

it will take you to its details.

aanchalsikka_1-1721273231011.png

Here you would be to check if all dependencies are satisfied. 

 

Also, please check the logs when you install the Servlet via bundle installation 

 


Aanchal Sikka