A heads up on building RichFaces on some Linux systems.
I was getting the following error when building
java.lang.OutOfMemoryError: unable to create new native thread
in some of the JUnit tests e.g.
This is NOT an out of memory error. The test case above creates 1000 threads and in my Fedora 9 system the per user thread limit is 1024 by default.
simply change the limit before running the build and all is well
ulimit -u 2048
Thank you for letting us know about the issue and for providing workaround!