My Oracle Support Banner

Portal 11g WSRP Producer Giving Errors After Timeout Exceeded (Doc ID 1665238.1)

Last updated on MARCH 09, 2022

Applies to:

Portal - Version 11.1.1.6.0 to 11.1.1.7.0 [Release FMW11g]
Information in this document applies to any platform.

Symptoms

When using WSRP with 11g Portal, when the timeout on a WSRP Producer is set to 5 minutes in the web.xml, and the portlet is on a portal page:

<session-config>
<session-timeout>5</session-timeout>
</session-config>

After the app is deployed to the WLS_WSRP managed server created using this note
    <Note 1058565.1> Deploying a WSRP Portlet Application to a New Oracle WebLogic Managed Server Instance for use with Oracle Portal 11g

There are 2 issues seen after leaving the page for more than the defined session timeout (in this case 5 minutes).

Issue 1

Refreshing the portal page after more than 5 minutes is causing the following error to appear in the browser in place of the portlet. This is an HTTP Get.

         Error Message  
                Error: Could not get markup. The cookie or session is invalid or there is a runtime exception.


WLS_PORTAL diagnostic log:

[2013-03-13T08:27:54.768-04:00] [WLS_PORTAL] [ERROR] [] [oracle.portal.page] [tid: content-fetcher1] [userId: ] [ecid: <ECID>] [APP: portal] [URI: /portal/pls/portal/!DEV_PORTAL.wwpro_app_provider.do_object_signon] ContentFetcher Unexpected Exception Request Failed:oracle.webdb.wsrp.client.run.WSRPDispatcherException: An error occurred whilst invoking an operation on the Provider name=content-fetcher1 label=wsrpPortlet url=http://<HOSTNAME>:<PORT>/portal/proxy/portal/DEV_PORTAL/wsrp time=10199ms timeout=65000ms process=Dispatching

 

WLS_WSRP diagnostic log:

[2013-03-13T08:27:54.758-04:00] [WLS_WSRP] [WARNING] [WSM-06210] [oracle.wsm.resources.policyaccess] [tid: [ACTIVE].ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: ] [ecid: <ECID>] [WEBSERVICE_PORT.name: WSRPBaseService] [APP: <PORTLET_NAME>] [J2EE_MODULE.name: <PORTLET_NAME>] [WEBSERVICE.name: WSRP_v1_Service] [J2EE_APP.name: <PORTLET_NAME>] [URI: /portal/pls/portal/!DEV_PORTAL.wwpro_app_provider.do_object_signon] An instance of the interface oracle.wsm.policymanager.IDocumentManager bean for the local repository at path "" was not available for configuring the oracle.wsm.policymanager.accessor.BeanAccessor repository accessor for context "ResourcePattern [pattern=DOMAIN/weblogic/ClassicDomain, subjectType=MANAGED_DOMAIN, terms={PLATFORM=weblogic, SUBJECT_TYPE=MANAGED_DOMAIN, DOMAIN=ClassicDomain}]".


Issue 2

Submitting a form on a page after more than 5 minutes is causing the following error which takes up the whole page. This is an HTTP Post.

  Error: Failed to load portlet (after retrying).

13/05/27 18:28:47 portal: id=<PORTAL_ID> ContentFetcher Unexpected Exception Request Failed:oracle.webdb.wsrp.client.run.WSRPDispatcherException: The Provider session timed out and could not be re-established. name=content-fetcher3 label=wsrpPortlet url=http://<HOSTNAME>:<PORT>/portal/proxy/portal/PORTAL/wsrp time=270ms timeout=65000ms process=Dispatching

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.