Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-26019

[GSS](8.0.z) JSF: Do not override application-specified "com.sun.faces.enableDistributable" value

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 8.0 Update 3
    • 8.0.0.GA
    • JSF
    • None
    • False
    • None
    • False
    • ?
    • Known Issue

      https://github.com/eclipse-ee4j/mojarra/issues/5345

      Mojarra defines a number of initialization parameters. While "com.sun.faces.enableDistributable" is one of them, Mojarra automatically overrides any existing setting provided by the application.
      If a web application wanted explicitly disable this for a distributable web application, it would normally add a servlet context parameter within web.xml.
      e.g.

      <web-app>
      <distributable/>
      <context-param>
      <param-name>com.sun.faces.enableDistributable</param-name>
      <param-value>false</param-value>
      </context-param>
      </web-app> 

      However, the ConfigureListener auto-enables the com.sun.faces.enableDistributable configuration property whenever it see that the tag in web.xml, overriding any custom setting.
      I would expect Mojarra to respect the setting defined by the application, and only provide a default value if no value was specified.

              pferraro@redhat.com Paul Ferraro
              rhn-support-bmaxwell Brad Maxwell
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: