Resource at '/content/<folder>/www/shell.php' is not modifiable | Community
Skip to main content
nitins96420484
Level 2
May 14, 2020 4:14 PM UTC
Solved

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

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.html#.WYxQWFUjFaQ.

 

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]

 

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
Jun 27, 2020 8:13 PM UTC

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

1 reply

arunpatidar
arunpatidarAccepted solution
New Participant
Jun 27, 2020 8:13 PM UTC

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.

Translate
Arun Patidar