An IIOP listener is a listen socket that accepts incoming connections from the remote clients of enterprise beans and from other CORBA-based clients. Multiple IIOP listeners can be configured for GlassFish Server. For each listener, specify a port number (optional; default 1072), a network address, and security attributes (optional). If you create multiple listeners, you must assign a different port number for each listener.
The following topics are addressed here:
Use the create-iiop-listener subcommand in remote mode to create an IIOP listener.
Ensure that the server is running.
Remote subcommands require a running server.
Create an IIOP listener by using the create-iiop-listener(1) subcommand.
Information about the properties for the subcommand is included in this help page.
To apply your changes, restart GlassFish Server.
See To Restart a Domain.
This example creates an IIOP listener named sample_iiop_listener.
asadmin> create-iiop-listener --listeneraddress 192.168.1.100 --iiopport 1400 sample_iiop_listener Command create-iiop-listener executed successfully. |
You can also view the full syntax and options of the subcommand by typing asadmin help create-iiop-listener at the command line.
Use the list-iiop-listeners subcommand in remote mode to list the existing IIOP listeners.
Ensure that the server is running.
Remote subcommands require a running server.
List the IIOP listeners by using the list-iiop-listeners(1) subcommand.
This example lists all the IIOP listeners for the server instance.
asadmin> list-iiop-listeners orb-listener-1 SSL SSL_MUTUALAUTH sample_iiop_listener Command list-iiop-listeners executed successfully. |
You can also view the full syntax and options of the subcommand by typing asadmin help list-iiop-listeners at the command line.
List the IIOP listeners by using the list-iiop-listeners(1) subcommand.
Modify the values for the specified IIOP listener by using the set(1) subcommand.
The listener is identified by its dotted name.
This example changes SSL from enabled to disabled.
asadmin> set "server.iiop-service.iiop-listener.SSL.enabled" server.iiop-service.iiop-listener.SSL.enabled=false Command set executed successfully. |
Use the delete-iiop-listener subcommand in remote mode to delete an IIOP listener.
Ensure that the server is running.
Remote subcommands require a running server.
List the IIOP listeners by using the list-iiop-listeners(1) subcommand.
Delete an IIOP listener by using the delete-iiop-listener(1) subcommand.
To apply your changes, restart GlassFish Server.
See To Restart a Domain.
This example deletes the IIOP listener named sample_iiop_listener.
asadmin> delete-iiop-listener sample_iiop_listener Command delete-iiop-listener executed successfully. |
You can also view the full syntax and options of the subcommand by typing asadmin help delete-iiop-listener at the command line.