Hitachi

Hitachi Application Server V10 Command Reference Guide (For UNIX® Systems)


2.13.3 delete-protocol

Removes a protocol.

Synopsis

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

Storage location

Application Server installation directory/javaee/glassfish/bin

Function

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

Precondition

Domain Administration Server (DAS) is running.

Arguments

--help | -?

Displays the help text for the subcommand.

--target target

Specifies the target from which you are deleting the protocol.

Type: String

The following values can be specified:

  • 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.

Default value: server

protocol-name

Specifies the name of the protocol.

Type: String

The following values can be specified:

  • Name of the protocol

Default value: N/A

Examples

The following command deletes the protocol named http-1 on the server instance instance1.

asadmin delete-protocol --target instance1 http-1

Exit Status

Exit Status

Explanation

0

command executed successfully.

1

error in executing the command.