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 01, 2022
Applies to:
Oracle WebCenter Portal - Version 12.2.1.3.0 and laterInformation 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:
- Create a Fusion Web Application.
- Under the ViewController project create a Task Flow.
- Deploy the Task Flow to ADF jar File.
- Create a Deployer Project to deploy the shared library.
- Add the ADF Jar to the Libraries and Classpath of the Deployer project.
- Create a MANIFEST.MF file in the Deployer Project.
Specify the name of the shared library and the version. - Deploy the Shared Library to the WC_Portal managed server.
- Create an application based on the WebCenter Portal Sever Extension template.
- 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. - Open the PortalSharedLibrary project MANIFEST.MF file and increase the Implementation Version.
- Deploy the PortalSharedLibrary project to the WC_Portal managed server.
- 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 |