AEM 6.1 -Scheduler throwing session timeout error | Community
Skip to main content
jegadeeshanm
August 28, 2017
Solved

AEM 6.1 -Scheduler throwing session timeout error

  • August 28, 2017
  • 1 reply
  • 873 views

Hi ,

We are doing the cleanup activity, where the old nodes(custom) are being deleted from each user profiles. since this is affecting huge number of nodes, we implemented a scheduler to take input as "/home/users/A" and start deleting the nodes which falls under some date criteria.

Scheduler is working for 2 to 3 times (deleting 20000 nodes each time). after that it is throwing session timeout error.

we tried following approaches but no luck.

1. indexing the properties

2. removing session.logout() from the code

2. used session.refresh(1)

Any advise will be helpful.

Thanks in advance

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by smacdonald2008

See if this helps...

How to set the CQ servlet engine's default session timeout

1 reply

smacdonald2008
smacdonald2008Accepted solution
August 28, 2017