My application is deployed with PF 12.0.2, but I can't get a simple 'GraphicImage' to run
Build PF "Showcase
13.0.0-SNAPSHOT" (which I assume fixed it):
Code: Select all
git clone https://github.com/primefaces/primefaces.git
cd primefaces
mvn clean package -Pnon-ee,mojarra-2.3
...
[INFO] Replacing original artifact with shaded artifact.
[INFO] Replacing /Users/NOTiFY/IdeaProjects/primefaces/primefaces-cli/target/primefaces-cli-13.0.0-SNAPSHOT.jar with /Users/NOTiFY/IdeaProjects/primefaces/primefaces-cli/target/primefaces-cli-13.0.0-SNAPSHOT-shaded.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for PrimeFaces Parent 13.0.0-SNAPSHOT:
[INFO]
[INFO] PrimeFaces Parent .................................. SUCCESS [ 1.358 s]
[INFO] PrimeFaces ......................................... SUCCESS [01:06 min]
[INFO] PrimeFaces Showcase ................................ SUCCESS [ 15.106 s]
[INFO] PrimeFaces Selenium ................................ SUCCESS [ 0.062 s]
[INFO] PrimeFaces Selenium - Core ......................... SUCCESS [ 4.258 s]
[INFO] PrimeFaces Selenium - Components ................... SUCCESS [ 3.974 s]
[INFO] PrimeFaces Integration Tests ....................... SUCCESS [ 11.872 s]
[INFO] PrimeFaces CLI ..................................... SUCCESS [ 2.503 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
Won't deploy "primefaces-showcase-13.0.0-SNAPSHOT.war" on WildFly 27.0.1:
Code: Select all
10:26:24,030 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service jboss.deployment.unit."primefaces-showcase-13.0.0-SNAPSHOT.war".undertow-deployment.UndertowDeploymentInfoService: org.jboss.msc.service.StartException in service jboss.deployment.unit."primefaces-showcase-13.0.0-SNAPSHOT.war".undertow-deployment.UndertowDeploymentInfoService: java.lang.ClassNotFoundException: ${jsfListener} from [Module "deployment.primefaces-showcase-13.0.0-SNAPSHOT.war" from Service Module Loader]
at org.wildfly.extension.undertow@27.0.1.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService.createServletConfig(UndertowDeploymentInfoService.java:1004)
at org.wildfly.extension.undertow@27.0.1.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService.start(UndertowDeploymentInfoService.java:288)
at org.jboss.msc@1.4.13.Final//org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1739)
at org.jboss.msc@1.4.13.Final//org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1701)
at org.jboss.msc@1.4.13.Final//org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1559)
at org.jboss.threads@2.4.0.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)
at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1363)
at java.base/java.lang.Thread.run(Thread.java:1589)
Caused by: java.lang.ClassNotFoundException: ${jsfListener} from [Module "deployment.primefaces-showcase-13.0.0-SNAPSHOT.war" from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:200)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:410)
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116)
at org.wildfly.extension.undertow@27.0.1.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService.addListener(UndertowDeploymentInfoService.java:1116)
at org.wildfly.extension.undertow@27.0.1.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService.createServletConfig(UndertowDeploymentInfoService.java:807)
... 9 more
10:26:24,034 ERROR [org.jboss.as.controller.management-operation] (External Management Request Threads -- 1) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "primefaces-showcase-13.0.0-SNAPSHOT.war")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"primefaces-showcase-13.0.0-SNAPSHOT.war\".undertow-deployment.UndertowDeploymentInfoService" => "java.lang.ClassNotFoundException: ${jsfListener} from [Module \"deployment.primefaces-showcase-13.0.0-SNAPSHOT.war\" from Service Module Loader]
Caused by: java.lang.ClassNotFoundException: ${jsfListener} from [Module \"deployment.primefaces-showcase-13.0.0-SNAPSHOT.war\" from Service Module Loader]"}}
10:26:24,035 ERROR [org.jboss.as.controller.management-operation] (External Management Request Threads -- 1) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "primefaces-showcase-13.0.0-SNAPSHOT.war")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"primefaces-showcase-13.0.0-SNAPSHOT.war\".undertow-deployment.UndertowDeploymentInfoService" => "java.lang.ClassNotFoundException: ${jsfListener} from [Module \"deployment.primefaces-showcase-13.0.0-SNAPSHOT.war\" from Service Module Loader]
Caused by: java.lang.ClassNotFoundException: ${jsfListener} from [Module \"deployment.primefaces-showcase-13.0.0-SNAPSHOT.war\" from Service Module Loader]"}}
10:26:24,036 ERROR [org.jboss.as.server] (External Management Request Threads -- 1) WFLYSRV0021: Deploy of deployment "primefaces-showcase-13.0.0-SNAPSHOT.war" was rolled back with the following failure message:
{"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"primefaces-showcase-13.0.0-SNAPSHOT.war\".undertow-deployment.UndertowDeploymentInfoService" => "java.lang.ClassNotFoundException: ${jsfListener} from [Module \"deployment.primefaces-showcase-13.0.0-SNAPSHOT.war\" from Service Module Loader]
Caused by: java.lang.ClassNotFoundException: ${jsfListener} from [Module \"deployment.primefaces-showcase-13.0.0-SNAPSHOT.war\" from Service Module Loader]"}}
But built & run on Jetty:
Code: Select all
cd primefaces-showcase
mvn clean jetty:run -Pnon-ee,mojarra-2.3
[
Code: Select all
INFO] Started o.e.j.m.p.JettyWebAppContext@75a180cc{/showcase,[file:///Users/NOTiFY/IdeaProjects/primefaces/primefaces-showcase/src/main/webapp/, jar:file:///Users/NOTiFY/.m2/repository/org/primefaces/primefaces/13.0.0-SNAPSHOT/primefaces-13.0.0-SNAPSHOT.jar!/META-INF/resources, jar:file:///Users/NOTiFY/.m2/repository/org/glassfish/jakarta.faces/2.3.18/jakarta.faces-2.3.18.jar!/META-INF/resources],AVAILABLE}{file:///Users/NOTiFY/IdeaProjects/primefaces/primefaces-showcase/src/main/webapp/}
[INFO] Started ServerConnector@8ec4c3b{HTTP/1.1, (http/1.1)}{0.0.0.0:8080}
[INFO] Started @16353ms
[INFO] Started Jetty Server
Runs with:
Code: Select all
http://localhost:8080/showcase/index.xhtml?jfwid=fc39e
Any chances of it running on:
WildFly 27.x & Mojarra 4.0.0.SP01?
Thanks.
PF 13.0.0--Jakarta. Jakarta Faces 4.0.1/Kotlin Multiplatform 1.9.10
Mojarra 4.0.2, OmniFaces 4.2
WildFly 29.0.1.Final 'preview' Jakarta EE 10.0.0
JDK 20.0.2, Kotlin 1.9.10, Gradle 8.3 Groovy DSL, MongoDB 7.0.0
IntelliJ IDEA 2023.2.1, macOS Ventura 13.5.1