Working With Thread Pools - Sun Microsystems GlassFish Enterprise Server 2.1 Administration Manual

Hide thumbs Also See for GlassFish Enterprise Server 2.1:
Table of Contents

Advertisement

Working with Thread Pools

Working with Thread Pools
To create a thread pool using the Admin Console, go to Configuration > Thread Pools >
Current Pools > New.
For more details on creating thread pools, click Help in the Admin Console.
You can also create a thread pool from the command-line by using the asadmin command,
create-threadpool.
To edit a settings for a thread pool using the Admin Console, go to Configuration > Thread
Pools > Current Pools and select the pool you want to configure. Modify the values for the
selected thread pool, save and restart the Enterprise Server.
For more details on editing thread pools, click Help in the Admin Console.
To delete a thread pool using the Admin Console, go to Configuration > Thread Pools >
Current Pools. Check the thread pool name to be deleted and click Delete.
You can also create a thread pool from the command-line by using the asadmin command,
delete-threadpool.
164
Sun GlassFish Enterprise Server 2.1 Administration Guide • December 2008
Enter the name of the thread pool in the Thread Pool ID field.
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.
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.
Enter the number, in seconds, after which idle threads are removed from pool in the Idle
Timeout field.
Enter the total number of work queues that are serviced by this thread pool in the Number
of Work Queues field.
Restart the Enterprise Server.

Advertisement

Table of Contents
loading

Table of Contents