| <?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> |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| <!-- /******************************************************************************* |
| * 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" href="../../org.eclipse.wst.doc.user/common.css" type="text/css"/> |
| <title>Creating a Tomcat server</title> |
| </head> |
| <body id="tomcat"><a name="tomcat"><!-- --></a> |
| |
| <h1 class="topictitle1">Creating a Tomcat server</h1> |
| <div><p>The server tools feature supports the Apache Tomcat run-time environment, |
| running locally. With Tomcat, you can only test Web projects that contain |
| servlets and JSPs. To set up a server to test projects on Apache Tomcat, complete |
| the following: </p><div class="p"><b>Prerequisite</b><div class="p"><ul><li>Download Apache Tomcat from <a href="http://jakarta.apache.org/tomcat" target="_blank">jakarta.apache.org/tomcat</a></li> |
| <li>Extract the compressed file containing Apache Tomcat on your local file |
| system.</li> |
| <li><a href="twtomprf.html#twtomprf">Add the Apache Tomcat |
| runtimes.</a></li> |
| </ul> |
| </div> |
| <p>To create a Apache Tomcat server:</p> |
| </div> |
| <ol><li class="skipspace"><span>In the Servers view, right-click and select <span class="uicontrol">New</span> > <span class="uicontrol">Server</span>. |
| The Define a New Server wizard opens.</span></li> |
| <li class="skipspace"><span>In the <span class="uicontrol">Select the server type</span> list, select |
| the Tomcat server defined in the previous step.</span> <div class="tip"><span class="tiptitle">Tip: </span>If |
| you did not specify the Tomcat install directory, the Define a New Server |
| wizard will prompt you for this information.</div> |
| </li> |
| <li class="skipspace"><span>Start the Tomcat server.</span> In the Servers view, right-click |
| the Tomcat server and select <span class="uicontrol">Start</span>.</li> |
| <li class="skipspace"><span>Test your setup of the Tomcat server.</span><ol type="a"><li><span>Open a Web browser.</span></li> |
| <li><span>Type the Web address <samp class="codeph">http://localhost:8080/</samp>. |
| If you see the Apache Tomcat start page, you have successfully set up your |
| Tomcat server.</span></li> |
| </ol> |
| </li> |
| </ol> |
| </div> |
| <p> |
| (C) Copyright IBM Corporation 2000, 2005. All Rights Reserved. |
| </p> |
| </body> |
| </html> |