So i spent most of my night on this for no result so far...
The underlying problem is that jsf-portlet.jar includes a faces-config.xml to set up
different factories.
That faces-config.xml is read by myFaces in 4.0 and then breaks everything. If you remove
it then it won't work in 4.2 (it's using a servlet factory instead of some portlet
factory, hence the stack trace that Sohil posted).
I tried to programatically set those factories in the case that it is running wih JSF Sun
RI, but once set you cannot change it and the factory for servlet environment is
indirectly included through the JBossJSFConfigureListener then it's too late to
override that.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4055982#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...