Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-3158

Need a way to detect collisions between JSF RI and JSF MyFaces

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: JBossAS-4.2.1.GA
    • Component/s: JSF
    • Labels:
      None
    • Affects:
      Documentation (Ref Guide, User Guide, etc.), Compatibility/Configuration
    • Estimated Difficulty:
      Medium

      Description

      Developers who choose to bundle the Sun JSF Reference Implementation with their WAR will get strange errors like ERROR [javax.faces.webapp.UIComponentTag] Faces context not found. getResponseWriter will fail. Check if the FacesServlet has been initialized at all in your web.xml.

      This is because of collisions between classes provided in both implementations which are required to have the same javax.faces package name. We should be able to detect if the RI is present and tell the user to either remove the RI, remove MyFaces, or scope the deployment.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                ssilvert Stan Silvert
                Reporter:
                ssilvert Stan Silvert
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: