.servlet is not in available search paths | Community
Skip to main content
Level 4
May 11, 2020
Solved

.servlet is not in available search paths

  • May 11, 2020
  • 2 replies
  • 14667 views

We are trying a excel downlaod and was working fine in onother instance of AEM6.4 but on a new instance the below error is thrown.

 

com.day.cq.wcm.core.impl.components.ComponentCacheImpl Requested Path /bin/name/ServletName.servlet is not in available search paths 

 

is ther any configuration be added in confog manger.

added in the below  Adobe Granite CSRF Filter (added get
Apache Sling Servlet.

Please can any one faced the similar issue advise

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Suraj_Kamdi

@shakthi1 

Maybe your /bin path is not resolved yet..

Please see the Apache Sling Servlet/Script Resolver and Error Handler 

You need to allow /bin the execution  path.

 

 

Please provide some code snippet if any so that it will help to resolve your issue.

 

Thanks & Regards,

Suraj Kamdi

 

2 replies

Suraj_Kamdi
Community Advisor
Suraj_KamdiCommunity AdvisorAccepted solution
Community Advisor
May 11, 2020

@shakthi1 

Maybe your /bin path is not resolved yet..

Please see the Apache Sling Servlet/Script Resolver and Error Handler 

You need to allow /bin the execution  path.

 

 

Please provide some code snippet if any so that it will help to resolve your issue.

 

Thanks & Regards,

Suraj Kamdi

 

Shakthi1Author
Level 4
May 11, 2020
yes the /bin is there and we atrying to down laod excel which is working in other AEM64 instance.There are no errors displayed but aftre initilizing the poi classes and adding data to it aftre that on response we get "Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request.'"
Suraj_Kamdi
Community Advisor
Community Advisor
May 11, 2020

@shakthi1 Also Check your project bundle. Maybe some dependency is not resolved.

Shakthi1Author
Level 4
May 11, 2020
This is the error on the web server logs AH02429: Response header name 'Expires?' contains invalid characters, aborting request