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:
- 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.
- 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.
- (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.
- 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 does not modify any files
in your Tomcat installation. Therefore, 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. The IDE modifies some of the server's
configuration files in order to support these features.
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.
Legal Notices