-
1. Re: Configure RichFaces for rich:tree
brackxm May 23, 2008 8:27 PM (in response to jfrankman)If you do not want to change the classloading configuration you can put all the jar in the lib dir of your ear so they have the same classloader.
-
2. Re: Configure RichFaces for rich:tree
jfrankman May 26, 2008 5:06 PM (in response to jfrankman)I tried your suggestion but get the following:
Caused by: java.lang.NoClassDefFoundError: org/apache/commons/digester/Digester
This came when I removed the richface jars from the War/web-inf directory into the ear lib.
-
3. Re: Configure RichFaces for rich:tree
blabno May 27, 2008 9:13 AM (in response to jfrankman)Put
Class-Path: lib/
in you war/META-INF/MANIFEST.MF and move libs into ear/lib. This works for me.
If you want to keep libs directly in ear/ then tryClass-Path: /
but I haven't tried it.
-
4. Re: Configure RichFaces for rich:tree
jfrankman May 27, 2008 9:44 PM (in response to jfrankman)Thanks for the suggestion. That did the trick. It is working fine now. I assume there are no side affects with moving all jars from the war lib directory to the ear lib directory.
Thanks.
-
5. Re: Configure RichFaces for rich:tree
enda Jul 19, 2008 2:58 AM (in response to jfrankman)Are you moving all libs from *.war/WEB-INF/lib to ear/lib? or just richfaces libraries?
I have exploded war so I do not have META-INF there, I expect you mean to create one?
Thanks.
-
6. Re: Configure RichFaces for rich:tree
enda Jul 19, 2008 3:25 AM (in response to jfrankman)Ok I got something stable.
- richfaces + seam mail works
- Not extra class load configuration necessary (no modification of java2ClassLoadingCompliance)
- No extra meta-file necessary
- RichFaces 3.2.1 seam 2.0.3.CR1
- in app.war/WEB-INF/lib are jboss-seam-*.jar (6 in total)
- in app.ear/lib is everything else. (commons*..,richfaces*..,drools..,antlr,janino,core,jboss-el,easy-jclaim,jbpm,jsf,mvel..)
seems work..
-
7. Re: Configure RichFaces for rich:tree
mozyxl Aug 12, 2008 4:47 PM (in response to jfrankman)The following change to the build.xml did the trick for me:
<copy todir="${war.dir}/WEB-INF/lib"> <fileset dir="${lib.dir}"> <include name="jboss-seam-*.jar"/> <!-- <includesfile name="deployed-jars-war.list" /> <exclude name="jboss-seam-gen.jar" /> --> </fileset> </copy> <copy todir="${ear.dir}/lib"> <fileset dir="${lib.dir}"> <includesfile name="deployed-jars-ear.list" /> <includesfile name="deployed-jars-war.list"/> <exclude name="jboss-seam-*.jar"/> <exclude name="jboss-seam-gen.jar" /> </fileset> </copy>
-
8. Re: Configure RichFaces for rich:tree
blabno May 9, 2014 7:21 AM (in response to enda)I've moved richfaces-ui/api/iml to ear/lib, but I was getting strange NullPointerException in NamespaceHanlder. I had to move jsf-facelets to ear/lib also.