I've got a JMS application on Jboss-4.0.0 setup on a SUN OS 5.8
(Sun JVM 1.4.2_03).
My application receives some queues from a JMS external server. When the queues are more than 1000 Jboss stopped working, printing an exception stating that there are "TOO MANY OPEN FILES". After restart, it
worked again, but only untill 1000 files, then it stopped again.
After searching the web, I found that this is caused by the limit on open
file descriptors on unix. Then I set the parameters:
in /proc/system file.
Afther this I set "ulimit -n unlimited" in ".profile" file of jboss user.
When the JMS queues are more than the "unlimited" parameter on the UNIX machine, the exception is trown again.
Is this a known bug with Jboss-4.0.0, or can I specify some parameters on jboss or do I have to reconfigure my system?