Sun GlassFish Enterprise Server v3 Prelude Administration Guide

ProcedureTo Delete an HTTP Listener

The remote delete-http-listener command enables you to delete an existing HTTP listener. This disables secure communications for the listener.

  1. Ensure that the server is running.

    Remote commands require a running server.

  2. Obtain the exact name of the HTTP listener that you are deleting.

    To list the existing HTTP listeners:


    asadmin list-http-listeners
    
  3. If necessary, notify users that the HTTP listener is being deleted.

  4. Delete an HTTP listener by using the delete-http-listener(1) command.

  5. To apply your changes, restart Enterprise Server.

    1. Stop Enterprise Server.

      For instructions, see To Stop a Domain (or Server).

    2. Start Enterprise Server.

      For instructions, see To Start a Domain (or Server).


Example 8–3 Deleting an HTTP Listener

The following example command deletes the HTTP listener named sampleListener from localhost:


delete-http-listener sampleListener

Information similar to the following is displayed:


Command delete-http-listener executed successfully.

See Also

To see the full syntax and options of the command, type asadmin delete-http-listener -help at the command line.