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.