I am trying to save around 1000 product nodes. before saving I am fetching these record from external system and processing in scheduler. tryed saving node one by one after processing completes for one node, session was loosing data in between and one node has lot of data. So trying multiple times session.save for one node data after certain amount of precessing is done.
so with this approach getting a error "This session has been closed" randomly. Some time it is working but not always.
Any suggestions on this?
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
Please check below post
Sling - Who is closing my JCR Session? - DeveloperHub blog | Thomas Joseph
Hi,
Please check below post
Sling - Who is closing my JCR Session? - DeveloperHub blog | Thomas Joseph
Quick question: Are you sure "This session has been closed" is taking the stack trace to your code?
Views
Replies
Total Likes
If you see such strange behavior, something's definitly wrong. Can you post the relevant piece from the logs, plus the code?
Jörg
Views
Replies
Total Likes