Adding a Tomcat 4.0.x Installation

When you install the IDE, an installation of Tomcat 4.0.4 called Internal is added automatically. This installation cannot be removed. You can add additional installations of Tomcat 4.0.x and configure them individually.

Tomcat 3.x versions are not supported. This version of the IDE has been thoroughly tested with Tomcat 4.0.4. Use Tomcat versions other than 4.0.4 at your own risk.

Each Tomcat 4.0.x server installation is specified by both a home directory and a base directory.

The home directory, for example, tomcat401, contains:

The base directory, for example, tomcat401_base, contains:

Specifying a base directory is necessary when Tomcat 4.0.x is used in a multi-server configuration. 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.

To add a Tomcat 4.0.x Installation:

  1. On the Runtime tab of the Explorer, right-click the Tomcat 4.0.x node under Installed Servers and choose Add Tomcat 4.0.x Installation from the contextual menu.
  2. In the Home dir field of the Add Tomcat 4.0.x Installation dialog box, type or browse to the home directory of Tomcat 4.0.x on your local system. Note that the system will verify that you have specified a valid Tomcat 4.0.x home directory.
  3. In the Base dir field, type or browse to the base directory of the server, if specifying a Base directory is appropriate for your purposes.
  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. In Minimum mode, the IDE will not modify any files in your Tomcat installation. Use this mode if this server is your production server, for example. In this mode, some features of the IDE will be unavailable, including HTTP monitoring, JSP compilation, and JSP debugging. In Full mode, all web module development features are available, including HTTP monitoring, JSP compilation, and JSP debugging. Some configuration files in your server will be modified to support these features.

To modify the configuration of any Tomcat installation within the IDE, select the corresponding node and then choose Configure from the contextual menu. This action will open 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 4.0.x Installation Node
Setting Tomcat Installation Properties

Legal Notices