Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

.servlet is not in available search paths

Shakthi1
Level 4
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
Suraj_Kamdi
Correct answer by
Community Advisor
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

0 Replies
Suraj_Kamdi
Correct answer by
Community Advisor
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

Shakthi1
Level 4
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.'"
Shakthi1
Level 4
Level 4
response.getOutputStream().flush(); we are writing to the output stream and flushing ,same works in AEM 6.4 another instanve
Suraj_Kamdi
Community Advisor
Community Advisor

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

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