Hitachi

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


2.19.4 delete-jms-host

Removes a JMS host.

Synopsis

asadmin [asadmin-options] delete-jms-host [--help] [--target target]
    jms_host_name

Storage location

Application Server installation directory/javaee/glassfish/bin

Function

The delete-jms-host subcommand is supported in remote mode only. Remote asadmin subcommands require a running domain administration server (DAS).

Precondition

DAS has to be in a running state.

Arguments

--help | -?

Displays the help text for the subcommand.

--target target

Deletes the JMS host, only from the specified target.

Type: String

The following values can be specified:

  • server

    Deletes the JMS host from the default server instance. This is the default value.

  • configuration-name

    Deletes the JMS host from the specified configuration.

  • cluster-name

    Deletes the JMS host from every server instance in the specified cluster.

  • instance_name

    Deletes the JMS host from the specified server instance.

Default value: server

jms_host_name

Specifies the name of the host to be deleted.

Type: String

The following values can be specified:

  • The name of the host

Default value: N/A

Examples

The following example deletes the JMS host named MyNewHost on the server instance instance1.

asadmin delete-jms-host --target instance1 MyNewHost

Exit Status

Exit Status

Explanation

0

command executed successfully.

1

error in executing the command.