Stopping a server
You can stop the server from the Servers view.
Prerequisites:
- For WebSphere® Application Server, wait for the server to start completely before stopping the server.
Restriction: When you try to stop a WAS while the server is starting, the server will continue to start and ignore the stop request. The Status column in the Servers view, might change from Starting to Stopped. But when the server finish starting, the status column changes back to Started. You need to wait for the server to start completely before stopping the server.
- For remote WAS, you can stop the remote server from the development tool. However, starting a remote WAS from the development tool is not supported. You have to manually start the server on the remote machine when the server is stopped.
If the remote WAS needs restarting, you can select the server from the Servers view and right-click to use the Restart pop-up menu.
If the remote WAS is shared by multiple users, then stopping the remote server will stop the shared server which makes it unavailable for other users to use.
To stop the server:
- In the Servers view ( Window > Show View > Other > Server > Servers > OK), select the server that you want to stop.
- 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.
- If for some reason the server fails to stop, you can terminate the process as follows:
- Switch to the Debug perspective.
- In the Process view, select the server process that you want to stop.
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.