3 Replies Latest reply on Feb 27, 2008 4:55 AM by gav_on_rails

    how to configure the thread count of execute queues in JBoss

    johnnywang

      We are migrating the Weblogic server to JBoss server.

      In weblogic, we have six active execute queues for different servlets. And we configure the thread count to 5.

      How can I do the same configuration in JBoss?

      Please help!

      Thanks!

        • 1. Re: how to configure the thread count of execute queues in J
          gav_on_rails

          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.

          • 2. Re: how to configure the thread count of execute queues in J
            johnnywang

            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?

            • 3. Re: how to configure the thread count of execute queues in J
              gav_on_rails

              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.