Adding a Tomcat 4.0 Installation

See Also

When you install the IDE, the installer automatically adds an installation of the Tomcat web server and names it Internal Tomcat. You cannot remove the internal Tomcat installation. You can configure the IDE to deploy web modules to external installations of Tomcat 4.0. This topic describes how to add external installations of the Tomcat server to the IDE.

Tomcat 3.x versions are not supported.

To add a Tomcat Installation:

  1. On the Runtime tab of the Explorer, expand the Default Servers node, expand the Installed Servers node, right-click the Tomcat node, and choose Add Tomcat Installation from the contextual menu.
  2. In the Home Dir field of the Add Tomcat Installation dialog box, type or browse to the home directory of Tomcat on your local system. Note that the system will verify that you have specified a valid Tomcat home directory.
  3. (Optional) In the Base Dir field, type or browse to the base directory of the server. Specifying a base directory is necessary when Tomcat is used in a multi-server configuration. Typically, a base directory is placed under the user's directory. If you do not specify a base directory, the base directory will be the same as the home directory. See http://jakarta.apache.org/tomcat/tomcat-4.0-doc/RUNNING.txt for more information.
  4. Choose an IDE Integration Mode by clicking the appropriate radio button. You can also set IDE integration mode on the property sheet for the installation. The default value is Full.

To modify the configuration of any Tomcat installation within the IDE, select the corresponding node and choose Configure from the contextual menu. This action opens the server.xml file in the IDE's source editor. You can modify some parts of the server.xml file by setting Tomcat Instance (Host) properties or setting Context properties.

See Also
Tomcat Installation Node
Setting Tomcat Installation Properties

Legal Notices