Felix Servlet Filter not shown in status-httpwhiteboard console

Avatar

Avatar

NaziyaP

Avatar

NaziyaP

NaziyaP

27-05-2019

Hi All,

I have been following the sample code from acs-aem-samples/SampleServletFilter.java at master · Adobe-Consulting-Services/acs-aem-samples · Git...  for a felix servlet filter . I have copied exact same code in my workspace without any changes . When I upload the bundle and hit http://localhost:4502/system/console/status-httpwhiteboard , I don't see my filter registered under Registered Filter Services. Neither is my filter called in any scenario, I have added loggers to verify the same.

Is there any other configuration or property that needs to be set , apart from what is mentioned in the sample code?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831
Arun_Patidar
MVP

28-05-2019

Hi,

Can you check if your bundle or service is active or not? if yes try to access any html page.

check another sample filter if helps:

aem63app-repo/CustomScreenFilter.java at master · arunpatidar02/aem63app-repo · GitHub

To know more about what is in the filter please check

Apache Sling :: Servlet Filter Support

Answers (0)