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

          Tyler Johnson created issue -
          Tyler Johnson made changes -
          Field Original Value New Value
          Attachment ICE-5858.png.jpg [ 12426 ]
          Ken Fyten made changes -
          Assignee Ken Fyten [ ken.fyten ]
          Tyler Johnson made changes -
          Workaround Description Use Mojarra version of JSF 2.0.
          Environment - MyFaces 2.0 API 2.0
          Workaround Exists [Yes]
          Salesforce Case [5007000000C4tuL]
          Assignee Ken Fyten [ ken.fyten ]
          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.
          Deryk Sinotte made changes -
          Summary Add support for MyFaces 2.0 in ICEfaces 2.0 Add support for MyFaces 2 in ICEfaces 2
          Environment MyFaces 2.0 API 2.0 ICEfaces 2, MyFaces 2
          Fix Version/s 2.1 [ 10241 ]
          Fix Version/s EE-2.1.0 [ 10262 ]
          Affects Version/s 2.0.2 [ 10273 ]
          Affects Version/s EE-2.0.0.GA [ 10263 ]
          Affects Version/s 2.0-Alpha3 [ 10032 ]
          Assignee Deryk Sinotte [ deryk.sinotte ]
          Deryk Sinotte made changes -
          Link This issue duplicates ICE-5868 [ ICE-5868 ]
          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
          Deryk Sinotte made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Duplicate [ 3 ]
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: