-
1. Re: Using Mojarra 2.0.4 with JBoss AS 7.0.2.Final
bwilly Oct 16, 2011 3:05 PM (in response to lucaster)If you get an answer to this, please post it. I am encountering the same problem. Thanks.
-
2. Re: Using Mojarra 2.0.4 with JBoss AS 7.0.2.Final
bwilly Oct 16, 2011 4:18 PM (in response to bwilly)A partial solution:
I followed the steps above but then took it a bit further by:
1) get appropriate imp and api jars for 2.0.4 version and place them in the newly created 2.0.4 dirs.
2) also modify all references to versions and slots found in the module.xml of the api and impl. I based mine on referencing the 1.2 impl and ap that come w/ JBoss AS 7.
This worked to the point that my app almost deployed, but now I am stuck with the following exception:
16:10:20,326 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-3) Unexpected exception when attempting to tear down the Mojarra runtime: java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.application.ApplicationFactory
If you get further, please let me know.
-
3. Re: Using Mojarra 2.0.4 with JBoss AS 7.0.2.Final
nickarls Oct 17, 2011 1:32 AM (in response to bwilly)If you are OK with downgrading on the AS, the modules needed are javax.faces.api (main) and com.sun.jsf-impl (main)
-
4. Re: Using Mojarra 2.0.4 with JBoss AS 7.0.2.Final
jshepher May 16, 2012 1:11 AM (in response to lucaster)In the modules/javax/faces/api/2.0.4 folder, If you had defined your module.xml like this:
<module xmlns="urn:jboss:module:1.1" name="javax.faces.api">
You need to change it to this:
<module xmlns="urn:jboss:module:1.1" name="javax.faces.api" slot="2.0.4"/>