My Oracle Support Banner

Intermittent 'Portlet Unavailable' Message - Error stack shows <oracle.portlet.server.containerimpl.PortletApplicationImpl> <BEA-000000> <Exception thrown in doFacesRequest:render (Doc ID 1283355.1)

Last updated on JULY 06, 2020

Applies to:

Oracle WebCenter Portal - Version 11.1.1.3.0 to 11.1.1.3.0 [Release 11g]
Information in this document applies to any platform.

Symptoms


This problem occurs on a High Availability environment.
This is a 2-node clustered production Webcenter (PS2) Spaces(WLS_Spaces) deployment and a (custom) portlet provider developed with portlet bridge and deployed in WLS_Portlet (clustered as well), with 2-node apache 2.2 cluster (hardware balanced) with virtual host and WLS Proxy Plugin enabled in front of them.

Custom portlets have been created in JDeveloper 11.1.1.3 and exposed as WSRP with the portlet bridge.
Intermittently, one of these portlets fails to display, showing this message 'Portlet Unavailable'.

Once the message occurs, the only way  to resolve the issue is to restart the managed server where the portlet provider is deployed.

This is the error stack seen when the portlet error occurs:

<10-ene-2011 15H49' CET> <Warning> <oracle.portlet.server.containerimpl.PortletApplicationImpl> <BEA-000000> <Exception thrown in doFacesRequest:render
java.lang.ClassCastException: oracle.jbo.mom.DefinitionContextAgeable
at oracle.jbo.mom.DefinitionManager.getCurrentDefinitionContext(DefinitionManager.java:2447)
at oracle.jbo.mom.DefinitionManager.findLoadedObject(DefinitionManager.java:2302)
at oracle.jbo.uicli.mom.JUMetaObjectManager.findCpx(JUMetaObjectManager.java:634)
at oracle.jbo.uicli.mom.JUMetaObjectManager.loadCpx(JUMetaObjectManager.java:692)
at oracle.adf.model.BindingContext.initialize(BindingContext.java:374)
at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:225)
at oracle.portlet.bridge.adf.lifecycle.ADFBindingBridgeLifecycleListenerImpl.onBeginRequest(ADFBindingBridgeLifecycleListenerImpl.java:97)
at oracle.portlet.bridge.adf.context.ADFPortletExternalContextImpl.<init>(ADFPortletExternalContextImpl.java:227)
at oracle.portlet.bridge.adf.context.ADFPortletFacesContextImpl.<init>(ADFPortletFacesContextImpl.java:40)
at oracle.portlet.bridge.adf.context.ADFPortletFacesContextFactoryImpl.getFacesContext(ADFPortletFacesContextFactoryImpl.java:41)
at oracle.adfinternal.controller.application.FacesContextFactoryImpl.getFacesContext(FacesContextFactoryImpl.java:56)
at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl.getFacesContext(FacesContextFactoryImpl.java:64)
at oracle.adfinternal.controller.application.model.FacesContextFactoryImpl.getFacesContext(FacesContextFactoryImpl.java:70)
at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.getFacesContext(BridgeImpl.java:989)
.......
<10-ene-2011 15H49' CET> <Warning> <oracle.portlet.server.containerimpl.PortletApplicationImpl> <BEA-000000> <Se ha producido un error interno en el m�todo getMarkup.
javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request
at javax.portlet.faces.GenericFacesPortlet.doBridgeDispatch(GenericFacesPortlet.java:502)
at javax.portlet.faces.GenericFacesPortlet.doRenderDispatchInternal(GenericFacesPortlet.java:449)
at javax.portlet.faces.GenericFacesPortlet.doView(GenericFacesPortlet.java:241)
at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:243)
at javax.portlet.faces.GenericFacesPortlet.doDispatch(GenericFacesPortlet.java:209)
at javax.portlet.GenericPortlet.render(GenericPortlet.java:163)
at oracle.portlet.bridge.adf.application.ADFBridgePortlet.render(ADFBridgePortlet.java:287)
at oracle.portlet.server.containerimpl.ServerImpl.doRuntimeCall(ServerImpl.java:1316)
at oracle.portlet.server.containerimpl.ServerImpl.getMarkup(ServerImpl.java:143)
at oracle.portlet.server.containerimpl.ServerPerfLogger.getMarkup(ServerPerfLogger.java:584)
at oracle.portlet.wsrp.v2.WSRPv2VersionWrapperServer.getMarkup(WSRPv2VersionWrapperServer.java:545)
at oracle.portlet.wsrp.v2.WSRPv2ToServer.getMarkup(WSRPv2ToServer.java:15127)
at oracle.portlet.wsrp.v2.WSRP_v2_Markup_PortTypeSoapToJaxb.getMarkup(WSRP_v2_Markup_PortTypeSoapToJaxb.java:81)
at oracle.portlet.wsrp.v2.WSRP_v2_Markup_PortTypeSoapPerfLogger.getMarkup(WSRP_v2_Markup_PortTypeSoapPerfLogger.java:58)
...............
Caused By: javax.portlet.faces.BridgeException: oracle.jbo.mom.DefinitionContextAgeable
at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:587)
at javax.portlet.faces.GenericFacesPortlet.doBridgeDispatch(GenericFacesPortlet.java:498)
at javax.portlet.faces.GenericFacesPortlet.doRenderDispatchInternal(GenericFacesPortlet.java:449)
at javax.portlet.faces.GenericFacesPortlet.doView(GenericFacesPortlet.java:243)
at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:243)
at javax.portlet.faces.GenericFacesPortlet.doDispatch(GenericFacesPortlet.java:209)

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.