Stopping a server

You can stop the server from the Servers view.

Prerequisites:

To stop the server:

  1. In the Servers view ( Window > Show View > Other > Server > Servers > OK), select the server that you want to stop.

  2. Click the

    Stop the server

    icon in the toolbar.

    In the

    Status column of the Servers view, the status of the server changes to Stopped.

  3. If for some reason the server fails to stop, you can terminate the process as follows:

    1. Switch to the Debug perspective.

    2. In the Process view, select the server process that you want to stop.

    3. Click the

      Terminate

      icon in the toolbar.

Note: When terminating a server, the server process will end and the server will not go through the normal routine of stopping, for example calling the destroy() method on a servlet.