JBOSS error java.lang.UnsupportedOperationException: unsupported archive type: vfs:

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
davjer
Posts: 3
Joined: 16 May 2022, 18:00

17 May 2022, 00:18

Hello,

i try install in JBOSS, run fine in java, put .war file in deployment folder of EAP7.4.0 and say me this error

17:09:14,298 SEVERE [org.apache.webbeans.servlet.WebBeansConfigurationListener] (ServerService Thread Pool -- 225) An error occurred while starting application context path : [/rain-4.0.0]
17:09:14,299 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 225) MSC000001: Failed to start service jboss.deployment.unit."rain-4.0.0.war".undertow-deployment: org.jboss.msc.service.StartException in service jboss.deployment.unit."rain-4.0.0.war".undertow-deployment: java.lang.RuntimeException: org.apache.webbeans.exception.WebBeansDeploymentException: java.lang.UnsupportedOperationException: unsupported archive type: vfs:/content/rain-4.0.0.war/WEB-INF/lib/geronimo-jcdi_2.0_spec-1.1.jar/
at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:81)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
at java.lang.Thread.run(Thread.java:748)
at org.jboss.threads.JBossThread.run(JBossThread.java:513)

how can solution

please help me!

thanks!

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

17 May 2022, 14:36

Hi,

The rain zip file doesn't have a war file. We don't give it. Because, users were trying to run the war file in different environments and were getting errors. Exp; our layout war files include jetty config. You need to change these config. Then, to provide war file in 'tag' project in zip, you can use;
mvn clean install -P distribute

Best Regards,

davjer
Posts: 3
Joined: 16 May 2022, 18:00

19 May 2022, 19:17

thanks
Thank you,
the zip has this structure:
rain-4.0.0-
/tag/
changelog.xml
rain-layout-4.0.0.zip
rain-theme-4.0.0.jar
rain-theme-4.0.0-jakarta.jar

I just have to use rain-layout-4.0.0.zip?, or what is the unpacking order to create the maven project and run in jboss?

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

20 May 2022, 00:21

Hi,

Yes, If you want to integrate it into any project, you can use the rain-layout-4.0.0.zip and rain-theme-4.0.0.jar. If you want to override the themes according to your needs, you can add the theme scss in the tag folder to your project instead of the rain-theme-4.0.0.jar file. Cagatay will publish a new video on this subject asap.

Best Regards,

davjer
Posts: 3
Joined: 16 May 2022, 18:00

20 May 2022, 01:49

Sorry for asking again, I want to add to an existing project, in that order:
copy the content of "rain-layout-4.0.0.zip"

from the TAG folder, copy the pom.xml file and replace the /src/ folder

then compile sass?

then generate the project?

i can build whit: maven build... -> put type package and run?

thanks

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

20 May 2022, 12:21

No problem! The 'tag' folder is a sample maven project. If you don't want to override themes, you don't need to copy anything from it.

Maybe, These links can help to you to integrate the theme and layout into your project;
https://www.dropbox.com/s/gat9a4ym373mi ... t.mp4?dl=0
https://www.dropbox.com/s/2p74g63wldbov ... t.mp4?dl=0
https://www.dropbox.com/s/s9cle2xqbwbu8 ... t.mp4?dl=0

Note: These videos may be a little old, but in general, the logic is the same. We are working on a new video series.

Please let us know if you have any problems.
Best Regards,

Post Reply

Return to “Rain - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests