- removes a thread pool
delete-threadpool [--help] [--target target] threadpool-id
Removes the thread pool with the specified ID. This subcommand is supported in remote mode only.
Displays the help text for the subcommand.
This option specifies the target from which you are removing the thread pool.
Valid values are as follows:
Deletes the thread pool for the default GlassFish Server instance server and is the default value.
Deletes the thread pool for the named configuration.
Deletes the thread pool for every instance in the cluster.
Deletes the thread pool for a particular instance.
An ID for the work queue, for example, thread-pool1, threadpool-2, and so forth.
Example 1 Deleting a Thread Pool
This example deletes threadpool-l.
asadmin> delete-threadpool threadpool-1 Command delete-threadpool executed successfully
subcommand executed successfully
error in executing the subcommand