Saturday, January 24, 2015

JBoss7.1.1 JSF | JBoss AS 7.1.1 - Use Alternative JSF Implementation

JBoss AS 7.1 ships with JSF 2.1.7 which causes NullPointerException at startTrackViewModifications(StateContext.java:172).
The workaround to overcome this is to use your own JSF implementation.
First, copy JSF API jar (e.g. jsf-api-2.1.16.jar) to ${jboss_home}/modules/javax/faces/api/main, and then edit module.xml to add
Similarly, copy JSF implementation jar to C:\jboss-as-7.1.1.Final\modules\com\sun\jsf-impl\main and edit module.xml.


Create a Successful Online Store at Bigcommerce! Try it Free Now!

No comments:

Post a Comment