Hitachi

Hitachi Application Server V10 Command Reference Guide (For UNIX® Systems)


2.21.2 delete-threadpool

Removes a thread pool.

Synopsis

asadmin [asadmin-options] delete-threadpool [--help]
    [--target target] threadpool-id

Storage location

Application Server installation directory/javaee/glassfish/bin

Function

The delete-threadpool subcommand removes the thread pool with the specified ID.

This subcommand is supported in remote mode only.

Precondition

Domain Administration Server (DAS) is running.

Arguments

--help | -?

Displays the help text for the subcommand.

--target target

Specifies the target from which you are removing the thread pool.

Type: String

The following values can be specified:

  • server

    Deletes the thread pool for the default server instance server and is the default value.

  • configuration-name

    Deletes the thread pool for the named configuration.

  • cluster-name

    Deletes the thread pool for every instance in the cluster.

  • instance-name

    Deletes the thread pool for a particular instance.

Default value: server

threadpool-id

Specifies an ID for the work queue.

Type: String

The following values can be specified:

  • ID of thread pool

Default value: N/A

Examples

The following example deletes threadpool-l on the server instance instance1.

asadmin delete-threadpool --target instance1 threadpool-1

Exit Status

Exit Status

Explanation

0

command executed successfully.

1

error in executing the command.