Demo war on JBoss Wildfly null handler?
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
So this needs to be fixed on our side in 1.0.1 distribution next week, thank you for the tip.
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?
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?
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
1.1 is released, please try with it.
-
- Posts: 3
- Joined: 10 Mar 2015, 18:51
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?
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?
-
- Posts: 214
- Joined: 29 Nov 2011, 00:40
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
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
PF12+, Quarkus 3.2+ (CDI, JPA etc.), JSF Bridge (MyFaces 4.0.1)
Dont forget the classifier:
Dont forget the classifier:
Code: Select all
...primefaces
<classifier>jakarta</classifier>
... theme
<classifier>jakarta</classifier>
-
- Posts: 3
- Joined: 12 Mar 2015, 09:06
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
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
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.
<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.
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
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.
Instead we'll add the maven project tag as an addition to the war.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 12 guests