My Oracle Support Banner

Extending WebCenter Portal with a Shared library brings WebCenter Portal site down - Unable to set the activation state to true for the application "webcenter" (Doc ID 2596045.1)

Last updated on OCTOBER 04, 2019

Applies to:

Oracle WebCenter Portal - Version 12.2.1.3.0 and later
Information in this document applies to any platform.

Symptoms

Extending WebCenter Portal with a Shared library brings WebCenter Portal site down.
The following error is observed in the WC_Portal.out file:

ERROR

<Date,time> <Warning> <oracle.adf.share.http.ServletADFContext> <BEA-000000> <Found oracle.adf.share.DefaultContext sticking to oldContext, while the current application is webcenter>
<Date,time> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application "webcenter".
weblogic.application.ModuleException: java.lang.IllegalStateException: Could not find backup for factory javax.faces.context.FacesContextFactory.
     at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:140)
     at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124)
     at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:233)
     at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:228)
     at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)
     Truncated. see log file for complete stacktrace
Caused By: java.lang.IllegalStateException: Could not find backup for factory javax.faces.context.FacesContextFactory.
     at javax.faces.FactoryFinderInstance.getFactory(FactoryFinderInstance.java:561)
     at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:283)
     at javax.faces.webapp.FacesServlet.init(FacesServlet.java:350)
     at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:343)
     at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:294)
     Truncated. see log file for complete stacktrace


STEPS

The issue can be reproduced at will with the following steps:

  1. Create a Fusion Web Application.

  2. Under the ViewController project create a Task Flow.

  3. Deploy the Task Flow to ADF jar File.

  4. Create a Deployer Project to deploy the shared library.

  5. Add the ADF Jar to the Libraries and Classpath of the Deployer project.

  6. Create a MANIFEST.MF file in the Deployer Project.
    Specify the name of the shared library and the version.

  7. Deploy the Shared Library to the WC_Portal managed server.

  8. Create an application based on the WebCenter Portal Sever Extension template.

  9. Create a weblogic.xml file in the PortalSharedLibrary project.
    Then in the Libraries tab, add the shared library name and version as stated in the shared library Deployer MANIFEST.MF file.

  10. Open the PortalSharedLibrary project MANIFEST.MF file and increase the Implementation Version.

  11. Deploy the PortalSharedLibrary project to the WC_Portal managed server.

  12. Restart the WC_Portal managed server.
    Here the error will be displayed.

 

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.