Getting Blank Page or Remote Portlet Error when Consuming JSF Portlet Bridge Portlets in WebCenter Portal
(Doc ID 2812616.1)
Last updated on JUNE 25, 2024
Applies to:
Oracle WebCenter Portal - Version 12.2.1.4.0 to 12.2.1.4.220314Information 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:
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:
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
- The portlets only show data consistently when there are no ADF bundle patches installed.
- Applying the ADF bundle Patch 12.2.1.4.200613 or later the issue is seen consistently.
- Issue is more consistent when having 2 or more portlets on the same page.
STEPS
The issue can be reproduced at will with the following steps:
- Deploy a producer application with 2 portlets displaying data in an af:table.
- Add a portlet to a page in a portal.
- View the page.
- Navigate away and get back to see the page.
- Keep navigating and look at the page with the portlets.
The portlets will either be blank or get "Remote Portlet" error. - Add one more portlet to the page.
- Navigate away and get back to see the page.
- 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 |