Portlets that Submit Actions via CommandButton Cause Portal Session To Timeout in WebCenter Portal (Doc ID 1680337.1)

Last updated on NOVEMBER 16, 2016

Applies to:

Oracle WebCenter Portal - Version 11.1.1.8.2 to 11.1.1.8.3 [Release 11g]
Information in this document applies to any platform.

Symptoms

When attempting to execute actions from a remote portlet via commandButton in a WebCenter Portal application, the following error occurs:

Because of inactivity, your session has timed out and is no longer active.

The WC_CustomPortal-diagnostic.log shows the following error:

[2014-05-20T23:57:04.166+00:00] [WC_CustomPortal] [ERROR] [] [org.apache.myfaces.trinidadinternal.application.StateManagerImpl] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 79c8931cf3650500:1e344b4d:1461a8cbfd4:-8000-00000000000051ee,0] [APP: TestApp_application1] [DSID: 0000KOS3R6u6ATO_Uh_Aic1JUsXZ00008^] Could not find saved view state for token -17concgvui
[2014-05-20T23:57:04.167+00:00] [WC_CustomPortal] [ERROR] [ADFC-50016] [oracle.adfinternal.controller.application.AdfcExceptionHandler] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 79c8931cf3650500:1e344b4d:1461a8cbfd4:-8000-00000000000051ee,0] [APP: TestApp_application1] [DSID: 0000KOS3R6u6ATO_Uh_Aic1JUsXZ00008^] ADFc: While handling an exception the application's exception handler threw a new exception.[[
javax.faces.application.ViewExpiredException: viewId:/pages_Page1 - ADF_FACES-30107:The view state of the page has expired.  Reload the page.
        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._restoreView(LifecycleImpl.java:819)
        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:422)
        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:207)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
...

[2014-05-20T23:57:04.168+00:00] [WC_CustomPortal] [ERROR] [ADFC-50017] [oracle.adfinternal.controller.application.AdfcExceptionHandler] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 79c8931cf3650500:1e344b4d:1461a8cbfd4:-8000-00000000000051ee,0] [APP: TestApp_application1] [DSID: 0000KOS3R6u6ATO_Uh_Aic1JUsXZ00008^] ADFc: While attempting to handle this exception the application's exception handler failed.[[
javax.faces.application.ViewExpiredException: viewId:/pages_Page1 - ADF_FACES-30107:The view state of the page has expired.  Reload the page.
        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._restoreView(LifecycleImpl.java:819)
        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:422)
        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:207)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
...

[2014-05-20T23:57:04.168+00:00] [WC_CustomPortal] [WARNING] [] [oracle.adfinternal.view.faces.lifecycle.LifecycleImpl] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 79c8931cf3650500:1e344b4d:1461a8cbfd4:-8000-00000000000051ee,0] [APP: TestApp_application1] [DSID: 0000KOS3R6u6ATO_Uh_Aic1JUsXZ00008^] ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RESTORE_VIEW 1[[
javax.faces.application.ViewExpiredException: viewId:/pages_Page1 - ADF_FACES-30107:The view state of the page has expired.  Reload the page.
        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._restoreView(LifecycleImpl.java:819)
        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:422)
        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:207)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)

  


There are different scenarios that can trigger the issue:



Cause

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