Hitachi

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


2.24.8 delete-managed-thread-factory

Removes a managed thread factory resource with the specified JNDI name.

Synopsis

asadmin [asadmin-options] delete-managed-thread-factory [--help]
    [--target target]
    managed_thread_factory_name

Storage location

Application Server installation directory/javaee/glassfish/bin

Function

The delete-managed-thread-factory subcommand removes a managed thread factory resource with the specified JNDI name.

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 deleting the resource.

Type: String

The following values can be specified:

  • server

    Deletes the resource from the default server instance. This is the default value.

  • domain

    Deletes the resource from the domain.

  • cluster_name

    Deletes the resource from every server instance in the specified cluster.

  • instance_name

    Deletes the resource from the specified server instance.

Default value: server

managed_thread_factory_name

Specifies the JNDI name of the resource.

Type: String

The following values can be specified:

  • JNDI name of the resource

Default value: N/A

Examples

The following example deletes the managed thread factory resource named concurrent/myThreadFactory on the server instance instance1.

asadmin delete-managed-thread-factory --target instance1
concurrent/myThreadFactory

Exit Status

Exit Status

Explanation

0

command executed successfully.

1

error in executing the command.