0 Replies Latest reply on Sep 17, 2008 2:02 AM by jkv

    Custom SAR File Thread Count

    jkv

      I am using JBoss 4.2.3 version of JBoss. I created a custom SAR file which needs a threaded model, so I am using ThreadPoolExecutor within my SAR file. I have counfigured the ThreadPoolExecutor to provide me 100 threads. Will JBoss allow to use this ThreadPoolExecutor with my thread count or it will limit the configurations of the thread count within

      all\conf\jboss-service.xml file, which says

      mbean code="org.jboss.util.threadpool.BasicThreadPool"
      name="jboss.system:service=ThreadPool"
      ................
      .............
      ..............
      The max number of threads in the pool
      attribute name="MaximumPoolSize" 10
      The max number of tasks before the queue is full
      attribute name="MaximumQueueSize" 1000
      ..................

      Suggestions are greatly appreciated. Thanks..

      Regards