Galleria - Won't display PF Showcase (Jakarta EE 10)

UI Components for JSF
NOTiFY
Posts: 393
Joined: 25 May 2016, 22:57

11 Jan 2023, 12:03

I've been looking at PF Galleria - Programmatic, Indicator etc ...

From: https://github.com/primefaces/primefaces. I've download the "Versions" WAR: 12.0.0 primefaces-12.0.0.jar & deployed the WAR on Jakarta WildFly 27.0.1.

"GraphicImage: Static Image" works OK but "Galleria - Programmatic, Indicator etc ..." - shows nothing.

Image

I've tried to build & compile my own "p:graphicImag" & it causes an issue with 'alt':

Code: Select all

SEVERE [jakarta.enterprise.resource.webcontainer.faces.renderkit] (default task-1) jakarta.faces.FacesException: /DisplaySelectedMotorcycle.xhtml @27,118 alt="#{image.url}": The class 'sun.nio.ch.ChannelInputStream' does not have the property 'url'.: jakarta.faces.FacesException: /DisplaySelectedMotorcycle.xhtml @27,118 alt="#{image.url}": The class 'sun.nio.ch.ChannelInputStream' does not have the property 'url'.
The only way I can display all my "image(s)" is use OmniFaces (org.omnifaces.cdi.GraphicImageBean;):

Code: Select all

 <o:graphicImage value="#{nOTiFYMotorcycleController.imageFileUrlPng}" dataURI="true"/>
Can I download the "Showcase WAR" for Jakarta?
Last edited by NOTiFY on 12 Feb 2023, 17:20, edited 3 times in total.
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

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

11 Jan 2023, 19:35

I think this is the bug which has been fixed: https://github.com/primefaces/primefaces/issues/9452
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

NOTiFY
Posts: 393
Joined: 25 May 2016, 22:57

12 Jan 2023, 11:48

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
Image

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

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

13 Jan 2023, 00:48

Yep your error is right here "${jsfListener}" its not replacing that in the WAR file in the web.xml. You need to make sure the MOjarra values are replaced properly in the WAR file web.xml

Code: Select all

    <listener>
        <listener-class>${cdiListener}</listener-class>
    </listener>
    <listener>
        <listener-class>${jsfListener}</listener-class>
    </listener>
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

NOTiFY
Posts: 393
Joined: 25 May 2016, 22:57

14 Jan 2023, 13:53

Can't get PF 13.x "primefaces-showcase" run on JSF Mojarra 4.0.0.SP01.

Will wait to PF 13.x is released with @ 'PrimeFaces Elite" & working on WildFly 27.
Last edited by NOTiFY on 14 Jan 2023, 17:35, edited 2 times in total.
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

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

14 Jan 2023, 17:25

Looks like there is a bug in Mojarra 4.0 we reported preventing it from working: https://github.com/eclipse-ee4j/mojarra/issues/5198
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

NOTiFY
Posts: 393
Joined: 25 May 2016, 22:57

14 Jan 2023, 18:33

Thanks. Look forward to a fix.

In the meantime I going to use Omnifaces 'graphicImage' to 'ui:repeat':

Code: Select all

<ui:repeat value="#{images.ids}" var="id">
     <o:graphicImage value="#{images.getContent(id)}" lastModified="#{startup.time}" />
</ui:repeat>
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

NOTiFY
Posts: 393
Joined: 25 May 2016, 22:57

09 Feb 2023, 20:09

Melloware wrote:
14 Jan 2023, 17:25
Looks like there is a bug in Mojarra 4.0 we reported preventing it from working: https://github.com/eclipse-ee4j/mojarra/issues/5198
Have moved WildFly 27.0.1(from Mojarra 4.0.0.SP01 ) to use MyFaces 'myfaces-4.0.0-RC3'.

Code: Select all

[INFO] Reactor Summary for PrimeFaces Parent 13.0.0-SNAPSHOT:
[INFO] 
[INFO] PrimeFaces Parent .................................. SUCCESS [  1.882 s]
[INFO] PrimeFaces ......................................... SUCCESS [01:08 min]
[INFO] PrimeFaces Showcase ................................ SUCCESS [ 14.300 s]
[INFO] PrimeFaces Selenium ................................ SUCCESS [  0.057 s]
[INFO] PrimeFaces Selenium - Core ......................... SUCCESS [  4.296 s]
[INFO] PrimeFaces Selenium - Components ................... SUCCESS [  3.829 s]
[INFO] PrimeFaces Integration Tests ....................... SUCCESS [ 11.280 s]
[INFO] PrimeFaces Integration Tests Jakarta ............... SUCCESS [  3.527 s]
[INFO] PrimeFaces CLI ..................................... SUCCESS [  2.376 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
Try & deploy the WAR on WildFly 27: primefaces-showcase-13.0.0-SNAPSHOT.war

Get:

Code: Select all

18:07:49,116 SEVERE [org.apache.webbeans.servlet.WebBeansConfigurationListener] (ServerService Thread Pool -- 116) An error occurred while starting application context path : [/primefaces-showcase-13.0.0-SNAPSHOT]
18:07:49,116 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 116) MSC000001: Failed to start service jboss.deployment.unit."primefaces-showcase-13.0.0-SNAPSHOT.war".undertow-deployment: org.jboss.msc.service.StartException in service jboss.deployment.unit."primefaces-showcase-13.0.0-SNAPSHOT.war".undertow-deployment: java.lang.RuntimeException: org.apache.webbeans.exception.WebBeansDeploymentException: java.lang.UnsupportedOperationException: unsupported archive type: vfs:/content/primefaces-showcase-13.0.0-SNAPSHOT.war/WEB-INF/lib/jcommon-1.0.0.jar/
	at org.wildfly.extension.undertow@27.0.1.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:90)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:577)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
	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:1377)
	at java.base/java.lang.Thread.run(Thread.java:1589)
	at org.jboss.threads@2.4.0.Final//org.jboss.threads.JBossThread.run(JBossThread.java:513)
Caused by: java.lang.RuntimeException: org.apache.webbeans.exception.WebBeansDeploymentException: java.lang.UnsupportedOperationException: unsupported archive type: vfs:/content/primefaces-showcase-13.0.0-SNAPSHOT.war/WEB-INF/lib/jcommon-1.0.0.jar/
	at io.undertow.servlet@2.3.0.Final//io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:257)
	at org.wildfly.extension.undertow@27.0.1.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:105)
	at org.wildfly.extension.undertow@27.0.1.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:87)
	... 8 more
Caused by: org.apache.webbeans.exception.WebBeansDeploymentException: java.lang.UnsupportedOperationException: unsupported archive type: vfs:/content/primefaces-showcase-13.0.0-SNAPSHOT.war/WEB-INF/lib/jcommon-1.0.0.jar/
	at deployment.primefaces-showcase-13.0.0-SNAPSHOT.war//org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery.scan(AbstractMetaDataDiscovery.java:181)
	at deployment.primefaces-showcase-13.0.0-SNAPSHOT.war//org.apache.webbeans.lifecycle.AbstractLifeCycle.bootstrapApplication(AbstractLifeCycle.java:131)
	at deployment.primefaces-showcase-13.0.0-SNAPSHOT.war//org.apache.webbeans.lifecycle.AbstractLifeCycle.startApplication(AbstractLifeCycle.java:103)
	at deployment.primefaces-showcase-13.0.0-SNAPSHOT.war//org.apache.webbeans.web.lifecycle.WebContainerLifecycle.startApplication(WebContainerLifecycle.java:99)
	at deployment.primefaces-showcase-13.0.0-SNAPSHOT.war//org.apache.webbeans.servlet.WebBeansConfigurationListener.doStart(WebBeansConfigurationListener.java:197)
	at deployment.primefaces-showcase-13.0.0-SNAPSHOT.war//org.apache.webbeans.servlet.WebBeansConfigurationListener.contextInitialized(WebBeansConfigurationListener.java:86)
	at io.undertow.servlet@2.3.0.Final//io.undertow.servlet.core.ApplicationListeners.contextInitialized(ApplicationListeners.java:187)
	at io.undertow.servlet@2.3.0.Final//io.undertow.servlet.core.DeploymentManagerImpl$1.call(DeploymentManagerImpl.java:219)
	at io.undertow.servlet@2.3.0.Final//io.undertow.servlet.core.DeploymentManagerImpl$1.call(DeploymentManagerImpl.java:187)
	at io.undertow.servlet@2.3.0.Final//io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:42)
	at io.undertow.servlet@2.3.0.Final//io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
	at org.wildfly.extension.undertow@27.0.1.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1435)
	at org.wildfly.extension.undertow@27.0.1.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1435)
	at org.wildfly.extension.undertow@27.0.1.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1435)
	at org.wildfly.extension.undertow@27.0.1.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1435)
	at io.undertow.servlet@2.3.0.Final//io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:255)
	... 10 more
Caused by: java.lang.UnsupportedOperationException: unsupported archive type: vfs:/content/primefaces-showcase-13.0.0-SNAPSHOT.war/WEB-INF/lib/jcommon-1.0.0.jar/
	at deployment.primefaces-showcase-13.0.0-SNAPSHOT.war//org.apache.xbean.finder.archive.ClasspathArchive.archive(ClasspathArchive.java:87)
	at deployment.primefaces-showcase-13.0.0-SNAPSHOT.war//org.apache.webbeans.corespi.scanner.xbean.CdiArchive.<init>(CdiArchive.java:67)
	at deployment.primefaces-showcase-13.0.0-SNAPSHOT.war//org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery.initFinder(AbstractMetaDataDiscovery.java:137)
	at deployment.primefaces-showcase-13.0.0-SNAPSHOT.war//org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery.scan(AbstractMetaDataDiscovery.java:177)
	... 25 more

18:07:49,118 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" => "java.lang.RuntimeException: org.apache.webbeans.exception.WebBeansDeploymentException: java.lang.UnsupportedOperationException: unsupported archive type: vfs:/content/primefaces-showcase-13.0.0-SNAPSHOT.war/WEB-INF/lib/jcommon-1.0.0.jar/
    Caused by: java.lang.RuntimeException: org.apache.webbeans.exception.WebBeansDeploymentException: java.lang.UnsupportedOperationException: unsupported archive type: vfs:/content/primefaces-showcase-13.0.0-SNAPSHOT.war/WEB-INF/lib/jcommon-1.0.0.jar/
    Caused by: org.apache.webbeans.exception.WebBeansDeploymentException: java.lang.UnsupportedOperationException: unsupported archive type: vfs:/content/primefaces-showcase-13.0.0-SNAPSHOT.war/WEB-INF/lib/jcommon-1.0.0.jar/
    Caused by: java.lang.UnsupportedOperationException: unsupported archive type: vfs:/content/primefaces-showcase-13.0.0-SNAPSHOT.war/WEB-INF/lib/jcommon-1.0.0.jar/"}}
18:07:49,119 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" => "java.lang.RuntimeException: org.apache.webbeans.exception.WebBeansDeploymentException: java.lang.UnsupportedOperationException: unsupported archive type: vfs:/content/primefaces-showcase-13.0.0-SNAPSHOT.war/WEB-INF/lib/jcommon-1.0.0.jar/
    Caused by: java.lang.RuntimeException: org.apache.webbeans.exception.WebBeansDeploymentException: java.lang.UnsupportedOperationException: unsupported archive type: vfs:/content/primefaces-showcase-13.0.0-SNAPSHOT.war/WEB-INF/lib/jcommon-1.0.0.jar/
    Caused by: org.apache.webbeans.exception.WebBeansDeploymentException: java.lang.UnsupportedOperationException: unsupported archive type: vfs:/content/primefaces-showcase-13.0.0-SNAPSHOT.war/WEB-INF/lib/jcommon-1.0.0.jar/
    Caused by: java.lang.UnsupportedOperationException: unsupported archive type: vfs:/content/primefaces-showcase-13.0.0-SNAPSHOT.war/WEB-INF/lib/jcommon-1.0.0.jar/"}}
18:07:49,119 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" => "java.lang.RuntimeException: org.apache.webbeans.exception.WebBeansDeploymentException: java.lang.UnsupportedOperationException: unsupported archive type: vfs:/content/primefaces-showcase-13.0.0-SNAPSHOT.war/WEB-INF/lib/jcommon-1.0.0.jar/
    Caused by: java.lang.RuntimeException: org.apache.webbeans.exception.WebBeansDeploymentException: java.lang.UnsupportedOperationException: unsupported archive type: vfs:/content/primefaces-showcase-13.0.0-SNAPSHOT.war/WEB-INF/lib/jcommon-1.0.0.jar/
    Caused by: org.apache.webbeans.exception.WebBeansDeploymentException: java.lang.UnsupportedOperationException: unsupported archive type: vfs:/content/primefaces-showcase-13.0.0-SNAPSHOT.war/WEB-INF/lib/jcommon-1.0.0.jar/
    Caused by: java.lang.UnsupportedOperationException: unsupported archive type: vfs:/content/primefaces-showcase-13.0.0-SNAPSHOT.war/WEB-INF/lib/jcommon-1.0.0.jar/"}}
18:07:49,453 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6) WFLYSRV0028: Stopped deployment primefaces-showcase-13.0.0-SNAPSHOT.war (runtime-name: primefaces-showcase-13.0.0-SNAPSHOT.war) in 334ms
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

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

09 Feb 2023, 23:17

It doesn't like `jcommon-1.0.0.jar/` whatever JCommon JAR is...
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

NOTiFY
Posts: 393
Joined: 25 May 2016, 22:57

10 Feb 2023, 13:13

Melloware wrote:
09 Feb 2023, 23:17
It doesn't like `jcommon-1.0.0.jar/` whatever JCommon JAR is...
Have deleted everything @ .m2 & used MyFaces 4.0:

Code: Select all

mvn clean package -Pnon-ee,myfaces-next-4.0 
These gets rid of 'jcommon' error. Now get:

Code: Select all

11:04:05,717 WARN  [org.jboss.as.ee] (MSC service thread 1-1) WFLYEE0007: Not installing optional component ${jsfListener} due to an exception (enable DEBUG log level to see the cause)
11:04:05,868 WARN  [org.jboss.as.jaxrs] (MSC service thread 1-1) WFLYRS0018: Explicit usage of Jackson annotation in a Jakarta RESTful Web Services deployment; the system will disable Jakarta JSON Binding processing for the current deployment. Consider setting the 'resteasy.preferJacksonOverJsonB' property to 'false' to restore Jakarta JSON Binding.
11:04:05,880 INFO  [org.jboss.weld.Version] (MSC service thread 1-1) WELD-000900: 5.1.0 (Final)
11:04:06,472 WARN  [org.jboss.weld.Bootstrap] (Weld Thread Pool -- 16) WELD-000167: Class org.jboss.resteasy.core.AsynchronousDispatcher is annotated with @RequestScoped but it does not declare an appropriate constructor therefore is not registered as a bean!
11:04:06,715 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) 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

11:04:06,718 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]"}}
11:04:06,719 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]"}}
11:04:06,720 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]"}}

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

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 52 guests