Oracle GlassFish Server 3.0.1 Administration Guide

ProcedureTo Update a Thread Pool

Use the set subcommand to update the values for a specified thread pool.

  1. List the existing thread pools by using the list-threadpools(1) subcommand.

  2. Modify the values for a thread pool by using the set(1) subcommand.

    The thread pool is identified by its dotted name.

  3. To apply your changes, restart GlassFish Server.

    See To Restart a Domain.


    Note –

    Restart is not necessary for thread pools used by the web container.



Example 5–3 Updating a Thread Pool

This example sets the max-thread-pool-size from its previous value to 8.


asadmin> set server.thread-pools.thread-pool.http-thread-pool.max-thread-pool-size=8
Command set executed successfully

See Also

You can also view the full syntax and options of the subcommand by typing asadmin help set at the command line.