Uploaded image for project: 'PUBLIC - Liferay Faces'
  1. PUBLIC - Liferay Faces
  2. FACES-3389

Demo Portlets with CDI/Weld embedded in WEB-INF/lib fail to deploy on Liferay Portal 7.1 GA2+ (or FP3+)

    Details

      Description

      Steps to reproduce:

      1. Deploy the JSF CDI Applicant to Liferay Portal 7.1 GA2+ (or FP3+).

      If the bug still exists, the portlet will fail to deploy and an error like the following will appear in the logs:

      2019-02-07 00:29:04.651 ERROR [Aries CCR Thread][com_liferay_faces_demo_jsf_cdi_applicant_portlet:97] CCR Failure in container activator open on org.apache.aries.cdi.container.internal.container.ContainerBootstrap@7d4e48b6
      java.lang.RuntimeException: Service class com.sun.faces.application.view.ViewScopeExtension didn't implement the required interface
              at org.jboss.weld.util.ServiceLoader.loadClass(ServiceLoader.java:231)
              at org.jboss.weld.util.ServiceLoader.loadService(ServiceLoader.java:211)
              at org.jboss.weld.util.ServiceLoader.loadServiceFile(ServiceLoader.java:185)
              at org.jboss.weld.util.ServiceLoader.reload(ServiceLoader.java:165)
              at org.jboss.weld.util.ServiceLoader.iterator(ServiceLoader.java:289)
              at java.lang.Iterable.forEach(Iterable.java:74)
              at org.apache.aries.cdi.container.internal.container.ContainerBootstrap.open(ContainerBootstrap.java:113)
              at org.osgi.util.promise.DeferredPromiseImpl$Submit.run(DeferredPromiseImpl.java:658)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
              at java.lang.Thread.run(Thread.java:748)
      

      If the bug is fixed, the portlet will deploy and all tests will pass.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kyle.stiemann Kyle Stiemann
                Reporter:
                kyle.stiemann Kyle Stiemann
                Participants of an Issue:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: