Content Presenter Inactivates Session with Certain Custom Templates in WebCenter Portal Framework (Doc ID 1367275.1)

Last updated on SEPTEMBER 02, 2016

Applies to:

Oracle WebCenter Portal - Version 11.1.1.5.0 and later
Information in this document applies to any platform.

Symptoms

When trying to add new content to a WebCenter Portal:Framework page from the Content Presenter task flow, as soon as the task flow is saved the page returns the following popup error:

Because of inactivity, your session has timed out and is no longer active. Click OK to reload the page.

At the same time, the following exception is logged into the diagnostic log of the Portal:

[2011-09-27T08:16:04.818-07:00] [WC_CustomPortal] [WARNING] [] [oracle.adfinternal.view.faces.lifecycle.LifecycleImpl] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: anonymous] [ecid: 11d1def534ea1be0:-39e791a6:132ab532b17:-8000-0000000000000e58,0] [APP: PortalMigracionWeb_application1#V2.0] ADF_FACES-60098:El ciclo de vida de Faces recibe excepciones no tratadas en la fase RESTORE_VIEW 1[[
javax.faces.application.ViewExpiredException: viewId:/oracle/webcenter/portalapp/pagehierarchy/Page1.jspx - ADF_FACES-30108:El estado de vista de la página ha vencido debido a inactividad. Vuelva a cargar la página.
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._restoreView(LifecycleImpl.java:650)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:301)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:186)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.portlet.client.adapter.adf.ADFPortletFilter.doFilter(ADFPortletFilter.java:34)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.webcenter.framework.events.dispatcher.EventDispatcherFilter.doFilter(EventDispatcherFilter.java:45)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:447)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:447)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    .....
]]


From then on, the page is completely broken and it needs to be re-created.

The same error can be reproduced while still in the Content Presenter task flow. On the Preview tab, click on Refresh. If at that stage you cancel the Task Flow, then the page does not break.

Steps to reproduce:

  1. Create a new page/edit an existing page.
  2. Add a Content Presenter task flow.
  3. Select a UCM document.
  4. Select a custom Content Presenter template (i.e. Figure).
  5. In Preview, click on Refresh and notice the error.
  6. Or skip step 5 and save the task flow and notice the error in the page. At this stage the page is broken and needs to be re-created.

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