Intermittent "Session Expired" Exception in Migrated App with JSF Pages

(Doc ID 2289982.1)

Last updated on JULY 27, 2017

Applies to:

Oracle JDeveloper - Version and later
Information in this document applies to any platform.


Application intermittently fails with session expired error in browser and logs shows:

But session-timeout in web.xml is 6000 and session shouldn't end. Hence, it seems that the session is not expiring but the page state instead, and then the tokens are not being found during navigation.
The application has set org.apache.myfaces.trinidad.CLIENT_STATE_MAX_TOKENS to 3600 which is more than enough, so it is not likely the application is running out of tokens.

With further debugging it was seen that the token associated to the session-id for some unclear reason is not found later.


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms