Uploaded image for project: 'TomEE'
  1. TomEE
  2. TOMEE-3791

Ajax JSF not provided in 8.0.8 builds

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 8.0.8
    • 8.0.9
    • TomEE Build
    • None

    Description

      Both plume and plus versions 8.0.8 of tomee were built without the jsf.js inside the respective jsf libs (jakarta.faces and myfaces). Plus (myfaces) shows up the folloing log:

      org.apache.myfaces.renderkit.html.HtmlScriptRenderer.encodeEnd Resource referenced by resourceName jsf.js and libraryName javax.faces not found in call to ResourceHandler.createResource. It will be silenty ignored
      

      Plume version silently ignores the problem.

      Exchanging the packaged jar with the maven provided ones fixes the issue.

      I guess the issue didn't show up in early phases because most of the tests on JSF does not use ajax enabled and that the issue is due some broken filtering (maybe you filtered out *.js or didin't filter them in).

      Attached is a slightly modified version of the tomee-webapp with 6 profiles: the default webprofile, plus and plume, the three of them broken when you try to access book.jsf, and 3 others (webprofile-fixed, plus-fixed and plume-fixed), in which I've made the jar substitution. Using mvn -P<profilename> clean package tomee:run will allow checking accessing http://localhost:8080/book.jsf

      Attachments

        1. books-jsf.tar.gz
          5 kB
          Paulo Cristovão de Araújo Silva Filho

        Activity

          People

            jgallimore Jonathan Gallimore
            pcristof Paulo Cristovão de Araújo Silva Filho
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: