2 Replies Latest reply on Oct 7, 2014 12:18 PM by erico mtx

    error deploying showcase 5.0 war file in a JBoss 6.0.1 EAP

    erico mtx Newbie

      Hello

       

      Please I need to run showcase-5.0 locally in a JBoss 6.0.1 EAP

       

      I have searched in google for a few days but I am not being able to fix it

       

      one option would be to remove JSF impl from JBoss , how could I do that ?

       

      a second option would be to change showcase settings to force JBoss to override JSF impl for the app one

       

      I must use this Jboss version, so I can´t upgrade to JBoss 7.x

       

      I am getting the following errors on the deployment :

       

      08:01:56,379 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool -- 51)

      Critical error during deployment: : com.sun.faces.config.ConfigurationException:

      The tag named passThroughAttribute from namespace http://xmlns.jcp.org/jsf/core has a null handler-class defined

          at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.processHandlerClass(FaceletTaglibConfigProcessor.java:415) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]

          at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.processTags(FaceletTaglibConfigProcessor.java:371) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]

          at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.processTagLibrary(FaceletTaglibConfigProcessor.java:314) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]

          at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.process(FaceletTaglibConfigProcessor.java:263) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]

          at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:363) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]

          at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:216) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]

          at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3339) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]

          at org.apache.catalina.core.StandardContext.start(StandardContext.java:3777) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]

          at org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:156) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]

          at org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:60) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]

          at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:93) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]

          at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439) [rt.jar:1.6.0_38]

          at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [rt.jar:1.6.0_38]

          at java.util.concurrent.FutureTask.run(FutureTask.java:138) [rt.jar:1.6.0_38]

          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_38]

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_38]

          at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_38]

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

       

      =======================================================================================================================================

       

      08:01:56,454 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/showcase-5.0]] (ServerService Thread Pool -- 51)

      JBWEB000287: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener: java.lang.RuntimeException:

      com.sun.faces.config.ConfigurationException: The tag named passThroughAttribute from namespace http://xmlns.jcp.org/jsf/core has a null handler-class defined

          at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:276) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]

          at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3339) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]

          at org.apache.catalina.core.StandardContext.start(StandardContext.java:3777) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]

          at org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:156) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]

          at org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:60) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]

          at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:93) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]

          at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439) [rt.jar:1.6.0_38]

          at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [rt.jar:1.6.0_38]

          at java.util.concurrent.FutureTask.run(FutureTask.java:138) [rt.jar:1.6.0_38]

          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_38]

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_38]

          at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_38]

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

      Caused by: com.sun.faces.config.ConfigurationException: The tag named passThroughAttribute from namespace http://xmlns.jcp.org/jsf/core has a null handler-class defined

          at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.processHandlerClass(FaceletTaglibConfigProcessor.java:415) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]

          at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.processTags(FaceletTaglibConfigProcessor.java:371) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]

          at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.processTagLibrary(FaceletTaglibConfigProcessor.java:314) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]

          at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.process(FaceletTaglibConfigProcessor.java:263) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]

          at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:363) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]

          at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:216) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]

          ... 12 more

       

       

      =======================================================================================================================================

       

      08:01:56,458 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool -- 51)

      Unexpected exception when attempting to tear down the Mojarra runtime: java.lang.IllegalStateException:

      Could not find backup for factory javax.faces.application.ApplicationFactory.

          at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:1010) [jboss-jsf-api_2.1_spec-2.1.19.1.Final-redhat-1.jar:2.1.19.1.Final-redhat-1]

          at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:342) [jboss-jsf-api_2.1_spec-2.1.19.1.Final-redhat-1.jar:2.1.19.1.Final-redhat-1]

          at com.sun.faces.config.InitFacesContext.getApplication(InitFacesContext.java:141) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]

          at com.sun.faces.config.ConfigureListener.contextDestroyed(ConfigureListener.java:314) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]

          at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3427) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]

          at org.apache.catalina.core.StandardContext.stop(StandardContext.java:3920) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]

          at org.apache.catalina.core.StandardContext.start(StandardContext.java:3839) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]

          at org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:156) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]

          at org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:60) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]

          at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:93) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]

          at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439) [rt.jar:1.6.0_38]

          at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [rt.jar:1.6.0_38]

          at java.util.concurrent.FutureTask.run(FutureTask.java:138) [rt.jar:1.6.0_38]

          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_38]

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_38]

          at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_38]

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

       

      08:01:56,461 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 51) MSC000001:

      Failed to start service jboss.web.deployment.default-host."/showcase-5.0": org.jboss.msc.service.StartException in service jboss.web.deployment.default-host."/showcase-5.0":

      org.jboss.msc.service.StartException in anonymous service: JBAS018040: Falha ao iniciar o contexto

          at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:96)

          at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439) [rt.jar:1.6.0_38]

          at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [rt.jar:1.6.0_38]

          at java.util.concurrent.FutureTask.run(FutureTask.java:138) [rt.jar:1.6.0_38]

          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_38]

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_38]

          at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_38]

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

      Caused by: org.jboss.msc.service.StartException in anonymous service: JBAS018040: Falha ao iniciar o contexto

          at org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:161)

          at org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:60)

          at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:93)

          ... 7 more