My Oracle Support Banner

Getting Blank Page or Remote Portlet Error when Consuming JSF Portlet Bridge Portlets in WebCenter Portal (Doc ID 2812616.1)

Last updated on MARCH 27, 2023

Applies to:

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

Symptoms

Consuming JSF Portlet Bridge Portlets from WebCenter Portal do not work consistently.
The UI will either show the portlet with no data or it will show this error: 

ERROR

Remote Portlet error

The WC_Portal-diagnostic.log shows the following error:

[<DATE-TIME>] [WC_Portal] [ERROR] [WCS-40151] [oracle.portlet.client] [tid: pool-3-daemon-thread-1] [userId: <USERID>] [ecid: <ECID>] [APP: webcenter] [partition-name: DOMAIN] [tenant-name: GLOBAL] A request to the producer URL "null" resulted in a status 200 response with fault string "Internal Server Error: javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request.; nested exception is: [[
javax.servlet.ServletException: javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request". The fault code given was "{urn:oasis:names:tc:wsrp:v2:types}OperationFailed".
]]

[<DATE-TIME>] [WC_Portal] [ERROR] [] [oracle.webservices.jaxws] [tid: pool-3-daemon-thread-1] [userId: <USERID>] [ecid: <ECID>] [APP: webcenter] [partition-name: DOMAIN] [tenant-name: GLOBAL] Error while invoking endpoint "http://<HOSTNAME>:<PORT>/<Portlet-Application-Name>/portlets/WSRP_v2_Markup_Service" from client; Security Subject: <GROUP>

[<DATE-TIME>] [WC_Portal] [ERROR] [] [oracle.portlet.binding] [tid: [ACTIVE].ExecuteThread: '14' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <USERID>] [ecid: <ECID>] [APP: webcenter] [partition-name: DOMAIN] [tenant-name: GLOBAL] [DSID: <DSID>] [[
oracle.portlet.client.container.PortletRemoteException: oracle.portlet.server.container.OperationFailedException: oracle.portlet.wsrp.v2.OperationFailed: Internal Server Error: javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request.; nested exception is:
javax.servlet.ServletException: javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request
      at oracle.portlet.client.techimpl.wsrp.WSRPBaseTerminalPipe.processException(WSRPBaseTerminalPipe.java:42)
      at oracle.portlet.client.techimpl.wsrp.WSRPGetMarkupPipe.execute(WSRPGetMarkupPipe.java:271)
      at oracle.portlet.client.techimpl.wsrp.WSRPGetMarkupPipe.pre(WSRPGetMarkupPipe.java:51)
...

Caused by: oracle.portlet.server.container.OperationFailedException: oracle.portlet.wsrp.v2.OperationFailed: Internal Server Error: javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request.; nested exception is:
javax.servlet.ServletException: javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request
      at oracle.portlet.wsrp.v2.ServerToWSRPv2.getMarkup(ServerToWSRPv2.java:1179)
      at oracle.portlet.client.connection.wsrp.ActivityServerWrapper.getMarkup(ActivityServerWrapper.java:93)
      at oracle.portlet.client.techimpl.wsrp.WSRPGetMarkupPipe.execute(WSRPGetMarkupPipe.java:135)
... 23 more
Caused by: oracle.portlet.wsrp.v2.OperationFailed: Internal Server Error: javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request.; nested exception is:
javax.servlet.ServletException: javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
...

 

The WC_Portlet-diagnostic.log shows the following error:

[<DATE-TIME>] [WC_Portlet] [ERROR] [] [com.bea.wsrp.producer.i18n.ProducerLogger] [tid: [ACTIVE].ExecuteThread: '25' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <USERID>] [ecid: <ECID>] [APP: <PORTAL_APPLICATION_NAME>] [partition-name: DOMAIN] [tenant-name: GLOBAL] [DSID: <DSID>] [J2EE_APP.name: <Portlet-Application-Name>] [J2EE_MODULE.name: <Portlet-Application-Name>] [WEBSERVICE.name: WSRP_v2_Service] [WEBSERVICE_PORT.name: WSRP_v2_Markup_Service] messagebody420942[[
javax.servlet.ServletException: javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request
      at com.bea.portlet.container.PortletStub.render(PortletStub.java:526)
      at com.bea.portlet.container.AppContainer.renderStub(AppContainer.java:1158)
      at com.bea.portlet.container.AppContainer.invokeRender(AppContainer.java:1090)
      at com.bea.wsrp.producer.adapter.javaportlet.JavaPortletAdapter.doGetMarkup(JavaPortletAdapter.java:296)
...

Caused by: javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request
      at javax.portlet.faces.GenericFacesPortlet.doBridgeDispatch(GenericFacesPortlet.java:709)
      at javax.portlet.faces.GenericFacesPortlet.doRenderDispatchInternal(GenericFacesPortlet.java:644)
      at javax.portlet.faces.GenericFacesPortlet.doView(GenericFacesPortlet.java:280)
...

Caused by: javax.portlet.faces.BridgeException: java.lang.ClassCastException: com.bea.portlet.container.RenderRequestImpl cannot be cast to javax.servlet.http.HttpServletRequest
      at org.apache.myfaces.portlet.faces.bridge.controller.BridgeControllerImpl.doFacesRender(BridgeControllerImpl.java:654)
      at org.apache.myfaces.portlet.faces.bridge.controller.BridgeControllerImpl.renderPortletBody(BridgeControllerImpl.java:400)
      at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:153)
...

Caused by: java.lang.ClassCastException: com.bea.portlet.container.RenderRequestImpl cannot be cast to javax.servlet.http.HttpServletRequest
      at oracle.adfinternal.controller.state.StateManager.encodeCurrentStateURL(StateManager.java:371)
      at oracle.adfinternal.controller.state.StateManager.encodeCurrentStateURL(StateManager.java:342)
      at oracle.adfinternal.controller.application.AdfcPageFlowScopeProvider.encodeCurrentPageFlowScopeURL(AdfcPageFlowScopeProvider.java:176)
...

  

 

FACTS 


STEPS

The issue can be reproduced at will with the following steps:

 

  1. Deploy a producer application with 2 portlets displaying data in an af:table. 
  2. Add a portlet to a page in a portal. 
  3. View the page. 
  4. Navigate away and get back to see the page. 
  5. Keep navigating and look at the page with the portlets.
    The portlets will either be blank or get "Remote Portlet" error. 
  6. Add one more portlet to the page. 
  7. Navigate away and get back to see the page. 
  8. Keep navigating and look at the page with the portlets.
    The portlets will either be blank or get "Remote Portlet" error more consistently.

 

 

Changes

 

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
Changes
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.