[jboss-user] [JBoss Portal] - Re: JBOSS Portal 2.6 + MyFaces within my application not wor

chris.laprun@jboss.com do-not-reply at jboss.com
Fri Jul 6 16:52:33 EDT 2007


The problem seems to be that you are loading JSF from two different spots resulting in java.lang.IllegalArgumentException: Class org.jboss.portal.faces.portlet
.JSFMetaBridgeViewHandlerImpl is no javax.faces.application.ViewHandler (in essence a ClassCastException) due to the fact that the classes being compared come from 2 different classloaders. I am not sure what the solution would be as, for it to work, you would need to somehow instruct Portal to use the JSF implementation bundled in your app.
Another option that might work would be to replace JBoss AS' JSF implementation by yours, remove the bundled version from your app and revert the org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL instruction. This should ensure that both your app and Portal use the same JSF implementation. Not sure if that's an option for you, though.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061479#4061479

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061479



More information about the jboss-user mailing list