0 Replies Latest reply on Feb 4, 2020 12:28 AM by mohan1

    Critical error during deployment: : com.sun.faces.config.ConfigurationException: Factory 'javax.faces.application.ApplicationFactory' was not configured properly.

    mohan1

      Hello .,

          

             I  am updating jboss EAP 7.1 to Jboss EAP 7.2. when i run the sever getting below errors. I tried lot of ways but still i didnt get any solutions. please help me to solve this. This would be highly appreciable.

             versions - jboss eap 7.2 , seam 2.3 , jsf 2.0 , hibernate , primefaces - 5.0 , java 1.8

       

      10:00:35,372 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool -- 80) 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)

          at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:219)

          at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:361)

          at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:225)

          at io.undertow.servlet.core.ApplicationListeners.contextInitialized(ApplicationListeners.java:187)

          at io.undertow.servlet.core.DeploymentManagerImpl$1.call(DeploymentManagerImpl.java:216)

          at io.undertow.servlet.core.DeploymentManagerImpl$1.call(DeploymentManagerImpl.java:185)

          at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:42)

          at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)

          at org.wildfly.extension.undertow.security.SecurityContextThreadSetupAction.lambda$create$0(SecurityContextThreadSetupAction.java:105)

          at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)

          at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)

          at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)

          at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)

          at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)

          at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:250)

          at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:96)

          at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:78)

          at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

          at java.util.concurrent.FutureTask.run(Unknown Source)

          at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)

          at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)

          at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)

          at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378)

          at java.lang.Thread.run(Unknown Source)

          at org.jboss.threads.JBossThread.run(JBossThread.java:485)

      Caused by: javax.faces.FacesException: org.jboss.seam.jsf.SeamApplicationFactory

          at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:616)

          at javax.faces.FactoryFinder.getImplementationInstance(FactoryFinder.java:482)

          at javax.faces.FactoryFinder.access$400(FactoryFinder.java:138)

          at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:989)

          at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:316)

          at com.sun.faces.config.processor.FactoryConfigProcessor.verifyFactoriesExist(FactoryConfigProcessor.java:303)

          ... 25 more

      Caused by: java.lang.InstantiationException: org.jboss.seam.jsf.SeamApplicationFactory

          at java.lang.Class.newInstance(Unknown Source)

          at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:614)

          ... 30 more

      Caused by: java.lang.NoSuchMethodException: org.jboss.seam.jsf.SeamApplicationFactory.<init>()

          at java.lang.Class.getConstructor0(Unknown Source)

          ... 32 more

       

      10:00:35,372 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 80) MSC000001: Failed to start service jboss.deployment.subunit."BML-ear.ear"."BML.war".undertow-deployment: org.jboss.msc.service.StartException in service jboss.deployment.subunit."BML-ear.ear"."BML.war".undertow-deployment: java.lang.RuntimeException: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: Factory 'javax.faces.application.ApplicationFactory' was not configured properly.

          at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:81)

          at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

          at java.util.concurrent.FutureTask.run(Unknown Source)

          at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)

          at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)

          at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)

          at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378)

          at java.lang.Thread.run(Unknown Source)

          at org.jboss.threads.JBossThread.run(JBossThread.java:485)

      Caused by: java.lang.RuntimeException: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: Factory 'javax.faces.application.ApplicationFactory' was not configured properly.

          at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:252)

          at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:96)

          at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:78)

          ... 8 more

      Caused by: 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)

          at io.undertow.servlet.core.ApplicationListeners.contextInitialized(ApplicationListeners.java:187)

          at io.undertow.servlet.core.DeploymentManagerImpl$1.call(DeploymentManagerImpl.java:216)

          at io.undertow.servlet.core.DeploymentManagerImpl$1.call(DeploymentManagerImpl.java:185)

          at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:42)

          at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)

          at org.wildfly.extension.undertow.security.SecurityContextThreadSetupAction.lambda$create$0(SecurityContextThreadSetupAction.java:105)

          at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)

          at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)

          at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)

          at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)

          at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)

          at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:250)

          ... 10 more

      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)

          at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:219)

          at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:361)

          at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:225)

          ... 22 more

      Caused by: javax.faces.FacesException: org.jboss.seam.jsf.SeamApplicationFactory

          at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:616)

          at javax.faces.FactoryFinder.getImplementationInstance(FactoryFinder.java:482)

          at javax.faces.FactoryFinder.access$400(FactoryFinder.java:138)

          at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:989)

          at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:316)

          at com.sun.faces.config.processor.FactoryConfigProcessor.verifyFactoriesExist(FactoryConfigProcessor.java:303)

          ... 25 more

      Caused by: java.lang.InstantiationException: org.jboss.seam.jsf.SeamApplicationFactory

          at java.lang.Class.newInstance(Unknown Source)

          at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:614)

          ... 30 more

      Caused by: java.lang.NoSuchMethodException: org.jboss.seam.jsf.SeamApplicationFactory.<init>()

          at java.lang.Class.getConstructor0(Unknown Source)

          ... 32 more

       

      10:00:35,372 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "BML-ear.ear")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.subunit.\"BML-ear.ear\".\"BML.war\".undertow-deployment" => "java.lang.RuntimeException: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: Factory 'javax.faces.application.ApplicationFactory' was not configured properly.

          Caused by: java.lang.RuntimeException: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: Factory 'javax.faces.application.ApplicationFactory' was not configured properly.

          Caused by: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: Factory 'javax.faces.application.ApplicationFactory' was not configured properly.

          Caused by: com.sun.faces.config.ConfigurationException: Factory 'javax.faces.application.ApplicationFactory' was not configured properly.

          Caused by: javax.faces.FacesException: org.jboss.seam.jsf.SeamApplicationFactory

          Caused by: java.lang.InstantiationException: org.jboss.seam.jsf.SeamApplicationFactory

          Caused by: java.lang.NoSuchMethodException: org.jboss.seam.jsf.SeamApplicationFactory.<init>()"}}