Morpheus zipped project

UI Components for JSF
Post Reply
barbados68
Posts: 13
Joined: 29 Sep 2020, 12:39

12 May 2021, 11:17

Hello,
I downloaded the 3.0.0 version and tried to run the project on netbeans 12.3
It builds with no errors, but when I try to run or debug it I get this error:

Code: Select all

WFLYCTL0186: Services which failed to start: service jboss.deployment.unit."morpheus-3.0.0.war".undertow-deployment: java.lang.RuntimeException: org.apache.webbeans.exception.WebBeansDeploymentException: java.lang.UnsupportedOperationException: unsupported archive type: vfs:/C:/wildfly-20.0.0.Final/standalone/deployments/morpheus-3.0.0.war/WEB-INF/lib/geronimo-atinject_1.0_spec-1.0.jar/
WFLYCTL0448: 1 additional services are down due to their dependencies being missing or failed
Please can you guide me to solve the problem?
Thank you
Fabio

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

12 May 2021, 13:37

You need to strip out some dependencies. Looks like you are trying to run it in Widlfy but the themes are packahed for Jetty. So you have to remove all the EE JARS from the WAR since Wildfly already has them.

Or whatever EE container you are using.
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

barbados68
Posts: 13
Joined: 29 Sep 2020, 12:39

13 May 2021, 16:40

Is it possible to have same project packed for Wildfly?...I'm not able to localize what to exclude from war in order to run correctly on WF.
Someone already made this?

Thank you
Fabio

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

13 May 2021, 16:44

why not just run it with "mvn clean jetty:run" ??
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

13 May 2021, 16:59

unsupported archive type: vfs:/C:/wildfly-20.0.0.Final
I think you may need to run an earlier versions of WildFly: https://www.wildfly.org/downloads/. If it's dues to the 'vfs protocol to file protocol'?
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

barbados68
Posts: 13
Joined: 29 Sep 2020, 12:39

14 May 2021, 09:46

Hello,
I followed both instruction, installed WF 23 and ran "mvn clean jetty:run" but I get same behavior:

Code: Select all

------------------------------------------------------------------------
BUILD SUCCESS
------------------------------------------------------------------------
Total time:  8.727 s
Finished at: 2021-05-14T09:39:55+02:00
------------------------------------------------------------------------
Deploying on WildFly Application Server 23
    profile mode: false
    debug mode: true
    force redeploy: true
Initial deploying tag to C:\www\wildfly-23.0.2.Final\standalone\deployments\morpheus-3.0.0.war
Completed initial distribution of tag
Deploying C:\www\wildfly-23.0.2.Final\standalone\deployments\morpheus-3.0.0.war
{"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"morpheus-3.0.0.war\".undertow-deployment" => "java.lang.RuntimeException: org.apache.webbeans.exception.WebBeansDeploymentException: java.lang.UnsupportedOperationException: unsupported archive type: vfs:/C:/www/wildfly-23.0.2.Final/standalone/deployments/morpheus-3.0.0.war/WEB-INF/lib/primefaces-10.0.0.jar/
    Caused by: java.lang.RuntimeException: org.apache.webbeans.exception.WebBeansDeploymentException: java.lang.UnsupportedOperationException: unsupported archive type: vfs:/C:/www/wildfly-23.0.2.Final/standalone/deployments/morpheus-3.0.0.war/WEB-INF/lib/primefaces-10.0.0.jar/
    Caused by: org.apache.webbeans.exception.WebBeansDeploymentException: java.lang.UnsupportedOperationException: unsupported archive type: vfs:/C:/www/wildfly-23.0.2.Final/standalone/deployments/morpheus-3.0.0.war/WEB-INF/lib/primefaces-10.0.0.jar/
    Caused by: java.lang.UnsupportedOperationException: unsupported archive type: vfs:/C:/www/wildfly-23.0.2.Final/standalone/deployments/morpheus-3.0.0.war/WEB-INF/lib/primefaces-10.0.0.jar/"}}
Deploying on WildFly Application Server 23
    profile mode: false
    debug mode: true
    force redeploy: true
Initial deploying tag to C:\www\wildfly-23.0.2.Final\standalone\deployments\morpheus-3.0.0.war
Completed initial distribution of tag
Deploying C:\www\wildfly-23.0.2.Final\standalone\deployments\morpheus-3.0.0.war
{"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"morpheus-3.0.0.war\".undertow-deployment" => "java.lang.RuntimeException: org.apache.webbeans.exception.WebBeansDeploymentException: java.lang.UnsupportedOperationException: unsupported archive type: vfs:/C:/www/wildfly-23.0.2.Final/standalone/deployments/morpheus-3.0.0.war/WEB-INF/lib/primefaces-10.0.0.jar/
    Caused by: java.lang.RuntimeException: org.apache.webbeans.exception.WebBeansDeploymentException: java.lang.UnsupportedOperationException: unsupported archive type: vfs:/C:/www/wildfly-23.0.2.Final/standalone/deployments/morpheus-3.0.0.war/WEB-INF/lib/primefaces-10.0.0.jar/
    Caused by: org.apache.webbeans.exception.WebBeansDeploymentException: java.lang.UnsupportedOperationException: unsupported archive type: vfs:/C:/www/wildfly-23.0.2.Final/standalone/deployments/morpheus-3.0.0.war/WEB-INF/lib/primefaces-10.0.0.jar/
    Caused by: java.lang.UnsupportedOperationException: unsupported archive type: vfs:/C:/www/wildfly-23.0.2.Final/standalone/deployments/morpheus-3.0.0.war/WEB-INF/lib/primefaces-10.0.0.jar/"}}

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

14 May 2021, 10:32

I think you may need to run an earlier versions of WildFly
Perhaps I didn't make myself clear. I would try with an older version of WildFly.

Start with 19.1.0.Final if it still doesn't work try next 18.x.x.Final then 17.x.x.Final etc.

Best suggestion I can give.
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

barbados68
Posts: 13
Joined: 29 Sep 2020, 12:39

14 May 2021, 11:30

Sorry, I read earlier, but thought higher....
Now I tried on WF 17 but the problem still remain...

Code: Select all

------------------------------------------------------------------------
BUILD SUCCESS
------------------------------------------------------------------------
Total time:  9.396 s
Finished at: 2021-05-14T11:19:32+02:00
------------------------------------------------------------------------
Deploying on WildFly Application Server 17
    profile mode: false
    debug mode: false
    force redeploy: true
Initial deploying tag to C:\www\wildfly-17.0.1.Final\standalone\deployments\morpheus-3.0.0.war
Completed initial distribution of tag
Deploying C:\www\wildfly-17.0.1.Final\standalone\deployments\morpheus-3.0.0.war
{"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"morpheus-3.0.0.war\".undertow-deployment" => "java.lang.RuntimeException: org.apache.webbeans.exception.WebBeansDeploymentException: java.lang.UnsupportedOperationException: unsupported archive type: vfs:/C:/www/wildfly-17.0.1.Final/standalone/deployments/morpheus-3.0.0.war/WEB-INF/lib/SparseBitSet-1.2.jar/
    Caused by: java.lang.RuntimeException: org.apache.webbeans.exception.WebBeansDeploymentException: java.lang.UnsupportedOperationException: unsupported archive type: vfs:/C:/www/wildfly-17.0.1.Final/standalone/deployments/morpheus-3.0.0.war/WEB-INF/lib/SparseBitSet-1.2.jar/
    Caused by: org.apache.webbeans.exception.WebBeansDeploymentException: java.lang.UnsupportedOperationException: unsupported archive type: vfs:/C:/www/wildfly-17.0.1.Final/standalone/deployments/morpheus-3.0.0.war/WEB-INF/lib/SparseBitSet-1.2.jar/
    Caused by: java.lang.UnsupportedOperationException: unsupported archive type: vfs:/C:/www/wildfly-17.0.1.Final/standalone/deployments/morpheus-3.0.0.war/WEB-INF/lib/SparseBitSet-1.2.jar/"}}
Deploying on WildFly Application Server 17
    profile mode: false
    debug mode: false
    force redeploy: true
Initial deploying tag to C:\www\wildfly-17.0.1.Final\standalone\deployments\morpheus-3.0.0.war
Completed initial distribution of tag
Deploying C:\www\wildfly-17.0.1.Final\standalone\deployments\morpheus-3.0.0.war
{"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"morpheus-3.0.0.war\".undertow-deployment" => "java.lang.RuntimeException: org.apache.webbeans.exception.WebBeansDeploymentException: java.lang.UnsupportedOperationException: unsupported archive type: vfs:/C:/www/wildfly-17.0.1.Final/standalone/deployments/morpheus-3.0.0.war/WEB-INF/lib/SparseBitSet-1.2.jar/
    Caused by: java.lang.RuntimeException: org.apache.webbeans.exception.WebBeansDeploymentException: java.lang.UnsupportedOperationException: unsupported archive type: vfs:/C:/www/wildfly-17.0.1.Final/standalone/deployments/morpheus-3.0.0.war/WEB-INF/lib/SparseBitSet-1.2.jar/
    Caused by: org.apache.webbeans.exception.WebBeansDeploymentException: java.lang.UnsupportedOperationException: unsupported archive type: vfs:/C:/www/wildfly-17.0.1.Final/standalone/deployments/morpheus-3.0.0.war/WEB-INF/lib/SparseBitSet-1.2.jar/
    Caused by: java.lang.UnsupportedOperationException: unsupported archive type: vfs:/C:/www/wildfly-17.0.1.Final/standalone/deployments/morpheus-3.0.0.war/WEB-INF/lib/SparseBitSet-1.2.jar/"}}
Maybe the problem lies elsewhere, but I am not experienced enough to say it. Three other persons I know they have same problem.
Thank you for collaboration
Fabio

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

14 May 2021, 11:48

Did a quick Google and there seems to be some issues with "Undertow + Mojarra".
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

ashishkumarji
Posts: 1
Joined: 15 May 2021, 12:47

15 May 2021, 12:52

it in Widlfy but the themes are packahed for Jetty. So you have to remove all the EE JARS from the WAR since Wildfly already has them.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 44 guests