Expand my Community achievements bar.

SOLVED

Resource at '/content/<folder>/www/shell.php' is not modifiable

Avatar

Level 2

Hi Experts,

 

Adobe asked us to fix the error they found in our environment log files. How do we fix is beyond our understanding, this reosurces we tried to search in our code base who is trying to access it but cant find anything.

 

Could you help?

 

On Prod Publisher1 - Occurrence of Errors/Warnings:  is not modifiable.

 

Reason : The actual issue is AEM could not resolve the servlet and assumes it as a resource path but this is not a valid resource path, the below exception will be thrown when AEM tries to set the property values.

 

Recommended Actions: See http://www.albinsblog.com/2016/06/caused-by-orgapacheslingapiresourcepers-resource-is-not-modifiable....

 

Example from logs :

08.05.2020 19:01:14.666 *ERROR* [10.43.1.4 [1588964474663] POST /content/hfma/www/shell.php HTTP/1.1] org.apache.sling.servlets.post.impl.operations.ModifyOperation Exception during response processing. org.apache.sling.api.resource.c: Resource at '/content/<client folder>/www/shell.php' is not modifiable. at org.apache.sling.servlets.post.impl.helper.SlingPropertyValueHandler.setProperty(SlingPropertyValueHandler.java:114) [org.apache.sling.servlets.post:2.3.24] at org.apache.sling.servlets.post.impl.operations.ModifyOperation.writeContent(ModifyOperation.java:372) [org.apache.sling.servlets.post:2.3.24] at org.apache.sling.servlets.post.impl.operations.ModifyOperation.doRun(ModifyOperation.java:93) [org.apache.sling.servlets.post:2.3.24]

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Your code(may be javascript) is trying to making POST request to the URL, if URL is not available then default sling servlet is called and with POST request it tries to create node/properties.



Arun Patidar

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Your code(may be javascript) is trying to making POST request to the URL, if URL is not available then default sling servlet is called and with POST request it tries to create node/properties.



Arun Patidar