blob: e6e6d41d9f9dcc74d30d146319b328c58df2dcb4 [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, 2011 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, 2011" />
<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="Setting timeout on the start or stop of the server" />
<meta name="abstract" content="You can specify the length of time you can wait, before the workbench cancels the process to start or stop the server." />
<meta name="description" content="You can specify the length of time you can wait, before the workbench cancels the process to start or stop the server." />
<meta content="starting servers, timeout, stopping servers" name="DC.subject" />
<meta content="starting servers, timeout, stopping servers" name="keywords" />
<meta scheme="URI" name="DC.Relation" content="../topics/twstpins.html" />
<meta scheme="URI" name="DC.Relation" content="../topics/twsrtins.html" />
<meta scheme="URI" name="DC.Relation" content="../topics/twmanage.html" />
<meta content="XHTML" name="DC.Format" />
<meta content="ttimeout_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>Setting timeout on the start or stop of the server</title>
</head>
<body id="ttimeout_wst"><a name="ttimeout_wst"><!-- --></a>
<h1 class="topictitle1">Setting timeout on the start or stop of the server</h1>
<div><p>You can specify the length of time you can
wait, before the workbench cancels the process to start or stop the
server.</p>
<div class="section" id="ttimeout_wst__context"><a name="ttimeout_wst__context"><!-- --></a><div class="p"><div class="tip"><span class="tiptitle">Tip:</span> If you have a fast processing
machine, you can try to set a short timeout interval. If you have
a slow processing machine, you can try to set a long timeout interval.</div>
</div>
To
set the timeout for starting or stopping the server:</div>
<a name="ttimeout_wst__steps"><!-- --></a><ol id="ttimeout_wst__steps">
<li class="stepexpand"><span>In the Servers view, right-click the server you want to
modify its timeout and select <span class="uicontrol">Open</span>. </span> The
server editor opens.</li>
<li class="stepexpand"><span>Under the <span class="uicontrol">Timeouts</span> section, you
have the following options:</span>
<ul>
<li>Use the <span class="uicontrol">Start</span> controls to specify the
number of seconds allowed to elapse, before the workbench cancels
the process to start the server.</li>
<li>Use the <span class="uicontrol">Stop</span> controls to specify the
number of seconds allowed to elapse, before the workbench prompts
you for an action. The prompt requests from you to either click <span class="uicontrol">OK</span> to
end the server or click <span class="uicontrol">Cancel</span> to continue
waiting for the server to stop. See the below <em>Results</em> section,
for the text of the prompt.</li>
</ul>
</li>
</ol>
<div class="section"><strong>Results</strong><div class="p" id="ttimeout_wst__result_p1"><a name="ttimeout_wst__result_p1"><!-- --></a>If the timeout interval for starting the server has
elapsed, the workbench displays the following message:<pre>Server <var class="varname">server_name</var> was unable to start within <var class="varname">x</var> seconds. If the server requires more time, try increasing the timeout in the server editor.</pre>
Where <var class="varname">server_name</var> is
the name of the server to identify its entry in the Servers view and <var class="varname">x</var> is
the number of seconds specified in the <span class="uicontrol">Start</span> control.</div>
<div class="p" id="ttimeout_wst__result_p2"><a name="ttimeout_wst__result_p2"><!-- --></a>If the timeout interval for stopping the server has
elapsed, the workbench displays the following prompt: <pre>Terminate Server
Server <var class="varname">server_name</var> is not responding. Do you want to terminate this server? Click OK to terminate the server or click Cancel to continue waiting.</pre>
</div>
<div class="tip" id="ttimeout_wst__result_tip"><a name="ttimeout_wst__result_tip"><!-- --></a><span class="tiptitle">Tip:</span> If you are frequently encountering any
of these messages, try following the steps in this topic to set longer
timeout intervals. This may help resolve the messages.</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/twstpins.html" title="You can stop the server from the Servers view.">Stopping a server</a></div>
<div><a href="../topics/twsrtins.html" title="When you are ready to test your projects, you must start a server. In some situations, listed below, the server tools start a server for you automatically. For more information on which test server will start, refer to the list of related topics at the end of this topic.">Starting a server</a></div>
</div>
</div>
</body>
</html>