Demo war on JBoss Wildfly null handler?

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

06 Mar 2015, 11:53

So this needs to be fixed on our side in 1.0.1 distribution next week, thank you for the tip.

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

10 Mar 2015, 14:40

i am still with the same problem forbidden.

My war structure after i extract the file, remove jar file and the listener is sentinel1.0.war ->sentinel1.0 -> xhtml files,web-inf,resources,meta-inc

what you did with this second layer sentinel1.0 ? Deleted?

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

10 Mar 2015, 16:22

1.1 is released, please try with it.

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

10 Mar 2015, 18:24

Version 1.1 of sentinel-demo-1.1.war:

It still needs to remove /WEB-INF/lib/javax.faces-2.2.8.jar because of the same deployment error on wildfly 8.2
No more need to remove com.sun.faces.config.ConfigureListener from web.xml

nilo_gabriel
Posts: 3
Joined: 10 Mar 2015, 18:51

11 Mar 2015, 14:04

Hi,

I'm tryng to run on jboss-as-7.1.1, I just removed the jsf lib from web inf insed war sentinel-demo-1.1.war, when I acess the aplication: localhost:8080/sentinel-demo-1.1/ the log shows this error:

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: Setter not found for property class
javax.faces.webapp.FacesServlet.service(FacesServlet.java:606)
root cause

java.lang.IllegalArgumentException: Setter not found for property class
javax.faces.component.UIComponentBase$AttributesMap.put(UIComponentBase.java:2403)
javax.faces.component.UIComponentBase$AttributesMap.put(UIComponentBase.java:2283)
com.sun.faces.facelets.tag.jsf.ComponentRule$LiteralAttributeMetadata.applyMetadata(ComponentRule.java:87)
com.sun.faces.facel

Other pages can be acessible like localhost:8080/sentinel-demo-1.1/login.jsf

Can anyone help me?

tony.herstell
Posts: 132
Joined: 29 Nov 2011, 00:40

12 Mar 2015, 08:50

Wildfly (The most popular application server; so it was bound to be tested on this right...)

Anyhow...

I copied just the sentinel-demo-1.1.war into the standalone area (this is the war INSIDE the .zip!).
rename sentinel-demo-1.1.war to add .zip
Open and go down until you find the lib folder
delete the faces lib
rename sentinel-demo-1.1.war to remove .zip

I get the demo working...

(dont forget to add the .dodeploy to your startup folder for WildFly)
sentinel-demo-1.1.war.dodeploy
JEE 8 (CDI, JPA etc.) (No Spring)
Target JBoss Wildfly 18+

craig.bensemann
Posts: 3
Joined: 12 Mar 2015, 09:06

12 Mar 2015, 09:09

FYI The jsf jar can be removed with the following command:

Code: Select all

zip -d sentinel-demo-1.1.war WEB-INF/lib/javax.faces-2.2.8.jar

gkowalski
Posts: 4
Joined: 03 May 2013, 17:01

16 Mar 2015, 16:15

I had the same experience ( Error ) with Glassfish 4.0.X . It needed the javax.faces-2.2.8.jar removed to run. I then tried running the original sentinel-demo-1.1.war on : GlassFish Server Open Source Edition 4.1 (build 13) and it works with no issues .
PrimeFaces 5.1.12 | Sentinel 1.1 | Glassfish 4.1

bienemann
Posts: 12
Joined: 13 Mar 2015, 14:41

18 Mar 2015, 15:26

I am using the maven, I remove the dependency javax.faces-2.2.8 and add:

<dependency>
<groupId>org.jboss.spec.javax.faces</groupId>
<artifactId>jboss-jsf-api-_2.2_spec</artifactId>
<version>2.2.6</version>
<scope>provided</scope>
</dependency>

using the scope provided the dependency do not be in the war package.

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

20 Mar 2015, 16:05

Please note that, we'll still keep the jar in future war files since it is required for servlet containers like tomcat.

Instead we'll add the maven project tag as an addition to the war.

Locked

Return to “Sentinel”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest