I have an application running with JBoss AS 5 which downloads some content from remote server. It uses Asynchronous proxy for EJBs to do parallel download . The problem now is it is creating too many threads to download and causes the other web server to crash. Is there a way to control the number of threads created with it? There doesn't seem to be much in the documentation. Thanks for your help.
Anyone? I tried to adjust the value of jboss.system:service=ThreadPool under conf/jboss-service.xml, but it does not help.