This content has been marked as final.
Show 2 replies
-
1. Re: jsf application and classpath
alesj Jun 16, 2011 12:38 PM (in response to lysy78)http://jsfunit.blogspot.com/2010/12/jsf-on-jboss-as6-final.html
Trace log for org.jboss.classloading should print out full classpath.
-
2. Re: jsf application and classpath
ssilvert Jun 16, 2011 12:57 PM (in response to lysy78)Yes, if you are bundling a JSF implementation with your WAR then you do indeed need to set org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL=true. Otherwise, both your impl and the default JSF impl will end up in the classpath.
Note that when you bundle you are on your own to hook up integration points like Bean Validation and JEE5 annotations. It's better if you set up a custom JSF configuration and do something like this:
<context-param> <param-name>org.jboss.jbossfaces.JSF_CONFIG_NAME</param-name> <param-value>MyPerfectJSFConfig</param-value> </context-param>
See the JSF on AS6 documentation for details.
Stan