I am using JSF 1.2, IceFaces 1.7 and Liferay 5.2.3 with JBoss 5.1.0
As soon as I deploy my war file(JSF - Icefaces - Liferay portlet) the server expands it and throws an exception:-
11:18:30,181 ERROR [2-sun-facelets-portlet]] StandardWrapper.Throwable java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.context.FacesContextFactory at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:256) at javax.faces.webapp.FacesServlet.init(FacesServlet.java:142) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
Remove the jsf specific jars from the .war, just read this one
http://www.jboss.org/community/wiki/RemoveJSF