AEM 6.2: TooManyCallsException
Hi,
We recently migrated to AEM 6.2 from 6.1. Whenever I develop a new component and deploy the code, components are not showing in the left rail because of below exception:
org.apache.sling.api.request.TooManyCallsException: /libs/cq/gui/components/authoring/componentbrowser/component/component.jsp
at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:530)
at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilterChain.java:44)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:77)
at com.day.cq.personalization.impl.TargetComponentFilter.doFilter(TargetComponentFilter.java:96)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)
at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java:151)
I found out that we need to change the Number of Calls per Request in the Apache Sling Main Servlet. Default value is set to: 1000 and if I change this value to 1001, all the components are showing up and everything is working fine. Even, if I change this value back to 1000, it still works.
It is not working if I deploy the code again.
We have only 10 components in this page and this issue looks like a bug.
Please help.