[jboss-user] [Beginners Corner] - Re: JBoss 4.2.2 with myfaces - java.lang.RuntimeException: C

jaikiran do-not-reply at jboss.com
Mon Jan 14 11:55:05 EST 2008


I dont have experience with JSF. Based on the wiki entry at http://wiki.jboss.org/wiki/Wiki.jsp?page=JBoss5AndMyFaces

anonymous wrote : There is no technical reason to use MyFaces Core on JBoss 4.2 or JBoss 5.x. But there are other reasons you might want to bundle it with your WAR. For instance, you might have an old JSF application that already uses MyFaces and you don't want to retest your app on a new JSF implementation. In that case, you can bundle the JSF implementation with your WAR and add this to your web.xml:
  | 
  |   | <context-param>
  |   |      <param-name>org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL</param-name>
  |   |      <param-value>true</param-value>
  |   | </context-param> 
  | 
  | This will cause JBoss to ignore the built-in JSF implementation as long as you use the default classloader settings. If you declare a classloader in jboss-web.xml or set useJBossWebLoader = true then the above <context-param> will not work. 

So have you declared your own classloder for your application, which might be the reason why its not working.


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

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



More information about the jboss-user mailing list