I'm not entirely sure what you are asking here, but you can set the number of available threads for a connector in deploy/jboss-web.deployer/server.xml
Hope this helps.
We have some servlets talking to the Crystal Report Server. Since it takes some times for the crystal servlets to process a request, we do not want to open too many threads at the same time.
In weblogic 6.1, we can configure a servlet queue and limit the number of threads (e.g. 5) for the queue. If too many crystal request comes at the same time, the first 5 will be processed. And the rest of them will queue up.
I want to do the same thing in JBoss. Should I open a new connector? Any example?
The value specified in server.xml is the total number of threads available to service any client requests and does not discriminate between different servlets. You can however limit the number of available threads for a given ejb, so you could delegate the request to the crystal report server to an ejb. The pool size can then be specified in standardjboss.xml.