Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

.servlet is not in available search paths

Avatar

Level 4

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

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@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.

 

surajkamdi96205_0-1589185175455.png

 

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

 

Thanks & Regards,

Suraj Kamdi

 

View solution in original post

8 Replies

Avatar

Correct answer by
Community Advisor

@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.

 

surajkamdi96205_0-1589185175455.png

 

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

 

Thanks & Regards,

Suraj Kamdi

 

Avatar

Level 4
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.'"

Avatar

Level 4
response.getOutputStream().flush(); we are writing to the output stream and flushing ,same works in AEM 6.4 another instanve

Avatar

Community Advisor

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

Avatar

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