blob: 23f415adb9db4b05b32bf2b343397ef70aee3820 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<!-- /*******************************************************************************
* Copyright (c) 2000, 2005 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/ -->
<link rel="stylesheet" type="text/css" href="../../org.eclipse.wst.doc.user/common.css" />
<title>Stopping a server</title>
</head>
<body id="twstpins"><a name="twstpins"><!-- --></a>
<h1 class="topictitle1">Stopping a server</h1>
<div><p>To stop a server:</p>
<ol><li class="skipspace"><span>In the Servers view ( <b>Window &gt; Show View &gt; Other &gt; Server &gt;
Servers</b>), select the server that you want to stop.</span></li>
<li class="skipspace"><span>Click the <span class="uicontrol">Stop the server</span> <img src="../images/launch_stop.gif" alt="Picture of Stop icon" /> icon in the toolbar.</span> In the <span class="uicontrol">Status</span> column
of the Servers view, the status of the server changes to <i>Stopped</i>.</li>
<li class="skipspace"><span>If for some reason the server fails to stop, you can terminate
the process as follows:</span><ol type="a"><li><span>Switch to the Debug perspective.</span></li>
<li><span>In the Process view, select the server process that you want
to stop.</span></li>
<li><span>Click the <span class="uicontrol">Terminate</span> <img src="../images/launch_stop.gif" alt="Picture of Terminate icon" /> icon in the toolbar.</span></li>
</ol>
</li>
</ol>
<div class="skipspace"><div class="note"><span class="notetitle">Note: </span>When terminating a server, the server process will be killed
and the server will not go through the normal routine of stopping, for example
calling the destroy() method on a servlet.</div>
</div>
</div>
</body>
</html>