My Oracle Support Banner

Remote Portlet Error Consuming ADF Portlet In Webcenter Portal 12c (Doc ID 2198887.1)

Last updated on NOVEMBER 30, 2022

Applies to:

Oracle WebCenter Portal - Version 12.2.1.1.0 to 12.2.1.2.0
Information in this document applies to any platform.

Symptoms

Remote Portlet Errors when trying to publish ADF portlets on WebCenter Portal with version 12.2.1.1.0, using Oracle Portlet Bridge. An ADF application was created and published on WebLogic in WebCenter domain and is running fine.

The problem occurs when accessing the portlet inside a portal page. No content is showed but the error message:

"Remote Portlet Error"

 

And the errors shown in the WC_Portal-diagnostic.log are like:

[TIMESTAMP] [WC_Portlet] [ERROR] [ADFC-50018] [oracle.adfinternal.controller.application.AdfcExceptionHandler] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <USERNAME>] [ecid: <ECID>] [APP: AdfPortletApp] [partition-name: DOMAIN] [tenant-name: GLOBAL] [DSID: <DSID>] [J2EE_APP.name: AdfPortletApp] [J2EE_MODULE.name: AdfPortletApp-ViewController-context-root] [WEBSERVICE.name: WSRP_v2_Service] [WEBSERVICE_PORT.name: WSRP_v2_Markup_Service] ADFc: No exception handler was found for an application exception.[[
java.lang.ClassCastException: com.bea.portlet.container.PortletContextImpl cannot be cast to javax.servlet.ServletContext
at oracle.adfinternal.view.faces.activedata.SessionDataUpdateManager.<init>(SessionDataUpdateManager.java:104)
at oracle.adfinternal.view.faces.activedata.RichDataUpdateManagerFactory._getSessionDataUpdateManager(RichDataUpdateManagerFactory.java:157)
at oracle.adfinternal.view.faces.activedata.RichDataUpdateManagerFactory.getDataUpdateManager(RichDataUpdateManagerFactory.java:91)
at oracle.adfinternal.view.faces.context.AdfFacesContextImpl.getDataUpdateManager(AdfFacesContextImpl.java:166)
at oracle.adf.view.rich.activedata.ActiveComponentContext.<init>(ActiveComponentContext.java:81)
at oracle.adf.view.rich.activedata.ActiveComponentContext.getActiveComponentContext(ActiveComponentContext.java:99)
at oracle.adfinternal.view.faces.context.RichRequestContextImpl.pushCurrentComponent(RichRequestContextImpl.java:32)
at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:553)
at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:405)
at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700)
at oracle.adfinternal.view.faces.lifecycle.PreRenderViewUtils._visit(PreRenderViewUtils.java:108)



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.