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

[GSS](7.1.z) EAP unable to work with JSF 1.2

XMLWordPrintable

    • Workaround Exists
    • Hide

      Install using libraries from 7.0 or package jsf implementation in deployment

      Show
      Install using libraries from 7.0 or package jsf implementation in deployment
    • Hide

      Follow instructions here https://access.redhat.com/solutions/2773121 and install JSF 1.2 application.

      Show
      Follow instructions here https://access.redhat.com/solutions/2773121 and install JSF 1.2 application.

      The error when installing JSF 1.2 as a module following instructions from https://access.redhat.com/solutions/2773121 using weld-core-jsf-2.4.7 is:

      java.lang.NoClassDefFoundError: Failed to link org/jboss/as/jsf/injection/weld/WeldApplication (Module "org.jboss.as.jsf-injection:mojarra-1.2" from local module loader @1b68b9a4 (finder: local module finder @4f9a3314 (roots: boss-eap-7.1\modules,jboss-eap-7.1\modules\system\layers\base\.overlays\layer-base-jboss-eap-7.1.3.CP,jboss-eap-7.1\modules\system\layers\base))): javax/faces/application/ApplicationWrapper

      Adding EAP 7.0 weld libs also arises this problem in some installations using weld-core-jsf-2.3.3.Final:
      java.lang.NoSuchMethodError: javax.faces.context.FacesContext.getAttributes()Ljava/util/Map;
      at org.jboss.weld.jsf.ConversationAwareViewHandler.getActionURL(ConversationAwareViewHandler.java:103) [weld-core-jsf-2.3.3.Final-redhat-1.jar:2.3.3.Final-redhat-1]

      The FacesContext.getAttributes does not exist in JSF 1.2

              rhn-support-tmiyargi Teresa Miyar Gil (Inactive)
              rhn-support-tmiyargi Teresa Miyar Gil (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: