[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Re: Tomcat installation



Chuck,

Installation of Tomcat in a RAQ is basically the same as in any other Linux.
I don't have any document with all the instructions but this is pretty much
what you need to do:

- download and untar the Tomcat from the Jakarta site. I´m using version
3.2.

- install the Java Development Kit. I used version 1.3.

- modify the /etc/httpd/conf/httpd.conf file:
    - add this line before the definition of the virtual site that will be
using Tomcat:
            Include /usr/local/tomcat/conf/tomcat.conf
    - add this line inside the definition of the virtual site
            ApJServMount /contexname ajpv12://localhost:8007/contextname
(replace contextname with the name of the context you create on the next
step)

- define a context on the server.xml file located on the conf subdirectory
inside tomcat and install the application under the webapps subdirectory.

- set the following environment variables:
       PATH (include the path to the bin directory of the JDK)
       TOMCAT_HOME=/usr/local/tomcat (location of Tomcat. modify it if you
installed it on another directory)
       JAVA_HOME=/home/jdk1.3 (location of JDK. modify it if you installed
it on another directory)

       Add any additional libraries to the CLASSPATH variable

- Start the Tomcat
      /usr/local/tomcat/bin/tomcat.sh start

- Restart your web server

Hope this helps. If you ever write the FAQ please let me know.

Guibert