My Oracle Support Banner

ClassCastException Reported In ADF Portlet Producers in High-Availability and Clustered Environments (Doc ID 1324549.1)

Last updated on MARCH 16, 2019

Applies to:

Oracle WebCenter Portal - Version to [Release 11g]
Information in this document applies to any platform.
In a clustered environment, ADF-based portlets could report ClassCastExceptions in the managed server logs.
Checked for relevance on 10-Apr-2013


A number of portlets, each within its own ear file.  These portlets were created in JDeveloper by portletizing ADF/JSF-based applications then  deployed these to a portlet producer cluster managed server.
The following error shows up in the managed server log.

[BEA-101020] ... Servlet failed with Exception[[
java.lang.ClassCastException: com.sun.faces.config.WebConfiguration
at com.sun.faces.config.WebConfiguration.getInstance(
at com.sun.faces.context.ExternalContextImpl.<init>(
at com.sun.faces.context.FacesContextFactoryImpl.getFacesContext(
at org.apache.myfaces.portlet.faces.context.FacesContextFactoryImpl.getFacesContext(
at oracle.portlet.bridge.adf.context.ADFPortletFacesContextFactoryImpl.getFacesContext(
Also see similar errors for oracle.portlet.server.containerimpl.PortletApplicationImpl


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

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