|Oracle GlassFish Server Reference Manual
Part Number E24938-01
removes a network listener
delete-network-listener [--help] [--target target] listener-name
delete-network-listener subcommand removes the specified network listener. This subcommand is supported in remote mode only.
Displays the help text for the subcommand.
Deletes the network listener only from the specified target. Valid values are as follows:
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
asadmin> delete-network-listener sampleListener Command delete-network-listener executed successfully.
command executed successfully
error in executing the command