Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Component showing unstaisfied when the dependent service show satisfied status?

Avatar

Level 5

I've tried to restart both the components to no avail. See attached screenshot. Any pointers?

4 Replies

Avatar

Community Advisor

Hi Chetan,

Is the 'Activation' is delayed for the dependent service ?? 

Avatar

Level 5

How do we know if it's delayed? there were no annotations of such sort on the dependent service. We restarted AEM and it worked. But still not able to understand what could've been the reason.

Avatar

Level 10

Sometimes restarting AEM is required to place OSGI bundles into active states. I have seen this before.

Avatar

Community Advisor

use 

@Component (immediate=true) for your component which activates as soon as it deploys. This might solve your problem