Skip Headers
Oracle GlassFish Server Reference Manual
Release 3.1.2

Part Number E24938-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

delete-protocol

removes a protocol

Synopsis

delete-protocol [--help]
[--target target]
protocol-name

Description

The delete-protocol subcommand removes the specified protocol. This subcommand is supported in remote mode only.

Options

--help
-?

Displays the help text for the subcommand.

--target

Deletes the protocol only from the specified target. Valid values are as follows:

server

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

configuration-name

Deletes the protocol from the specified configuration.

cluster-name

Deletes the protocol from all server instances in the specified cluster.

standalone-instance-name

Deletes the protocol from the specified standalone server instance.

Operands

protocol-name

The name of the protocol to be deleted.

Examples

Example 1   Deleting a Protocol

The following command deletes the protocol named http-1:

asadmin> delete-protocol http-1
Command delete-protocol executed successfully.

Exit Status

0

command executed successfully

1

error in executing the command

See Also

create-protocol(1), list-protocols(1)

asadmin(1M)