Wildfly 18 and running the example war

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
tony.herstell
Posts: 214
Joined: 29 Nov 2011, 00:40

13 Jun 2020, 03:46

I have just tried to run the new atlantis-2.0.1 in wildfly18

Usually you hack the example war and remove the file jaxax.faces-2.2.8.jar and then the war will run up.

With atalntis-2.0.1 there are now a heaps of files in lib...

/atlantis-2.0.1/WebRoot/WEB-INF/lib/classmate-0.8.0.jar
/atlantis-2.0.1/WebRoot/WEB-INF/lib/geronimo-annotation_1.3_spec-1.0.jar
/atlantis-2.0.1/WebRoot/WEB-INF/lib/geronimo-atinject_1.0_spec-1.0.jar
/atlantis-2.0.1/WebRoot/WEB-INF/lib/geronimo-interceptor_1.2_spec-1.0.jar
/atlantis-2.0.1/WebRoot/WEB-INF/lib/geronimo-jcdi_2.0_spec-1.1.jar
/atlantis-2.0.1/WebRoot/WEB-INF/lib/hibernate-validator-5.0.1.Final.jar
/atlantis-2.0.1/WebRoot/WEB-INF/lib/jakarta.faces-2.3.13.jar
/atlantis-2.0.1/WebRoot/WEB-INF/lib/jboss-logging-3.1.1.GA.jar
/atlantis-2.0.1/WebRoot/WEB-INF/lib/openwebbeans-el22-2.0.12.jar
/atlantis-2.0.1/WebRoot/WEB-INF/lib/openwebbeans-impl-2.0.12.jar
/atlantis-2.0.1/WebRoot/WEB-INF/lib/openwebbeans-jsf-2.0.12.jar
/atlantis-2.0.1/WebRoot/WEB-INF/lib/openwebbeans-spi-2.0.12.jar
/atlantis-2.0.1/WebRoot/WEB-INF/lib/openwebbeans-web-2.0.12.jar
/atlantis-2.0.1/WebRoot/WEB-INF/lib/primefaces-8.0.jar
/atlantis-2.0.1/WebRoot/WEB-INF/lib/validation-api-1.1.0.Final.jar
/atlantis-2.0.1/WebRoot/WEB-INF/lib/xbean-asm7-shaded-4.13.jar
/atlantis-2.0.1/WebRoot/WEB-INF/lib/xbean-finder-shaded-4.13.jar

Please advise how we get the example war to run on wildfly 18+

Thx
PF12+, Quarkus 3.2+ (CDI, JPA etc.), JSF Bridge (MyFaces 4.0.1)
Dont forget the classifier:

Code: Select all

   ...primefaces
  <classifier>jakarta</classifier>
     ... theme
  <classifier>jakarta</classifier>

Melloware
Posts: 3716
Joined: 22 Apr 2013, 15:48

13 Jun 2020, 14:45

I would personally remove all the libs except for PrimeFaces and see if it starts. WildFly already has everything you should need to start up.

All of those libs are for CDI, Faces, Bean Validation etc which Wildfly already has and will classload.
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1

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

13 Jun 2020, 23:48

I tried that to no avail.
Ill post a stacktrace later.
PF12+, Quarkus 3.2+ (CDI, JPA etc.), JSF Bridge (MyFaces 4.0.1)
Dont forget the classifier:

Code: Select all

   ...primefaces
  <classifier>jakarta</classifier>
     ... theme
  <classifier>jakarta</classifier>

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

13 Jun 2020, 23:55

G ot it.
Remove all the jars in WEB-INF/ib apart from primefaces-8.0.jar
ALSO in web.xml comment out

Code: Select all

<!--     <listener> -->
<!--         <listener-class>org.apache.webbeans.servlet.WebBeansConfigurationListener</listener-class> -->
<!--     </listener> -->
PF12+, Quarkus 3.2+ (CDI, JPA etc.), JSF Bridge (MyFaces 4.0.1)
Dont forget the classifier:

Code: Select all

   ...primefaces
  <classifier>jakarta</classifier>
     ... theme
  <classifier>jakarta</classifier>

Melloware
Posts: 3716
Joined: 22 Apr 2013, 15:48

14 Jun 2020, 13:13

Nice work!
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1

Post Reply

Return to “Atlantis - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests