Adds an IIOP listener.


asadmin [asadmin-options] create-iiop-listener [--help]
--listeneraddress address
[--iiopport iiop-port-number] [--securityenabled={false|true}] [--enabled={true|false}]
[--property (name=value)[:name=value]*]
[--target target] listener_id


The create-iiop-listener subcommand creates an IIOP listener. This subcommand is supported in remote mode only.



Options for the asadmin utility. For information about these options, see the asadmin help page.


Displays the help text for the subcommand.


Either the IP address or the hostname (resolvable by DNS).


The IIOP port number. The default value is 1072.


If set to true, the IIOP listener runs SSL. You can turn SSL2 or SSL3 ON or OFF 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.


If set to true, the IIOP listener is enabled at runtime. The default value is true.


Optional attribute name/value pairs for configuring the IIOP listener.


Whether to lazily initialise the listener. The default value is false.


Specifies the target for which you are creating the IIOP listener. Valid values are:


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


Creates the listener for the named configuration.


Creates the listener for every server instance in the cluster.


Creates the listener for a particular standalone server instance.



A unique identifier for the IIOP listener to be created.


Example 1 Creating an IIOP Listener

The following command creates an IIOP listener named sample_iiop_listener:

asadmin> create-iiop-listener --listeneraddress
--iiopport 1400 sample_iiop_listener
Command create-iiop-listener executed successfully.

Example 2 Creating an IIOP Listener with a Target Cluster

The following command creates an IIOP listener named iiop_listener_2 for the cluster mycluster. It uses the target option.

asadmin> create-iiop-listener --listeneraddress --iiopport 1401
--target mycluster iiop_listener_2
Command create-iiop-listener executed successfully.

Exit Status


command executed successfully


error in executing the command

See Also