Fabian Riako [
https://community.jboss.org/people/fjkjava] created the discussion
"Javax.faces.application.ApplicationFactory was not configured properly"
To view the discussion, visit:
https://community.jboss.org/message/751366#751366
--------------------------------------------------------------
Hi All,
I am trying to migrate a seam 2.0 application to 2.3 on JBoss AS 7. When I am deploying
the application I am getting this error. I have no idea, can somebody give me some
suggetions.
17:08:02,729 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (MSC service
thread 1-1) Critical error during deployment: :
com.sun.faces.config.ConfigurationException: Factory
'javax.faces.application.ApplicationFactory' was not configured properly.
at
com.sun.faces.config.processor.FactoryConfigProcessor.verifyFactoriesExist(FactoryConfigProcessor.java:305)
[jsf-impl-2.1.7-redhat-1.jar:2.1.7-redhat-1]
at
com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:219)
[jsf-impl-2.1.7-redhat-1.jar:2.1.7-redhat-1]
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:361)
[jsf-impl-2.1.7-redhat-1.jar:2.1.7-redhat-1]
at
com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:225)
[jsf-impl-2.1.7-redhat-1.jar:2.1.7-redhat-1]
at
org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)
[jbossweb-7.0.16.Final-redhat-1.jar:]
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)
[jbossweb-7.0.16.Final-redhat-1.jar:]
at
org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)
[jboss-as-web-7.1.2.Final-redhat-1.jar:7.1.2.Final-redhat-1]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[rt.jar:1.6.0_20]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[rt.jar:1.6.0_20]
at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_20]
Caused by: javax.faces.FacesException: org.jboss.seam.jsf.SeamApplicationFactory
at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:643)
[jboss-jsf-api_2.1_spec-2.0.2.Final-redhat-1.jar:2.0.2.Final-redhat-1]
at javax.faces.FactoryFinder.getImplementationInstance(FactoryFinder.java:509)
[jboss-jsf-api_2.1_spec-2.0.2.Final-redhat-1.jar:2.0.2.Final-redhat-1]
at javax.faces.FactoryFinder.access$400(FactoryFinder.java:139)
[jboss-jsf-api_2.1_spec-2.0.2.Final-redhat-1.jar:2.0.2.Final-redhat-1]
at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:993)
[jboss-jsf-api_2.1_spec-2.0.2.Final-redhat-1.jar:2.0.2.Final-redhat-1]
at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:343)
[jboss-jsf-api_2.1_spec-2.0.2.Final-redhat-1.jar:2.0.2.Final-redhat-1]
at
com.sun.faces.config.processor.FactoryConfigProcessor.verifyFactoriesExist(FactoryConfigProcessor.java:303)
[jsf-impl-2.1.7-redhat-1.jar:2.1.7-redhat-1]
... 11 more
Caused by: java.lang.InstantiationException: org.jboss.seam.jsf.SeamApplicationFactory
at java.lang.Class.newInstance0(Class.java:340) [rt.jar:1.6.0_20]
at java.lang.Class.newInstance(Class.java:308) [rt.jar:1.6.0_20]
at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:641)
[jboss-jsf-api_2.1_spec-2.0.2.Final-redhat-1.jar:2.0.2.Final-redhat-1]
... 16 more
17:08:02,729 ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/workschain]] (MSC
service thread 1-1) Exception sending context initialized event to listener instance of
class com.sun.faces.config.ConfigureListener: java.lang.RuntimeException:
com.sun.faces.config.ConfigurationException: Factory
'javax.faces.application.ApplicationFactory' was not configured properly.
at
com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:292)
[jsf-impl-2.1.7-redhat-1.jar:2.1.7-redhat-1]
at
org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)
[jbossweb-7.0.16.Final-redhat-1.jar:]
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)
[jbossweb-7.0.16.Final-redhat-1.jar:]
at
org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)
[jboss-as-web-7.1.2.Final-redhat-1.jar:7.1.2.Final-redhat-1]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[rt.jar:1.6.0_20]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[rt.jar:1.6.0_20]
at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_20]
Caused by: com.sun.faces.config.ConfigurationException: Factory
'javax.faces.application.ApplicationFactory' was not configured properly.
at
com.sun.faces.config.processor.FactoryConfigProcessor.verifyFactoriesExist(FactoryConfigProcessor.java:305)
[jsf-impl-2.1.7-redhat-1.jar:2.1.7-redhat-1]
at
com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:219)
[jsf-impl-2.1.7-redhat-1.jar:2.1.7-redhat-1]
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:361)
[jsf-impl-2.1.7-redhat-1.jar:2.1.7-redhat-1]
at
com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:225)
[jsf-impl-2.1.7-redhat-1.jar:2.1.7-redhat-1]
... 8 more
Caused by: javax.faces.FacesException: org.jboss.seam.jsf.SeamApplicationFactory
at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:643)
[jboss-jsf-api_2.1_spec-2.0.2.Final-redhat-1.jar:2.0.2.Final-redhat-1]
at javax.faces.FactoryFinder.getImplementationInstance(FactoryFinder.java:509)
[jboss-jsf-api_2.1_spec-2.0.2.Final-redhat-1.jar:2.0.2.Final-redhat-1]
at javax.faces.FactoryFinder.access$400(FactoryFinder.java:139)
[jboss-jsf-api_2.1_spec-2.0.2.Final-redhat-1.jar:2.0.2.Final-redhat-1]
at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:993)
[jboss-jsf-api_2.1_spec-2.0.2.Final-redhat-1.jar:2.0.2.Final-redhat-1]
at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:343)
[jboss-jsf-api_2.1_spec-2.0.2.Final-redhat-1.jar:2.0.2.Final-redhat-1]
at
com.sun.faces.config.processor.FactoryConfigProcessor.verifyFactoriesExist(FactoryConfigProcessor.java:303)
[jsf-impl-2.1.7-redhat-1.jar:2.1.7-redhat-1]
... 11 more
Caused by: java.lang.InstantiationException: org.jboss.seam.jsf.SeamApplicationFactory
at java.lang.Class.newInstance0(Class.java:340) [rt.jar:1.6.0_20]
at java.lang.Class.newInstance(Class.java:308) [rt.jar:1.6.0_20]
at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:641)
[jboss-jsf-api_2.1_spec-2.0.2.Final-redhat-1.jar:2.0.2.Final-redhat-1]
... 16 more
Thanks
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/751366#751366]
Start a new discussion in JBoss AS Development Deployment Framework at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]