blob: 662db608379ad7742245fba22d0667283874712e [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="concept" name="DC.Type" />
<meta name="DC.Title" content="Which server will start" />
<meta name="abstract" content="You can start the server automatically as part of running a selected resource on the server, or you can simply start the server without running resources on the server. For example, the server is automatically started when you right-click a project or an application resource in the Project Explorer view and select Run As &gt; Run on Server. If you want to start the server without running resources on the server, in the Servers view select a server and select the Start the server This is an image of the Run on Server icon icon, the Start the server in debug mode This is an image of the Debug on server icon. icon , or the Start the server in profiling mode This is an image of the Start the server in profiling mode icon. icon." />
<meta name="description" content="You can start the server automatically as part of running a selected resource on the server, or you can simply start the server without running resources on the server. For example, the server is automatically started when you right-click a project or an application resource in the Project Explorer view and select Run As &gt; Run on Server. If you want to start the server without running resources on the server, in the Servers view select a server and select the Start the server This is an image of the Run on Server icon icon, the Start the server in debug mode This is an image of the Debug on server icon. icon , or the Start the server in profiling mode This is an image of the Start the server in profiling mode icon. icon." />
<meta content="servers, starting" name="DC.subject" />
<meta content="servers, starting" name="keywords" />
<meta scheme="URI" name="DC.Relation" content="../topics/twsrtins.html" />
<meta content="XHTML" name="DC.Format" />
<meta content="cwflow_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>Which server will start</title>
</head>
<body id="cwflow_wst"><a name="cwflow_wst"><!-- --></a>
<h1 class="topictitle1">Which server will start</h1>
<div><p><span id="cwflow_shortdesc_ph1"><a name="cwflow_shortdesc_ph1"><!-- --></a>You can start
the server automatically as part of running a selected resource on the server,
or you can simply start the server without running resources on the server.
For example, the server is automatically started when you right-click a project
or an application resource 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>.
If you want to start the server without running resources on the server, in
the Servers view select a server and select the <strong>Start the server</strong></span> <img src="../images/launch_run.gif" alt="This is an image of the Run on Server icon" /> <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="This is an image of the Debug on server&#10;icon." /><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="This is an image of the Start the&#10;server in profiling mode icon." /><span id="cwflow_shortdesc_ph4"><a name="cwflow_shortdesc_ph4"><!-- --></a> icon.</span></p>
<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 might 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>