Demo war on JBoss Wildfly null handler?

noxid
Posts: 39
Joined: 19 Dec 2013, 10:24

03 Mar 2015, 08:29

Hello,

our company just bought the sentinel theme (layout + theme) since it looks awesome. I tried to deploy the demo war file included in the download, but this doesn't work.
This is the stacktrace:

Code: Select all

07:25:57,513 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-9) 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:422) [jsf-impl-2.2.6-jbossorg-4.jar:]
	at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.processTags(FaceletTaglibConfigProcessor.java:378) [jsf-impl-2.2.6-jbossorg-4.jar:]
	at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.processTagLibrary(FaceletTaglibConfigProcessor.java:321) [jsf-impl-2.2.6-jbossorg-4.jar:]
	at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.process(FaceletTaglibConfigProcessor.java:270) [jsf-impl-2.2.6-jbossorg-4.jar:]
	at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:437) [jsf-impl-2.2.6-jbossorg-4.jar:]
	at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:216) [jsf-impl-2.2.6-jbossorg-4.jar:]
	at io.undertow.servlet.core.ApplicationListeners.contextInitialized(ApplicationListeners.java:173) [undertow-servlet-1.0.15.Final.jar:1.0.15.Final]
	at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:190) [undertow-servlet-1.0.15.Final.jar:1.0.15.Final]
	at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:87)
	at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.start(UndertowDeploymentService.java:72)
	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_45]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_45]
	at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]

07:25:57,515 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-9) MSC000001: Failed to start service jboss.undertow.deployment.default-server.default-host."/sentinel-1.0": org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host."/sentinel-1.0": Failed to start service
	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1904) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_45]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_45]
	at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]
Caused by: java.lang.RuntimeException: 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 io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:219)
	at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:87)
	at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.start(UndertowDeploymentService.java:72)
	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
	... 3 more
Caused by: 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:275)
	at io.undertow.servlet.core.ApplicationListeners.contextInitialized(ApplicationListeners.java:173)
	at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:190)
	... 7 more
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:422)
	at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.processTags(FaceletTaglibConfigProcessor.java:378)
	at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.processTagLibrary(FaceletTaglibConfigProcessor.java:321)
	at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.process(FaceletTaglibConfigProcessor.java:270)
	at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:437)
	at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:216)
	... 9 more

07:25:57,524 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 1) JBAS014613: Operation ("deploy") failed - address: ([("deployment" => "sentinel-1.0.war")]) - failure description: {"JBAS014671: Failed services" => {"jboss.undertow.deployment.default-server.default-host.\"/sentinel-1.0\"" => "org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host.\"/sentinel-1.0\": Failed to start service
    Caused by: java.lang.RuntimeException: 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
    Caused by: 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
    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"}}
07:25:57,565 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 1) JBAS018559: Deployed "sentinel-1.0.war" (runtime-name : "sentinel-1.0.war")
We run on JBoss wildfly 8.1. Do you know what's wrong here?

thanks!
PrimeFaces 5.0.9 | JSF Mojorra 2.2 | JBoss Wildfly

cagatay.civici
Prime
Posts: 18053
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

03 Mar 2015, 09:29

Please remove jsf jar from the war and the mojarra listener from Web.xml.

noxid
Posts: 39
Joined: 19 Dec 2013, 10:24

03 Mar 2015, 10:44

Hi Optimus,
I have removed the

Code: Select all

 <listener>
        <listener-class>com.sun.faces.config.ConfigureListener</listener-class>
    </listener>
from the web.xml and the

Code: Select all

javax.faces-2.2.8.jar
from the WEB-INF/lib.

It now deploys without any error, but I still can't access the page by

Code: Select all

 http://localhost:8080/sentinel/
. It says forbidden.
PrimeFaces 5.0.9 | JSF Mojorra 2.2 | JBoss Wildfly

zillasaur
Posts: 8
Joined: 04 Mar 2015, 11:08

04 Mar 2015, 12:26

Hi noxid.
Try http://localhost:8080/sentinel-1.0/
It works well on my wildfly 8.2

noxid
Posts: 39
Joined: 19 Dec 2013, 10:24

04 Mar 2015, 15:05

Hi zillasaur,

thanks for your reply. Could you describe to me what you did with the war to get it running on jboss8.x? I still get the "Forbidden" message when trying to access the page. Maybe you could upload your war file anywhere for me to try it out?

thanks!
PrimeFaces 5.0.9 | JSF Mojorra 2.2 | JBoss Wildfly

zillasaur
Posts: 8
Joined: 04 Mar 2015, 11:08

04 Mar 2015, 16:04

Hi noxid.
I just performed two steps according to optimus recomendations: removing /WEB-INF/lib/javax.faces-2.2.8.jar from war and <listener> section from web.xml
Nothing more.
Examine your server log files, maybe the problem is in wildfly itself or in wildfly's settings.xml. Try to run edited war file on local fresh wildfly installation.
I'v tested, sentinel works well with both 8.2 (win/linux) and 8.1(win) wildfly for me.

noxid
Posts: 39
Joined: 19 Dec 2013, 10:24

04 Mar 2015, 17:18

Hello,

I just downloaded a brand new wildfly 8.2 installation. I did edit the war file as written in this topic, but I still got the "Forbidden" error. I really don't have a clue what's wrong here :(
PrimeFaces 5.0.9 | JSF Mojorra 2.2 | JBoss Wildfly

cagatay.civici
Prime
Posts: 18053
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

04 Mar 2015, 23:17

I must say my wildfly experience is limited, have you tried wildfly support forum? Maybe it is an issue with file permissions?

soublade
Posts: 4
Joined: 07 May 2014, 02:09

05 Mar 2015, 13:55

I am having de same problem with the forbidden error.

Someone already fix this?

noxid
Posts: 39
Joined: 19 Dec 2013, 10:24

06 Mar 2015, 07:49

I got it working now. The problem was the war file. After removing the jar and the listener, my war structure was the following: sentinel0.1.war->sentinel0.1->WEB-INF|resources|... . The second sentinel0.1 layer is invalid, therefore you get the Forbidden error. Just open your war and inspect your folder structure. Hope this helps!
PrimeFaces 5.0.9 | JSF Mojorra 2.2 | JBoss Wildfly

Locked

Return to “Sentinel”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 0 guests