How to set the Oak login token session expiration

Statement : set the Oak Login token expiration

Environment : AEM 6.3

Please follow the below URL :
https://helpx.adobe.com/experience-manager/kb/How-to-set-token-session-expiration-AEM.html

Change AEM Default Session timeout value

Statement - Change the AEM session timeout value

Enthronement : AEM 6.3

Solution :
- Go to Felix console configmgr
- Search for Apache felix jetty based http service
- configure the session timeout property 
- Save the changes

SegmentNotFoundException observed in the AEM log file

Statement : SegmentNotFoundException Exceptions.

Environment :

           - AEM 6.3

Cause :  Might be due to long running JCR sessions along with online compaction.

Solution :


Avoid keeping JCR sessions open for a long time.  To resolve the issue:
  1. Close the session and open a new one when required.
  2. Or periodically call session.refresh(true).