After Upgrading from JDeveloper 10.1.3 to JDeveloper 11.1.1.x Following Error Occurs "JSF1074: Managed bean named 'OraBIStyleSheetBean' has already been registered" using Mojarra. (Doc ID 1281163.1)

Last updated on AUGUST 18, 2016

Applies to:

Oracle JDeveloper - Version 11.1.1.3.0 and later
Information in this document applies to any platform.
***Checked for relevance on 23-May-2013***

Symptoms

After upgrading an application from JDeveloper 10.1.3.1 to JDeveloper 11.1.1.3.0 following error is reported when running the application on the WebLogic server:

Jan 10, 2011 3:09:24 PM EST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<BeanManager><addBean> JSF1074: Managed bean named 'OraBIStyleSheetBean' has already been registered. Replacing existing managed bean class type oracle.adfinternal.view.faces.bi.backing.BIStyleSheetBean with oracle.adfinternal.view.faces.bi.backing.BIStyleSheetBean.
<BeanManager><addBean> JSF1074: Managed bean named 'OraBISelectionScript' has already been registered. Replacing existing managed bean class type oracle.adfinternal.view.faces.bi.backing.BISelectionScriptBean with oracle.adfinternal.view.faces.bi.backing.BISelectionScriptBean.
<Jan 10, 2011 3:09:42 PM EST> <Warning> <HTTP> <BEA-101162> <User defined listener com.sun.faces.config.ConfigureListener failed: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! null.
com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! null
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:351)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:220)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
Truncated. see log file for complete stacktrace

Caused By: java.lang.NullPointerException
at oracle.adfinternal.view.faces.unified.renderkit.UnifiedRenderKit.<init>(UnifiedRenderKit.java:129)
at oracle.adfinternal.view.faces.unified.renderkit.UnifiedRenderKit.createRenderKit(UnifiedRenderKit.java:111)
at oracle.adfinternal.view.faces.unified.renderkit.UnifiedRenderKitFactory.getRenderKit(UnifiedRenderKitFactory.java:59)
at org.apache.myfaces.trinidadinternal.renderkit.CoreRenderKitFactory.getRenderKit(CoreRenderKitFactory.java:55)
at com.sun.faces.config.processor.RenderKitConfigProcessor.addRenderKits(RenderKitConfigProcessor.java:236)
Truncated. see log file for complete stacktrace
>
<ConfigureListener><contextDestroyed> Unexpected exception when attempting to tear down the Mojarra runtime
java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.application.ApplicationFactory
at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:800)
at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:302)
at com.sun.faces.config.InitFacesContext.getApplication(InitFacesContext.java:104)
at com.sun.faces.config.ConfigureListener.contextDestroyed(ConfigureListener.java:312)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:482)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.EventsManager.notifyContextDestroyedEvent(EventsManager.java:200)
at weblogic.servlet.internal.WebAppServletContext.destroy(WebAppServletContext.java:3193)
at weblogic.servlet.internal.ServletContextManager.destroyContext(ServletContextManager.java:240)
at weblogic.servlet.internal.HttpServer.unloadWebApp(HttpServer.java:461)
at weblogic.servlet.internal.WebAppModule.destroyCon




Changes

The application was migrated from JDeveloper 10.1.3.1 to 11.1.1.3.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms