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

Error while saving configuration from Felix console

Shallu_Rohilla
Level 4
Level 4

Hi, 

I have aem author set up over Tomcat as app server. However whenever I am trying to save a configuration from felix console, I am getting 400 exception. When I checked the Tomcat access logs I can see this error:

Temporary PID replaced by real PID upon save - 400

Actual exception-  "POST /aemauthor/system/console/configMgr/[Temporary%20PID%20replaced%20by%20real%20PID%20upon%20save] HTTP/1.1" 400 1127

Any help would be appreciated.

1 Accepted Solution
Shallu_Rohilla
Level 4
Level 4
Resolved this after creating new AEM. Still not able to get actual reason.
5 Replies
sunjot16
Employee
Employee

Enable DEBUG logging to error.log file on ROOT logger.

Then, try to save the config, and share what you find in that log file. Moreover, what do you see in stderr.log & stdout.log files?

aemmarc
Employee
Employee
Changing the logging level of the ROOT logger is tricky and often necessitates a server restart. This is also going to spit out GB of logging data.
Shallu_Rohilla
Level 4
Level 4

I am using AEM 6.5 over tomcat.  Getting same error while page creation. LOGS:

04.05.2020 13:49:36.229 *ERROR* [172.27.171.200 [1588618176222] POST /aemauthor/mnt/overlay/wcm/core/content/sites/createpagewizard.html/content HTTP/1.1] org.apache.sling.servlets.post.impl.operations.ModifyOperation Exception during response processing.
java.lang.UnsupportedOperationException: create 'content' at /mnt/overlay/wcm/core/content/sites/createpagewizard
	at org.apache.sling.resourceresolver.impl.helper.ResourceResolverControl.create(ResourceResolverControl.java:384) [org.apache.sling.resourceresolver:1.6.8]
	at org.apache.sling.resourceresolver.impl.ResourceResolverImpl.create(ResourceResolverImpl.java:971) [org.apache.sling.resourceresolver:1.6.8]
	at org.apache.sling.servlets.post.impl.operations.AbstractCreateOperation.deepGetOrCreateResource(AbstractCreateOperation.java:598) [org.apache.sling.servlets.post:2.3.26]
	at org.apache.sling.servlets.post.impl.operations.AbstractCreateOperation.processCreate(AbstractCreateOperation.java:146) [org.apache.sling.servlets.post:2.3.26]
	at org.apache.sling.servlets.post.impl.operations.ModifyOperation.doRun(ModifyOperation.java:83) [org.apache.sling.servlets.post:2.3.26]
	at org.apache.sling.servlets.post.impl.operations.AbstractPostOperation.run(AbstractPostOperation.java:99) [org.apache.sling.servlets.post:2.3.26]
	at org.apache.sling.servlets.post.impl.SlingPostServlet.doPost(SlingPostServlet.java:228) [org.apache.sling.servlets.post:2.3.26]
	at org.apache.sling.api.servlets.SlingAllMethodsServlet.mayService(SlingAllMethodsServlet.java:146) [org.apache.sling.api:2.20.0]
	at org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.java:342) [org.apache.sling.api:2.20.0]
	at org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.java:374) [org.apache.sling.api:2.20.0]
	at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:552) [org.apache.sling.engine:2.6.20]
	at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilterChain.java:44) [org.apache.sling.engine:2.6.20]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:82) [org.apache.sling.engine:2.6.20]
	at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java:156) [com.day.cq.wcm.cq-wcm-core:5.12.118]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:72) [org.apache.sling.engine:2.6.20]

 

Shallu_Rohilla
Level 4
Level 4
Resolved this after creating new AEM. Still not able to get actual reason.
jbrar
Employee
Employee

Can you try using the "AllowEncodedSlashes On" in the apache vhost config?