Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ADF SessionTimeout - Why is it happening?

jtyremanNov 13 2015 — edited Nov 13 2015

Hi getting the following error using JDeveleper 11.1.1.7:

<13-Nov-2015 08:10:28 o'clock GMT> <Error> <org.apache.myfaces.trinidadinternal.application.StateManagerImpl> <BEA-000000> <Could not find saved view state for token ceyltic8l>

<13-Nov-2015 08:10:28 o'clock GMT> <Error> <oracle.adfinternal.controller.application.AdfcExceptionHandler> <ADFC-50016> <ADFc: While handling an exception the application's exception handler threw a new exception.

javax.faces.application.ViewExpiredException: viewId:/PriceGuidance.jspx - ADF_FACES-30108:The view state of the page has expired because of inactivity.  Reload the page.

  at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._restoreView(LifecycleImpl.java:819)

i have the following settings in web.xml (5 Hours Timeout)

  <session-config>

    <session-timeout>300</session-timeout>

  </session-config>

  <context-param>

    <param-name>oracle.adf.view.rich.sessionHandling.WARNING_BEFORE_TIMEOUT</param-name>

    <param-value>120</param-value>

  </context-param>

  <context-param>

    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>

    <param-value>client</param-value>

  </context-param>

  <context-param>

    <param-name>org.apache.myfaces.trinidad.CLIENT_STATE_MAX_TOKENS</param-name>

    <param-value>100</param-value>

  </context-param>

These errors might appear while the user is actively using the application.

i also have an af:poll that triggers every 2 minutes to an empty method which acts as a keep alive.

Can anyone suggest why i am getting these errors.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 11 2015
Added on Nov 13 2015
3 comments
1,345 views