2 Replies Latest reply on May 13, 2017 8:11 AM by Jagadeesh J

    JSF 1.2 + jboss seam + Jboss EAP 7.0.0 issue

    Ranga Thanikanti Newbie

      Hi,

       

      I want to migrate JSF 1.2 + jboss seam 2.2.0 GA application to Jboss EAP 7.0.0.

       

      I used https://access.redhat.com/solutions/793963  Multi-JSF feature in EAP 7 to solve JSF 1.2 problem

      I am seeing below error below error with  jboss seam 2.2.0 GA

       

      12:45:27,535 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 67) MSC000001: Failed to start service jboss.undertow.deployment.default-server.default-host./Twist: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./Twist: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! org.jboss.seam.jsf.SeamApplicationFactory.<init>()

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

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

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

        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

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

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

      Caused by: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! org.jboss.seam.jsf.SeamApplicationFactory.<init>()

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

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

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

        ... 6 more

      Caused by: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! org.jboss.seam.jsf.SeamApplicationFactory.<init>()

        at com.sun.faces.config.ConfigManager.initialize(Unknown Source)

        at com.sun.faces.config.ConfigureListener.contextInitialized(Unknown Source)

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

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

        ... 8 more

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

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

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

        at javax.faces.FactoryFinder.getImplGivenPreviousImpl(Unknown Source)

        at javax.faces.FactoryFinder.getImplementationInstance(Unknown Source)

        at javax.faces.FactoryFinder.access$400(Unknown Source)

        at javax.faces.FactoryFinder$FactoryManager.getFactory(Unknown Source)

        at javax.faces.FactoryFinder.getFactory(Unknown Source)

        at com.sun.faces.config.processor.FactoryConfigProcessor.verifyFactoriesExist(Unknown Source)

        at com.sun.faces.config.processor.FactoryConfigProcessor.process(Unknown Source)

        ... 12 more

       

      Thanks

      Ranga