AEM 6.3 - Requested Path *.servlet is not in available search paths / 500 Server Error | Community
Skip to main content
Sep 21, 2018 3:01 PM UTC
Solved

AEM 6.3 - Requested Path *.servlet is not in available search paths / 500 Server Error

We had some services work properly but after a server restart we are seeing a bank response  / 500 Server Error .

Not sure what is wrong? Appreciate any help!

Error message in logs are like: Requested Path /bin/sirius/report.servlet is not in available search paths for any custom service we developed.

Snippet form logs:

21.09.2018 10:52:30.448 *WARN* [192.150.10.209 [1537541550444] POST /bin/sirius/report HTTP/1.1] com.day.cq.wcm.core.impl.components.ComponentCacheImpl Requested Path /bin/sirius/report.servlet is not in available search paths

Sling Servlet Resolver shows the correct class:

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
arunpatidar
arunpatidarAccepted solution
New Participant
Sep 27, 2018 9:18 AM UTC

Hi,

Your servlet looks ok but another dependent servlet/service (/bin/sirius/report) have some issue, better to check that service if this service/bundle is up or not.

And your making POST call, check for apache sling referrer filter config as well for POST calls.

Arun Patidar

4 replies

B_Sravan
New Participant
Nov 23, 2021 6:27 AM UTC

looks like it need changes to "sling referrer filter config" and "adobe granite CSRF Filter". Configure them by removing the POST method. After making configurations to the two OSGI configurations, you should be able to make a POST request from your HTTP REST Client to your AEM instance.

For production, set Apache Sling Referrer Filter and Adobe Granite CSRF Filter settings back to default. Unless if you are giving access to other servers to make POST requests to your AEM application.

reference: https://sourcedcode.com/blog/aem/how-to-make-simple-http-post-methods-in-aem-with-a-http-rest-client 

Translate
VeenaVikraman
New Participant
Sep 27, 2018 12:04 PM UTC

Can you give the screenshot of your service ? is it active ?

Translate
arunpatidar
arunpatidarAccepted solution
New Participant
Sep 27, 2018 9:18 AM UTC

Hi,

Your servlet looks ok but another dependent servlet/service (/bin/sirius/report) have some issue, better to check that service if this service/bundle is up or not.

And your making POST call, check for apache sling referrer filter config as well for POST calls.

Translate
Arun Patidar
smacdonald2008
Level 10
Sep 27, 2018 2:39 AM UTC

Is the OSGi servlet that defines this Sling Servlet in an Active State?

Translate