-
1. Re: Is there a way to update JSF without replacing the defau
thomasgo Nov 2, 2009 5:22 AM (in response to thomasgo)OK, nevermind.
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. -
2. Re: Is there a way to update JSF without replacing the defau
vickyk Nov 2, 2009 6:54 AM (in response to thomasgo)Did you got a chance to look at this link
http://www.jboss.org/community/wiki/RemoveJSF -
3. Re: Is there a way to update JSF without replacing the defau
thomasgo Nov 2, 2009 11:46 AM (in response to thomasgo)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). -
4. Re: Is there a way to update JSF without replacing the defau
wolfgangknauf Nov 3, 2009 11:33 AM (in response to thomasgo)Hi Thomas,
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 ;-).
Best regards
Wolfgang -
5. Re: Is there a way to update JSF without replacing the defau
thomasgo Nov 3, 2009 2:08 PM (in response to thomasgo)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. -
6. Re: Is there a way to update JSF without replacing the defau
boraldo1 Dec 25, 2009 12:02 PM (in response to thomasgo)Thomas, I've done so but got
java.lang.NoClassDefFoundError: com/sun/org/apache/commons/digester/RuleSet
What's wrong ?