eclipse - The tag named passThroughAttribute from namespace http://xmlns.jcp.org/jsf/core has a null handler-class defined -
i trying use jsf 2.2.2 on jboss 7.1.1.final followed solution 1 in link: http://www.mastertheboss.com/jsf/installing-jsf-22-on-jboss-as-7 based on replacing current jboss jsf libraries , after changed faces config. when trying run application getting following exception:
22:28:56,076 severe [javax.enterprise.resource.webcontainer.jsf.config] (msc service thread 1-1) critical error during deployment: : com.sun.faces.config.configurationexception: tag named passthroughattribute namespace http://xmlns.jcp.org/jsf/core has null handler-class defined @ com.sun.faces.config.processor.facelettaglibconfigprocessor.processhandlerclass(facelettaglibconfigprocessor.java:422) [jsf-impl-2.2.2.jar:2.2.2] @ com.sun.faces.config.processor.facelettaglibconfigprocessor.processtags(facelettaglibconfigprocessor.java:378) [jsf-impl-2.2.2.jar:2.2.2] @ com.sun.faces.config.processor.facelettaglibconfigprocessor.processtaglibrary(facelettaglibconfigprocessor.java:321) [jsf-impl-2.2.2.jar:2.2.2] @ com.sun.faces.config.processor.facelettaglibconfigprocessor.process(facelettaglibconfigprocessor.java:270) [jsf-impl-2.2.2.jar:2.2.2] @ com.sun.faces.config.configmanager.initialize(configmanager.java:437) [jsf-impl-2.2.2.jar:2.2.2] @ com.sun.faces.config.configurelistener.contextinitialized(configurelistener.java:214) [jsf-impl-2.2.2.jar:2.2.2] @ org.apache.catalina.core.standardcontext.contextlistenerstart(standardcontext.java:3392) [jbossweb-7.0.13.final.jar:] @ org.apache.catalina.core.standardcontext.start(standardcontext.java:3850) [jbossweb-7.0.13.final.jar:] @ org.jboss.as.web.deployment.webdeploymentservice.start(webdeploymentservice.java:90) [jboss-as-web-7.1.1.final.jar:7.1.1.final] @ org.jboss.msc.service.servicecontrollerimpl$starttask.startservice(servicecontrollerimpl.java:1811) @ org.jboss.msc.service.servicecontrollerimpl$starttask.run(servicecontrollerimpl.java:1746) @ java.util.concurrent.threadpoolexecutor.runworker(unknown source) [rt.jar:1.7.0_25] @ java.util.concurrent.threadpoolexecutor$worker.run(unknown source) [rt.jar:1.7.0_25] @ java.lang.thread.run(unknown source) [rt.jar:1.7.0_25] 22:28:56,080 error [org.apache.catalina.core.containerbase.[jboss.web].[default-host].[/motivosity]] (msc service thread 1-1) exception sending context initialized event listener instance of class com.sun.faces.config.configurelistener: java.lang.runtimeexception: com.sun.faces.config.configurationexception: tag named passthroughattribute namespace http://xmlns.jcp.org/jsf/core has null handler-class defined @ com.sun.faces.config.configurelistener.contextinitialized(configurelistener.java:273) [jsf-impl-2.2.2.jar:2.2.2] @ org.apache.catalina.core.standardcontext.contextlistenerstart(standardcontext.java:3392) [jbossweb-7.0.13.final.jar:] @ org.apache.catalina.core.standardcontext.start(standardcontext.java:3850) [jbossweb-7.0.13.final.jar:] @ org.jboss.as.web.deployment.webdeploymentservice.start(webdeploymentservice.java:90) [jboss-as-web-7.1.1.final.jar:7.1.1.final] @ org.jboss.msc.service.servicecontrollerimpl$starttask.startservice(servicecontrollerimpl.java:1811) @ org.jboss.msc.service.servicecontrollerimpl$starttask.run(servicecontrollerimpl.java:1746) @ java.util.concurrent.threadpoolexecutor.runworker(unknown source) [rt.jar:1.7.0_25] @ java.util.concurrent.threadpoolexecutor$worker.run(unknown source) [rt.jar:1.7.0_25] @ java.lang.thread.run(unknown source) [rt.jar:1.7.0_25] caused by: com.sun.faces.config.configurationexception: tag named passthroughattribute namespace http://xmlns.jcp.org/jsf/core has null handler-class defined @ com.sun.faces.config.processor.facelettaglibconfigprocessor.processhandlerclass(facelettaglibconfigprocessor.java:422) [jsf-impl-2.2.2.jar:2.2.2] @ com.sun.faces.config.processor.facelettaglibconfigprocessor.processtags(facelettaglibconfigprocessor.java:378) [jsf-impl-2.2.2.jar:2.2.2] @ com.sun.faces.config.processor.facelettaglibconfigprocessor.processtaglibrary(facelettaglibconfigprocessor.java:321) [jsf-impl-2.2.2.jar:2.2.2] @ com.sun.faces.config.processor.facelettaglibconfigprocessor.process(facelettaglibconfigprocessor.java:270) [jsf-impl-2.2.2.jar:2.2.2] @ com.sun.faces.config.configmanager.initialize(configmanager.java:437) [jsf-impl-2.2.2.jar:2.2.2] @ com.sun.faces.config.configurelistener.contextinitialized(configurelistener.java:214) [jsf-impl-2.2.2.jar:2.2.2] ... 8 more 22:28:56,087 error [org.apache.catalina.core.standardcontext] (msc service thread 1-1) error listenerstart 22:28:56,088 error [org.apache.catalina.core.standardcontext] (msc service thread 1-1) context [/motivosity] startup failed due previous errors 22:28:56,089 severe [javax.faces] (msc service thread 1-1) application not initialized @ startup, not find factory: javax.faces.application.applicationfactory. attempting find backup. 22:28:56,090 severe [javax.enterprise.resource.webcontainer.jsf.config] (msc service thread 1-1) unexpected exception when attempting tear down mojarra runtime: java.lang.illegalstateexception: not find backup factory javax.faces.application.applicationfactory. @ javax.faces.factoryfinder$factorymanager.getfactory(factoryfinder.java:1135) [jsf-api-2.2.2.jar:2.2] @ javax.faces.factoryfinder.getfactory(factoryfinder.java:379) [jsf-api-2.2.2.jar:2.2] @ com.sun.faces.config.initfacescontext.getapplication(initfacescontext.java:140) [jsf-impl-2.2.2.jar:2.2.2] @ com.sun.faces.config.configurelistener.contextdestroyed(configurelistener.java:310) [jsf-impl-2.2.2.jar:2.2.2] @ org.apache.catalina.core.standardcontext.listenerstop(standardcontext.java:3489) [jbossweb-7.0.13.final.jar:] @ org.apache.catalina.core.standardcontext.stop(standardcontext.java:3999) [jbossweb-7.0.13.final.jar:] @ org.apache.catalina.core.standardcontext.start(standardcontext.java:3917) [jbossweb-7.0.13.final.jar:] @ org.jboss.as.web.deployment.webdeploymentservice.start(webdeploymentservice.java:90) [jboss-as-web-7.1.1.final.jar:7.1.1.final] @ org.jboss.msc.service.servicecontrollerimpl$starttask.startservice(servicecontrollerimpl.java:1811) @ org.jboss.msc.service.servicecontrollerimpl$starttask.run(servicecontrollerimpl.java:1746) @ java.util.concurrent.threadpoolexecutor.runworker(unknown source) [rt.jar:1.7.0_25] @ java.util.concurrent.threadpoolexecutor$worker.run(unknown source) [rt.jar:1.7.0_25] @ java.lang.thread.run(unknown source) [rt.jar:1.7.0_25] 22:28:56,095 info [org.apache.catalina.core.containerbase.[jboss.web].[default-host].[/motivosity]] (msc service thread 1-1) cleaning shiro environment 22:28:56,099 error [org.jboss.msc.service.fail] (msc service thread 1-1) msc00001: failed start service jboss.web.deployment.default-host./motivosity: org.jboss.msc.service.startexception in service jboss.web.deployment.default-host./motivosity: jbas018040: failed start context @ org.jboss.as.web.deployment.webdeploymentservice.start(webdeploymentservice.java:95) @ org.jboss.msc.service.servicecontrollerimpl$starttask.startservice(servicecontrollerimpl.java:1811) [jboss-msc-1.0.2.ga.jar:1.0.2.ga] @ org.jboss.msc.service.servicecontrollerimpl$starttask.run(servicecontrollerimpl.java:1746) [jboss-msc-1.0.2.ga.jar:1.0.2.ga] @ java.util.concurrent.threadpoolexecutor.runworker(unknown source) [rt.jar:1.7.0_25] @ java.util.concurrent.threadpoolexecutor$worker.run(unknown source) [rt.jar:1.7.0_25] @ java.lang.thread.run(unknown source) [rt.jar:1.7.0_25]
i removed configuration jsf in project facets , still same error, please advise how can fix that.
update: found out issue in eclipse deploy jboss, since tried install application maven , copied war deployments folder , launched standalone.bat file , application started no errors.
in eclipse, go project properties -> project facets -> java server faces, , set type library provided target runtime.
Comments
Post a Comment