AEM 6.1 -Scheduler throwing session timeout error | Community
Skip to main content
jegadeeshanm
Level 2
Aug 28, 2017 11:05 AM UTC
Solved

AEM 6.1 -Scheduler throwing session timeout error

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.
smacdonald2008
smacdonald2008Accepted solution
Level 10
Aug 28, 2017 6:12 PM UTC

1 reply

smacdonald2008
smacdonald2008Accepted solution
Level 10
Aug 28, 2017 6:12 PM UTC