Note: This version of the VDT (1.7.0) is no longer supported. Feel free to look through the documentation and install it, but we cannot guarantee support for it. The current stable release is 2.0.0.

configure_tomcat

configure_tomcat - Tomcat configuration script

Synopsis

    configure_tomcat --version <4,5,55>
                     --server <y,n>
                     --vdt-install <VDT installation root>

Description

--version <Tomcat version>
Since different components of the VDT require different Tomcat versions, the VDT comes with both Tomcat 5 and Tomcat 5.5. Both may be configured seperatly and configure_tomcat requires you to specify which one to act on. The version can be given with our without the dots and trailing zeros; e.g., '5', '50', and '5.0' are all the same.
--server <y,n>
For y install the tomcat-$version init script in /etc/init.d, make appropriate run level links and start the server. For n remove any existing tomcat init from /etc/init.d.
--vdt-install <VDT installation root>
configure_tomcat will look for the root of the VDT installation at $VDT_LOCATION. If you do not have that set you can specify it with --vdt-install instead.
--help, --usage
Print a usage message.

The following changes are made to the Tomcat setup.

A mod_jk worker is added to the Apache configuration
All connectors are removed and a new AJP connector is added at port 8888 + $version
The Tomcat server port is set to 8080 + $version
The init script is modified to source the VDT setup.sh file and set CATALINA_HOME to the correct location