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
BedrockMission!

Learn More

View all

Sign in to view all badges

Components are in satisfied state

Avatar

Avatar
Validate 1
Level 3
pallavis8124480
Level 3

Likes

13 likes

Total Posts

47 posts

Correct Reply

3 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 1
Give Back 3
View profile

Avatar
Validate 1
Level 3
pallavis8124480
Level 3

Likes

13 likes

Total Posts

47 posts

Correct Reply

3 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 1
Give Back 3
View profile
pallavis8124480
Level 3

12-03-2018

Hi ,

 

My servlets are giving 404 not found error as the component is in satisfied state.

If I see the component ,the references are in satisfied state.It uses the following reference :
ResourceResolverFactory.

 

Steps I did  :

 

1) Added @activate to activate method
2) Made the component immediate =true
3)Added the dependencies of sling api etc

4)Restarted the instance.

 

But I wasn't able to make it to Active.It is still in satisfied state.
Note : All my bundles are active .

 


Please help me to resolve the issue.

 

Thanks,

Pallavi

Replies

Avatar

Avatar
Validate 1
Level 7
Hemant_arora
Level 7

Likes

92 likes

Total Posts

290 posts

Correct Reply

54 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 1
Give Back 50
View profile

Avatar
Validate 1
Level 7
Hemant_arora
Level 7

Likes

92 likes

Total Posts

290 posts

Correct Reply

54 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 1
Give Back 50
View profile
Hemant_arora
Level 7

12-03-2018

There is problem with the code. Can you share it? Also let us know the version of AEM

Avatar

Avatar
Validate 1
Level 3
pallavis8124480
Level 3

Likes

13 likes

Total Posts

47 posts

Correct Reply

3 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 1
Give Back 3
View profile

Avatar
Validate 1
Level 3
pallavis8124480
Level 3

Likes

13 likes

Total Posts

47 posts

Correct Reply

3 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 1
Give Back 3
View profile
pallavis8124480
Level 3

12-03-2018

Hi ,

 

I am using 6.2 version .

 

Please find 1 snippet of code

 

 

import org.apache.felix.scr.annotations.Activate;

import org.apache.felix.scr.annotations.Component;

import org.apache.felix.scr.annotations.Deactivate;

import org.apache.felix.scr.annotations.Service;

 

@component(immediate = true, metatype = true, label = "sample", description = "Service that exposes configured environment info. " )

@service(value = SampleInfo.class)

public class SampleInfoImpl implements SampleInfo{

 

private static final Logger log = LoggerFactory.getLogger(SampleInfoImpl.class);

 

 

@activate

protected final void activate(ComponentContext ctx) {

Dictionary<?, ?> props = ctx.getProperties();

 

this.environmentName = PropertiesUtil.toString(props.get(OSGI_ENV_NAME), DEFAULT_ENV_NAME);

this.taskURL= PropertiesUtil.toString(props.get(TASK_SSO_URL), "");

 

}

 

@deactivate

protected final void deactivate(final ComponentContext context) {

log.debug("deactivating service");

}

//some more logic

}

 

Thanks,

Pallavi

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

13-03-2018

Did you build your project using Maven Archetype 10?

Avatar

Avatar
Validate 1
Level 3
pallavis8124480
Level 3

Likes

13 likes

Total Posts

47 posts

Correct Reply

3 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 1
Give Back 3
View profile

Avatar
Validate 1
Level 3
pallavis8124480
Level 3

Likes

13 likes

Total Posts

47 posts

Correct Reply

3 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 1
Give Back 3
View profile
pallavis8124480
Level 3

13-03-2018

Hi ,

Yes we are using archetype 10.

Thanks,
Pallavi

Avatar

Avatar
Level 1
srssrinu
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile

Avatar
Level 1
srssrinu
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile
srssrinu
Level 1

02-07-2018

Hi,

Is this issue resolved? We are also facing similar issue in our project.

Thanks,

Srini

Avatar

Avatar
Coach
Employee
Jörg_Hoh
Employee

Likes

1,133 likes

Total Posts

3,161 posts

Correct Reply

1,079 solutions
Top badges earned
Coach
Give back 600
Ignite 5
Ignite 3
Ignite 1
View profile

Avatar
Coach
Employee
Jörg_Hoh
Employee

Likes

1,133 likes

Total Posts

3,161 posts

Correct Reply

1,079 solutions
Top badges earned
Coach
Give back 600
Ignite 5
Ignite 3
Ignite 1
View profile
Jörg_Hoh
Employee

02-07-2018

Hi,

If a component is in satisfied state although all dependencies are available, it's often caused by an exception in the activate method.

Jörg

Avatar

Avatar
Validate 1
Level 7
Hemant_arora
Level 7

Likes

92 likes

Total Posts

290 posts

Correct Reply

54 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 1
Give Back 50
View profile

Avatar
Validate 1
Level 7
Hemant_arora
Level 7

Likes

92 likes

Total Posts

290 posts

Correct Reply

54 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 1
Give Back 50
View profile
Hemant_arora
Level 7

02-07-2018

I agree with Jorg. It can also be caused if you are using deprecated methods or the attribute value in one of the annotations that you are using is incorrect. Can you share the code here ?

Avatar

Avatar
Validate 1
Level 2
gspatil11
Level 2

Likes

3 likes

Total Posts

14 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Give Back
Boost 3
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 2
gspatil11
Level 2

Likes

3 likes

Total Posts

14 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Give Back
Boost 3
Boost 1
Affirm 1
View profile
gspatil11
Level 2

18-02-2021

Hi All,

 

We are also facing same issue as below mentioned components are in satisfied state and we are in AEM 6.5.5.

 

org.apache.sling.jcr.webdav.impl.handler.DefaultHandlerService com.adobe.cq.dam.webdav.impl.io.AssetIOHandler com.adobe.cq.dam.webdav.impl.io.SpecialFilesHandler com.adobe.granite.workflow.core.offloading.WorkflowOffloadingJobConsumer

 

Any help would be appreciated.

 

Regards,

G Patil