Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-7593

Weld EL resolver not passed into Apache MyFaces at runtime on JBoss Fuse 6.3

XMLWordPrintable

    • % %
    • Hide

      Use war-jsf-cdi.tgz as attached to this JIRA. It is a slightly modified version of the original demo to make it deploy easily to Fuse 6.3.
      Build it and deploy it using these Karaf commands:

      features:install pax-cdi pax-cdi-weld pax-cdi-web pax-cdi-web-weld
      install -s mvn:javax.el/javax.el-api/3.0.0
      install -s mvn:commons-digester/commons-digester/1.8.1
      install -s mvn:org.apache.myfaces.core/myfaces-bundle/2.2.12
      install -s mvn:org.ops4j.pax.web.samples/war-jsf-cdi/6.0.0
      

      After it got deployed successfully, access the web application via http://localhost:8181/war-jsf-cdi/.

      When you hit the logText button, it will raise the error
      javax.el.PropertyNotFoundException: Target Unreachable, identifier 'controller' resolved to null

      Show
      Use war-jsf-cdi.tgz as attached to this JIRA. It is a slightly modified version of the original demo to make it deploy easily to Fuse 6.3. Build it and deploy it using these Karaf commands: features:install pax-cdi pax-cdi-weld pax-cdi-web pax-cdi-web-weld install -s mvn:javax.el/javax.el-api/3.0.0 install -s mvn:commons-digester/commons-digester/1.8.1 install -s mvn:org.apache.myfaces.core/myfaces-bundle/2.2.12 install -s mvn:org.ops4j.pax.web.samples/war-jsf-cdi/6.0.0 After it got deployed successfully, access the web application via http://localhost:8181/war-jsf-cdi/ . When you hit the logText button, it will raise the error javax.el.PropertyNotFoundException: Target Unreachable, identifier 'controller' resolved to null

      The demo
      https://github.com/ops4j/org.ops4j.pax.web/tree/web-6.0.0/samples/war-jsf-cdi

      does not work correctly on JBoss Fuse 6.3 R5.
      From the analysis so far it seems the Weld EL resolver is not passed into Apache MyFaces. As a result the CDI beans cannot be invoked.

              ggrzybek Grzegorz Grzybek
              rhn-support-tmielke Torsten Mielke
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: