ICEfaces
  1. ICEfaces
  2. ICE-1273

Document com.sun.faces.config.ConfigureListener work-around in Release Notes to avoid JSF initialization problems

    Details

    • Type: Task Task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6
    • Fix Version/s: 1.6.2, 1.7DR#1, 1.7
    • Component/s: Sample Apps
    • Labels:
      None
    • Environment:
      Sun RI, Tomcat 5.5, JBoss 4.0.x
    • Workaround Exists:
      Yes
    • Workaround Description:
      Hide
      <listener>
      <listener-class>
      com.sun.faces.config.ConfigureListener
      </listener-class>
      </listener>
      Show
      <listener> <listener-class> com.sun.faces.config.ConfigureListener </listener-class> </listener>

      Description

      We continue to get a boat load of complaints about JSF initialization issues, mostly in Tomcat. A lot of these issues can be resolved simply by including the following listener in the web.xml:

      <listener>
      <listener-class>
      com.sun.faces.config.ConfigureListener
      </listener-class>
      </listener>

      I suggest we include this in all our sun ri-based demos.

        Activity

        Hide
        Arran McCullough added a comment -

        Rev 14674

        Reverted Changes, removed listener in all sample applications.

        Show
        Arran McCullough added a comment - Rev 14674 Reverted Changes, removed listener in all sample applications.
        Hide
        Philip Breau added a comment -

        please define which version of jboss and other containers this caused a problem with details of the exception

        Show
        Philip Breau added a comment - please define which version of jboss and other containers this caused a problem with details of the exception
        Hide
        Ken Fyten added a comment -

        We do not want to add something to our standard web.xml files to accommodate a bug in a single version of a specific app. server.
        This issue is documented in the Known Issues section of the ReleaseNotes.html, and has been for several releases. Here's the writeup:

        • Apache Tomcat v5.5

        o Tutorials bundled with the ICEfaces release will not build and deploy to Tomcat 5.5 with MyFaces due to a conflict related to jsp-api.jar. To build and deploy tutorials on Tomcat 5.5 with MyFaces, it is necessary to modify the .../install_dir/ICEfaces-1.5/icefaces/samples/tutorial/build.properties and set tomcat55=true prior to building the application.

        o Applications deployed to a Tomcat instance installed as a Windows service may experience the following error: "SEVERE: ICEfaces could not initialize JavaServer Faces. Please check that the JSF .jar files are installed correctly." This issue can be resolved by including the following listener in the web.xml:

        <listener>
        <listener-class>
        com.sun.faces.config.ConfigureListener
        </listener-class>
        </listener>

        Show
        Ken Fyten added a comment - We do not want to add something to our standard web.xml files to accommodate a bug in a single version of a specific app. server. This issue is documented in the Known Issues section of the ReleaseNotes.html, and has been for several releases. Here's the writeup: Apache Tomcat v5.5 o Tutorials bundled with the ICEfaces release will not build and deploy to Tomcat 5.5 with MyFaces due to a conflict related to jsp-api.jar. To build and deploy tutorials on Tomcat 5.5 with MyFaces, it is necessary to modify the .../install_dir/ICEfaces-1.5/icefaces/samples/tutorial/build.properties and set tomcat55=true prior to building the application. o Applications deployed to a Tomcat instance installed as a Windows service may experience the following error: "SEVERE: ICEfaces could not initialize JavaServer Faces. Please check that the JSF .jar files are installed correctly." This issue can be resolved by including the following listener in the web.xml: <listener> <listener-class> com.sun.faces.config.ConfigureListener </listener-class> </listener>
        Hide
        Philip Breau added a comment -

        Then the release notes should probably also note that the problem occurs on the following app servers:

        JBoss 4.0.3
        JBoss 4.0.4
        JBoss 4.0.5
        Tomcat 5.5.x (non-windows service version)

        Show
        Philip Breau added a comment - Then the release notes should probably also note that the problem occurs on the following app servers: JBoss 4.0.3 JBoss 4.0.4 JBoss 4.0.5 Tomcat 5.5.x (non-windows service version)
        Hide
        Ken Fyten added a comment -

        Added section to Known Issues in Release Notes for 1.6.2.

        ICEfaces/branches/icefaces-1.6/icefaces/docs/ReleaseNotes.html
        Committed revision 15042.

        Show
        Ken Fyten added a comment - Added section to Known Issues in Release Notes for 1.6.2. ICEfaces/branches/icefaces-1.6/icefaces/docs/ReleaseNotes.html Committed revision 15042.

          People

          • Assignee:
            Unassigned
            Reporter:
            Philip Breau
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: