blob: f5f2eb378aedfd4a83e86ad5bb19b7504d389ec2 [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>
<!-- /*******************************************************************************
* 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>Which server will start</title>
</head>
<body onresize="location.reload();" id="cwflow_wst"><a name="cwflow_wst"><!-- --></a>
<h1 class="topictitle1">Which server will start</h1>
<div><div><span id="cwflow_shortdesc_ph1"><a name="cwflow_shortdesc_ph1"><!-- --></a>A server can
either be started manually or automatically. For example, it is automatically
started when you right-click a project in the Project Explorer view and select <span class="menucascade"><span class="uicontrol">Run As</span> &gt; <span class="uicontrol">Run on Server</span></span>.
It is manually started when you click on the <strong>Start the server</strong></span> <img src="../images/launch_run.gif" alt="Picture of the Run on Server icon" onload="javascript:resizeimage(this);" name="../images/launch_run.gif" /> <span id="cwflow_shortdesc_ph2"><a name="cwflow_shortdesc_ph2"><!-- --></a>icon, the <strong>Start the server in debug mode</strong></span> <img src="../images/launch_debug.gif" alt="PIcture of the Debug on server Icon " onload="javascript:resizeimage(this);" name="../images/launch_debug.gif" /><span id="cwflow_shortdesc_ph3"><a name="cwflow_shortdesc_ph3"><!-- --></a> icon , or the <span class="uicontrol">Start the
server in profiling mode</span></span> <img src="../images/launch_profile.gif" alt="" onload="javascript:resizeimage(this);" name="../images/launch_profile.gif" /><span id="cwflow_shortdesc_ph4"><a name="cwflow_shortdesc_ph4"><!-- --></a> icon, located in the Servers view.</span></div><p id="cwflow_wst__cwflow_p1"><a name="cwflow_wst__cwflow_p1"><!-- --></a>When you run a file or project, the server tools first verify
that the servers and configurations for that particular resource are already
set up and determines how many are defined. You are then prompted by the Run
on Server dialog box to select a server. </p>
<div class="section" id="cwflow_wst__cwflow_section1"><a name="cwflow_wst__cwflow_section1"><!-- --></a><h4 class="sectiontitle">Run on Server</h4><p>If this is the
first time you are testing a file or project, you will be prompted to create
a new server. The Run on Server dialog box presents you with two options for
deciding which server to run:</p>
<ul><li> <span class="uicontrol">Choose an existing server</span> This list includes servers
that may or may not have already been configured. If you choose a server that
is not already configured, it will be configured automatically and may be
restarted if the server is already running.</li>
<li> <span class="uicontrol">Manually define a server</span> This option will create
a new server and server configuration before testing.</li>
</ul>
<p>If this is the first time you are testing a file or project, <span class="uicontrol">Manually
define a server</span> is selected for you by default. When you select
the type of server and click <span class="uicontrol">Next</span>, a server will be
automatically created for you and the server will start.</p>
</div>
</div>
<div><div class="reltasks"><strong>Related tasks</strong><br />
<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>