Hitachi

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


2.14.1 create-iiop-listener

Adds an IIOP listener.

Synopsis

asadmin [asadmin-options] create-iiop-listener [--help]
    --listeneraddress address [--iiopport iiop-port-number]
    [--securityenabled={false|true}] [--enabled={true|false}]
    [--target target] listener_id

Storage location

Application Server installation directory/javaee/glassfish/bin

Function

The create-iiop-listener subcommand of asadmin creates an IIOP listener.

This command is supported in remote mode only.

Precondition

DAS instance has to be in a running state.

Arguments

--help | -?

Displays the help text for the subcommand.

--listeneraddress address

Displays either the IP address or the hostname (resolvable by DNS).

Type: String

The following values can be specified:

  • Specify the IP address

Default value: N/A

--iiopport iiop-port-number

Specifies the IIOP port number. The default value is 1072.

Type: Integer

The following values can be specified:

  • 1 to 65535

Default value: 1072

--securityenabled={false|true}

Specifies that the IIOP listener runs SSL, if set to true. You can turn ON or OFF the SSL2 or SSL3 and set ciphers using an SSL element.

The security setting globally enables or disables SSL by making certificates available to the server instance. The default value is false.

Type: Boolean

The following values can be specified:

  • true

  • false

Default value: false

--enabled={true|false}

Enables the IIOP listener at runtime, if set to true. The default value is true.

Type: Boolean

The following values can be specified:

  • true

  • false

Default value: true

--target target

Specifies the target for which an IIOP listener is created.

Type: String

The following values can be specified:

  • server

    Creates the listener for the default server instance server. This is the default value.

  • configuration_name

    Creates the listener for the named configuration.

  • cluster_name

    Creates the listener for every server instance in the cluster.

  • stand-alone_instance_name

    Creates the listener for a particular standalone server instance.

Default value: server

listener_id

Creates a unique identifier for the IIOP listener.

Type: String

The following values can be specified:

  • Specify the listener ID

Default value: N/A

Examples

The following example creates an IIOP listener on the server instance instance1.

asadmin create-iiop-listener --target instance1 --listeneraddress 192.168.1.100
--iiopport 1400 sample_iiop_listener

Exit Status

Exit Status

Explanation

0

command executed successfully.

1

error in executing the command.