Delete-Context-Service
Removes a context service resource with the specified JNDI name.
Synopsis
asadmin [asadmin-options] delete-context-service [--help]
[--target target]
context-service-name
Description
The delete-context-service subcommand removes a context service 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 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.
Examples
Example 1 Deleting a Context Service Resource
This example deletes the context service resource named concurrent/myContextService.
asadmin> delete-context-service concurrent/myContextService
Context service concurrent/myContextService deleted successfully.
Command delete-context-service executed successfully.