Hi everyone,
I'm trying to implement OSGI Filter Components, I deployed this bundle on my local: GitHub - Adobe-Consulting-Services/acs-aem-samples: AEM Code Samples repository and I'm testing this example: acs-aem-samples/SampleServletFilter.java at master · Adobe-Consulting-Services/acs-aem-samples · Git...
But when I look for the component in the osgi console I figured out that it has satisfied status.
I also tried to debug, I put a breakpoint inside doFilter method but nothing happens.
I'm testing the bundle on AEM 6.3 clean instance, I not deployed anything else.
Does anyone know what is happening?
Why doesn't the component have active status?
Solved! Go to Solution.
Views
Replies
Total Likes
David stated:
Because its never been invoked; unless its marked as immediate=true, it wont become active (one of the beauties of OSGi)
This is like any other OSGi component and nothing special about this filter.
you are using Felix annotations. Can you try with new OSGI annotations
Using OSGi annotations (>= AEM6.2) - Experience Delivers
Thank
Arun
Views
Replies
Total Likes
Are you using AEM 6.2 SP2?
Can you open the bundle in the webconsole view and check which dependency is missing?
kind regards,
Jörg
Views
Replies
Total Likes
Indeed, go to the component view in /system/console, there get more detail why the component is 'satisfied'
Views
Replies
Total Likes
I'm using AEM 6.3
This is the bundle info:
Views
Replies
Total Likes
This is the information:
I wasn't able to find a clue.
Views
Replies
Total Likes
I built this same code from the GitHub Repo...
Views
Replies
Total Likes
Thank you smacdonald for you response.
I did the same, I moved the ResourceResolver to 158 line before I deployed the bundle the first time.
Actually, my problem is not with the bundle
My problem is with the service with this name "SampleSerletFilter" it appears with the satisfied status.
smacdonald Could you check on your local "/system/console/components/" if this SampleServletFilter appears with the same status?
Thank you
Views
Replies
Total Likes
I am checking with the Consulting team here. I see same result for SampleServletFilter.
Views
Replies
Total Likes
David stated:
Because its never been invoked; unless its marked as immediate=true, it wont become active (one of the beauties of OSGi)
This is like any other OSGi component and nothing special about this filter.
Views
Like
Replies
Views
Likes
Replies