Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-2552

Numberguess example does not work on GlassFish5 after upgrade to JSF2.3

    Details

      Description

      After updating the examples to JSF 2.3 in WELD-2529, the jsf/numberguess example does not work on GlassFish due to a bug in Mojarra. The bug should be fixed in Mojarra 2.3.3, but the latest GlassFish 5.0.1 still runs with Mojarra 2.3.2.

      The workaround is to add the javax.faces.annotation.FacesConfig annotation to Game.java:

      @FacesConfig(version =FacesConfig.Version. JSF_2_3)
      

      This should be documented in Deploying to GlassFish chapter until the bug is fixed in GlassFish. Afterwards the docs should recommend the new GlassFish version to avoid the bug.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  nziakova Nikoleta Ziakova
                  Reporter:
                  nziakova Nikoleta Ziakova
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated: