[jboss-dev-forums] [Design of JBoss Portal] - Re: Out-of-the-Box Integration of 2.6 with JBoss AS 4.2
thomas.heute@jboss.com
do-not-reply at jboss.com
Wed Jun 20 07:47:38 EDT 2007
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#4055982
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4055982
More information about the jboss-dev-forums
mailing list