• Post Reply Bookmark Topic Watch Topic
  • New Topic

Configuration of a BasicThreadPool in Wildfly 8.2.0  RSS feed

 
Murali Kadiyala
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

We are upgrading Jboss 5.1.0 GA to WildFly 8.2.0. Please provide the information regarding "org.jboss.util.threadpool.BasicThreadPool" in Wildfly 8.2.0.

Currently we are using following configuration in jboss-service.xml in Jboss 5.1.0 GA.

So what are required changes we need to do in Wildfly 8.2.0.

<mbean code="org.jboss.util.threadpool.BasicThreadPool"
         name="jboss.system:service=CustomThreadPool">
         <attribute name="Name">AutoServ Async Threads</attribute>
         <attribute name="ThreadGroupName">System Threads</attribute>
         <!-- How long a thread will live without any tasks in MS -->
         <attribute name="KeepAliveTime">60000</attribute>
         <!-- The max number of threads in the pool -->
         <attribute name="MaximumPoolSize">400</attribute>
         <!-- The max number of tasks before the queue is full -->
         <attribute name="MaximumQueueSize">1000</attribute>
         <!-- The behavior of the pool when a task is added and the queue is full.
         abort - a RuntimeException is thrown
         run - the calling thread executes the task
         wait - the calling thread blocks until the queue has room
         discard - the task is silently discarded without being run
         discardOldest - check to see if a task is about to complete and enque
            the new task if possible, else run the task in the calling thread
         -->
         <attribute name="BlockingMode">run</attribute>
   </mbean>

Regards,
Murali
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!