blob: 80cc538446f8db58bc447814a60c4ab95f72add2 [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 lang="en-us" xml:lang="en-us">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta name="copyright" content="Copyright (c) 2000, 2009 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" />
<meta name="DC.rights.owner" content="(C) Copyright 2000, 2009" />
<meta content="public" name="security" />
<meta content="index,follow" name="Robots" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta content="task" name="DC.Type" />
<meta name="DC.Title" content="Stopping a server" />
<meta name="abstract" content="You can stop the server from the Servers view." />
<meta name="description" content="You can stop the server from the Servers view." />
<meta content="servers, stopping" name="DC.subject" />
<meta content="servers, stopping" name="keywords" />
<meta scheme="URI" name="DC.Relation" content="../topics/ttimeout.html" />
<meta scheme="URI" name="DC.Relation" content="../topics/twmanage.html" />
<meta content="XHTML" name="DC.Format" />
<meta content="twstpins_wst" name="DC.Identifier" />
<meta content="en-us" name="DC.Language" />
<link href="../../org.eclipse.wst.doc.user/common.css" type="text/css" rel="stylesheet" />
<title>Stopping a server</title>
</head>
<body id="twstpins_wst"><a name="twstpins_wst"><!-- --></a>
<h1 class="topictitle1">Stopping a server</h1>
<div><p>You can stop the server from the
Servers view.</p>
<div class="section" id="twstpins_wst__twstpins_context"><a name="twstpins_wst__twstpins_context"><!-- --></a>To stop the server:</div>
<ol>
<li class="stepexpand" id="twstpins_wst__twstpins_step1"><a name="twstpins_wst__twstpins_step1"><!-- --></a><span>In the Servers view ( <strong>Window &gt; Show
View &gt; Other &gt; Server &gt; Servers &gt; OK</strong>), select the server that
you want to stop.</span></li>
<li class="stepexpand"><span><span id="twstpins_wst__twstpins_steps_ph1"><a name="twstpins_wst__twstpins_steps_ph1"><!-- --></a>Click the <span class="uicontrol">Stop
the server</span></span> <img src="../images/launch_stop.gif" alt="This is an image of the Stop icon." /> <span id="twstpins_wst__twstpins_steps_ph2"><a name="twstpins_wst__twstpins_steps_ph2"><!-- --></a>icon in the toolbar.</span></span> <span id="twstpins_wst__twstpins_steps_ph3"><a name="twstpins_wst__twstpins_steps_ph3"><!-- --></a> In the Servers view, the status of the server
changes to <em>Stopped</em>.</span></li>
<li class="stepexpand"><span><span id="twstpins_wst__twstpins_steps_ph4"><a name="twstpins_wst__twstpins_steps_ph4"><!-- --></a>If for some reason the server
fails to stop, you can terminate the process as follows:</span></span>
<ol type="a">
<li id="twstpins_wst__twstpins_steps_substep1"><a name="twstpins_wst__twstpins_steps_substep1"><!-- --></a><span>Switch to the Debug perspective.</span>
</li>
<li id="twstpins_wst__twstpins_steps_substep2"><a name="twstpins_wst__twstpins_steps_substep2"><!-- --></a><span>In the Process view, select
the server process that you want to stop.</span></li>
<li><span><span id="twstpins_wst__twstpins_steps_ph6"><a name="twstpins_wst__twstpins_steps_ph6"><!-- --></a>Click the <span class="uicontrol">Terminate</span></span> <img src="../images/launch_stop.gif"
alt="This is an image of the Terminate icon" /> <span id="twstpins_wst__twstpins_steps_ph7"><a name="twstpins_wst__twstpins_steps_ph7"><!-- --></a>icon in the toolbar.</span></span>
</li>
</ol>
</li>
</ol>
<div class="section" id="twstpins_wst__twstpins_result"><a name="twstpins_wst__twstpins_result"><!-- --></a><div class="note"><span class="notetitle">Note:</span> 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.</div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="../topics/twmanage.html" title="You can use the server tools views to manage servers. The following tasks may be included as part of the development path:">Managing servers</a></div>
</div>
<div class="reltasks"><strong>Related tasks</strong><br />
<div><a href="../topics/ttimeout.html" title="You can specify the length of time you can wait, before the workbench cancels the process to start or stop the server.">Setting timeout on the start or stop of the server</a></div>
</div>
</div>
</body>
</html>