I had to add jboss-faces.jar to my war's lib folder, along with jsf jars.
It then loads the JSF integration classes from my scoped classloader and uses the updated JSF version.
Yes, I did see that link.
However, I don't want to depend on JBoss to be configured correctly (as far as a specific JSF version is concerned, for example).
Otherwise we could run into problems when multiple applications are deployed in the same server (which is not too uncommon with out apps).
this might help: http://www.jboss.org/community/wiki/JBoss5AndMyFaces
I tried this for an earlier version of 1.2 and it worked, but I lost the feature "EJB injection". Maybe this was because of API changes, maybe JBoss does not support this for other JSF implementations. Tell me your results ;-).
Thanks for the info.
This will cause JBoss to ignore the built-in JSF implementation as long as you use the default classloader settings.
Unfortunately, I use a scoped classloader in order to get the new hibernate version bundled with my app.
But I got it working by adding jboss-faces as a dependency.
My war's lib folder now looks like this:
lib +-- jsf-api-1.2_13.jar +-- jsf-impl-1.2_13.jar +-- jboss-faces-4.2.3.GA.jar +-- ... //other dependencies
This configuration is working so far.