Adding the Apache Tomcat runtimes

Using the Preferences page, you can define the server runtime environment definitions for the Apache Tomcat server. To define these definitions, complete the following:

  1. From the Window menu, select Preferences.
  2. In the Preferences window, expand Server and then select Runtime Environments.
  3. On the Server Runtime Environments page, click Add. The New Server Runtime Environment wizard opens.
  4. On the New Server Runtime Environment page, expand Apache.
  5. Select one of the following supported Apache Tomcat servers:
    • Apache Tomcat v3.2
    • Apache Tomcat v4.0
    • Apache Tomcat v4.1
    • Apache Tomcat v5.0
    • Apache Tomcat v5.5
    • Apache Tomcat v6.0
    • Apache Tomcat v7.0
  6. When you add a server runtime environment, by default a server is created and added as an entry in the Servers view. If you want to only add the server runtime environment and not create the server in the Servers view, clear the Create a new local server check box.
  7. The Tomcat Server page opens when you click Next.
  8. In the Tomcat installation directory field, type or browse to the directory where you extracted the installation files of Apache Tomcat. For example, x:\apache-tomcat-6.0.13, where x is the installation directory of the Apache Tomcat server.
  9. Click Finish.
Related tasks
Creating a Tomcat server
Related information
WTP Tomcat FAQ