Hello,
We are migrating our webservices from Wildfly 18 to 27. Earlier we had primefaces 3.0 used with wildfly 18. Currently I am testing primefaces 12 with wildfly 27 but getting following error during ear deployment:
2023-02-15 12:00:14,812 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC000001: Failed to start service jboss.deployment.subunit."myService.ear"."myService.war".undertow-deployment.UndertowDeploymentInfoService: org.jboss.msc.service.StartException in service jboss.deployment.subunit."myService.ear"."myService.war".undertow-deployment.UndertowDeploymentInfoService: Failed to start service
at org.jb...@1.4.13.Final//org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1731)
at org.jb...@1.4.13.Final//org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1559)
at org.jbos...@2.4.0.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at org.jbos...@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)
at org.jbos...@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
at org.jbos...@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1363)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.IllegalArgumentException: UT010012: Listener class class org.primefaces.webapp.UploadedFileCleanerListener must implement at least one listener interface
at io.undert...@2.3.0.Final//io.undertow.servlet.api.ListenerInfo.<init>(ListenerInfo.java:47)
at org.wildfly.ext...@27.0.0.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService.addListener(UndertowDeploymentInfoService.java:1120)
at org.wildfly.ext...@27.0.0.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService.createServletConfig(UndertowDeploymentInfoService.java:807)
at org.wildfly.ext...@27.0.0.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService.start(UndertowDeploymentInfoService.java:288)
at org.jb...@1.4.13.Final//org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1739)
at org.jb...@1.4.13.Final//org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1701)
... 6 more
If I try using primefaces 8.0 I get a different error :
java.lang.RuntimeException:
com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! Must have a
Constructor that takes in a BehaviorConfig
Any inputs from you all would be greatly helpful. Thank you in advance.