| <html><head><META http-equiv="Content-Type" content="text/html; charset=UTF-8"><link type="text/css" href="../../../../../..//default_style.css" rel="stylesheet"><link type="text/css" href="../../../../../..//webtools/wtp.css" rel="stylesheet"><title>Installing Apache Tomcat Server</title></head><body><table border="0" cellpadding="2" cellspacing="5" width="100%"><tbody><tr><td align="left" width="60%"><font class="indextop">Installing Apache Tomcat Server</font><br><font class="indexsub">Installing Apache Tomcat Server</font></td><td width="40%"><img src="../../../../../..//webtools/images/wtplogosmall.jpg" align="middle" height="129" hspace="50" width="207" alt="WTP Logo" usemap="logomap"><map id="logomap" name="logomap"><area coords="0,0,207,129" href="/webtools/" alt="WTP Home"></map></td></tr></tbody></table><table border="0" cellpadding="2" cellspacing="5" width="100%"><col width="16"><col width="*"><tbody><tr><td align="right" valign="top"> | |
| | |
| </td><td valign="top"><p> | |
| <b>By Kathy Chan</b> | |
| <br> | |
| April 29, 2005 | |
| <br> | |
| <br> | |
| </p></td></tr><tr><td align="right" valign="top"> | |
| | |
| </td><td valign="top"><br></td></tr><tr><td align="right" valign="top"> | |
| | |
| </td><td valign="top"><p> | |
| In this tutorial, you will install an Apache Tomcat server | |
| using the Server Installed Runtimes preference page. | |
| </p></td></tr><tr><td align="right" valign="top"> | |
| | |
| </td><td valign="top"><br></td></tr><tr><td colspan="2" align="left" bgcolor="#0080c0" valign="top"><b><font color="#ffffff" face="Arial,Helvetica">Installing server runtime</font></b></td></tr><tr><td align="right" valign="top"> | |
| | |
| </td><td valign="top"><br></td></tr><tr><td align="right" valign="top"> | |
| | |
| </td><td valign="top"><ol> | |
| <li> | |
| If you do not have Apache Tomcat on your machine, you | |
| will first need to download and unzip | |
| <a href="http://jakarta.apache.org/tomcat/"> | |
| Apache Tomcat | |
| </a> | |
| (this scenario was written using Apache Tomcat version | |
| 5.0.28, but other versions can be substituted). | |
| </li> | |
| <li>Start the Eclipse WTP workbench.</li> | |
| <li> | |
| Open | |
| <b> | |
| Window -> Preferences -> Server -> Installed | |
| Runtimes | |
| </b> | |
| to create a Tomcat installed runtime. | |
| </li> | |
| <li> | |
| Click on | |
| <b>Add...</b> | |
| to open the | |
| <b>New Server Runtime</b> | |
| dialog, then select your runtime under | |
| <b>Apache</b> | |
| (Apache Tomcat v5.0 in this example): | |
| </li> | |
| <br> | |
| <img border="0" src="resources/InstallTomcat1.JPG"> | |
| <li> | |
| Click | |
| <b>Next</b> | |
| , and fill in your | |
| <b>Tomcat installation directory</b> | |
| : | |
| </li> | |
| <br> | |
| <img border="0" src="resources/InstallTomcat2.JPG"> | |
| <li> | |
| Ensure the selected | |
| <b>JRE</b> | |
| is a full JDK and is of a version that will satisfy | |
| Apache Tomcat (this scenario was written using SUN JDK | |
| 1.4.2_06). If necessary, you can click on | |
| <b>Installed JREs...</b> | |
| to add JDKs to Eclipse. | |
| </li> | |
| <li> | |
| Click | |
| <b>Finish</b> | |
| . | |
| </li> | |
| </ol></td></tr></tbody></table></body></html> |