Oracle GlassFish Server Reference Manual Release 3.1.2 Part Number E24938-01 |
|
|
View PDF |
removes a network listener
delete-network-listener [--help] [--target target] listener-name
The delete-network-listener
subcommand removes the specified network listener. This subcommand is supported in remote mode only.
--help
-?
Displays the help text for the subcommand.
--target
Deletes the network listener only from the specified target. Valid values are as follows:
server
Deletes the network listener from the default server instance. This is the default value.
Deletes the network listener from the specified configuration.
Deletes the network listener from all server instances in the specified cluster.
Deletes the network listener from the specified standalone server instance.
The name of the network listener to be deleted.
The following command deletes the network listener named sampleListener
:
asadmin> delete-network-listener sampleListener
Command delete-network-listener executed successfully.
command executed successfully
error in executing the command