delete-managed-thread-factory

Previous Next Contents

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

Description

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.

Options

asadmin-options

Options for the asadmin utility. For information about these options, see the asadmin(1M) help page.

--help
-?

Displays the help text for the subcommand.

--target

Specifies the target from which you are deleting the resource. Valid targets are:

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.

Operands

managed_thread_factory_name

The JNDI name of the resource to be deleted.

Examples

Example 1   Deleting a Managed Thread Factory Resource

This example deletes the managed thread factory resource named concurrent/myThreadFactory.

asadmin> delete-managed-thread-factory concurrent/myThreadFactory
Managed thread factory concurrent/myThreadFactory deleted successfully.
Command delete-managed-thread-factory executed successfully.

Exit Status

0

command executed successfully

1

error in executing the command

See Also


Previous Next Contents
Eclipse Foundation Logo  Copyright © 2019, Oracle and/or its affiliates. All rights reserved.