Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Administration Guide

Admin Console Tasks for Thread Pools

ProcedureTo create a thread pool

  1. In the tree component select the Configurations node.

  2. Select the instance to configure:

    • To configure a particular instance, select the instance’s config node. For example, the default instance, server, select the server-config node.

    • To configure the default settings for all instances, select the default-config node.

  3. Select the Thread Pools node.

  4. Under Current Pools click New.

  5. Enter the name of the thread pool in the Thread Pool ID field.

  6. Enter the minimum number of threads in the thread pool servicing requests in this queue in the Minimum Thread Pool Size field.

    These threads are created up front when this thread pool is instantiated.

  7. Enter the maximum number of threads in the thread pool servicing requests in this queue in the Maximum Thread Pool Size field.

    This is the upper limit on the number of threads that exist in the thread pool.

  8. Enter the number, in seconds, after which idle threads are removed from pool in the Idle Timeout field.

  9. Enter the total number of work queues that are serviced by this thread pool in the Number of Work Queues field.

  10. Click OK.

  11. Restart the Application Server.

Equivalent asadmin command

create-threadpool

ProcedureTo edit a thread pool

  1. In the tree component select the Configurations node.

  2. Select the instance to configure:

    • To configure a particular instance, select the instance’s config node. For example, the default instance, server, select the server-config node.

    • To configure the default settings for all instances, select the default-config node.

  3. Select the Thread Pools node.

  4. Under Current Pools select the name of the thread pool to be changed.

  5. Enter the minimum number of threads in the thread pool servicing requests in this queue in the Minimum Thread Pool Size field.

    These threads are created up front when this thread pool is instantiated.

  6. Enter the maximum number of threads in the thread pool servicing requests in this queue in the Maximum Thread Pool Size field.

    This is the upper limit on the number of threads that exist in the thread pool.

  7. Enter the number, in seconds, after which idle threads are removed from pool in the Idle Timeout field.

  8. Enter the total number of work queues that are serviced by this thread pool in the Number of Work Queues field.

  9. Click Save.

  10. Restart the Application Server.

ProcedureTo delete a thread pool

  1. In the tree component, select the Configurations node.

  2. Select the instance to configure:

    • To configure a particular instance, select the instance’s config node. For example, the default instance, server, select the server-config node.

    • To configure the default settings for all instances, select the default-config node.

  3. Select the Thread Pools node.

  4. Check the thread pool name to be deleted in the Current Pools table.

  5. Click Delete.

  6. Restart the Application Server.

Equivalent asadmin command

delete-threadpool