4 Replies Latest reply on Nov 27, 2013 8:17 PM by Neven Cvetković

    How can I Initialize a JSF version other than that shipped with JBoss 7.1.1 Final?

    freakyprogrammer Newbie

      As my question states I want to Initialize JSF 2.2+ version along with default JSF Version of Jboss 7 into my application when my Jboss container starts . I know Jboss 7.1.1 ships with jsf-2.1.7 , which i am running current application with. But i want to try JSF 2.2+ on the same server instance. I tried by specifying jsf-2.2+ in modue.xml along with default version as shown below by placing jar in this folder.


               <resource-root path="jsf-api-2.2.0-m12.jar"/>
               <resource-root path="jboss-jsf-api_2.1_spec-2.0.1.Final.jar"/>
              <!-- Insert resources here -->


      But When I start my Jboss container, it is Initializing only default version or whatever the version specified in first line as a resource in the resources like this .

      [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-5) Initializing Mojarra 2.2.0-m12 (-SNAPSHOT 20130320-0201 https://svn.java.net/svn/mojarra~svn/tags/2.2.0-m12@11773) for context '/jsf22sample'

      How Can I Initialize two versions of JSF , so that I can use JSF2.2+ in another application in same workspace?