Sun GlassFish Enterprise Server v3 Administration Guide

ProcedureTo Delete an HTTP Network Listener

Use the delete-http-listener subcommand or the delete-network-listener subcommand in remote mode to delete an existing HTTP listener. This disables secure communications for the listener.

  1. Ensure that the server is running.

    Remote subcommands require a running server.

  2. List HTTP listeners by using the list-http-listeners(1) subcommand.

  3. Delete an HTTP listener by using the delete-http-listener(1) or delete-network-listener(1) subcommand.

  4. To apply your changes, restart Enterprise Server.

    See To Restart a Domain.

Example 16–13 Deleting an HTTP Listener

This example deletes the HTTP listener named sampleListener:

asadmin> delete-http-listener sampleListener
Command delete-http-listener executed successfully.

See Also

You can also view the full syntax and options of the subcommand by typing asadmin help delete-http-listener or asadmin help delete-network-listener at the command line.