ICEfaces
  1. ICEfaces
  2. ICE-5858

Add support for MyFaces 2 in ICEfaces 2

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: EE-2.0.0.GA, 2.0.2
    • Fix Version/s: 3.0, EE-3.0.0.GA
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      ICEfaces 2, MyFaces 2
    • Workaround Exists:
      Yes
    • Workaround Description:
      Use Mojarra version of JSF 2.0.

      Description

      MyFaces 2.0 does not currently work with ICEfaces 2.0 Alpha 3. When using the MyFaces 2.0 JSF implementation supplied by the Eclipse 3.6 ICEfaces 2.0 Alpha 3 plugin, the following exception is thrown in the server console on application start up:

      SEVERE: failed to configure class org.icefaces.faces.renderkit.html_basic.MessagesRenderer
      java.lang.NoClassDefFoundError: com/sun/faces/renderkit/html_basic/HtmlBasicRenderer
      at java.lang.ClassLoader.defineClass1(Native Method)
      at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
      at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2527)
      at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1010)
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1483)
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1361)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:247)

      I´ve also attached a screenshot of the ui:debug console error that appears in the view.

        Issue Links

          Activity

          Hide
          Deryk Sinotte added a comment -

          I'm editing the case slightly to make it more generic in supporting MyFaces 2 on ICEfaces 2 as it will be the parent case for more specific items.

          Show
          Deryk Sinotte added a comment - I'm editing the case slightly to make it more generic in supporting MyFaces 2 on ICEfaces 2 as it will be the parent case for more specific items.
          Hide
          Deryk Sinotte added a comment -

          Too eager. There's already a parent MyFaces 2 compatibility case (ICE-5868) so I'm marking this as a duplicate.

          Show
          Deryk Sinotte added a comment - Too eager. There's already a parent MyFaces 2 compatibility case ( ICE-5868 ) so I'm marking this as a duplicate.
          Hide
          Deryk Sinotte added a comment -

          Resolving as duplicate of ICE-5868

          Show
          Deryk Sinotte added a comment - Resolving as duplicate of ICE-5868

            People

            • Assignee:
              Deryk Sinotte
              Reporter:
              Tyler Johnson
            • Votes:
              2 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: