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

[cobalt-developers] Jakarta on Raq4



That promised is debt, there is the way in that we install Jakarta in a Raq4
here:

Requirements


1. JDK 1.2 or superior
 http://java.sun.com
2. Apache web server with support for DSO RPM distribution
 http://www.apache.org
3. JAKARTA PROJECT V 3.2.1 BINARIES JAKARTA-TOMCAT-3.2.1.TAR.Z
 http://jakarta.apache.org
4. I modulate tomcat-mod-3.2.1-1.i386.rpm
 http://jakarta.apache.org

Steps

1.It should Be installed the gcc compiler and the jdk1.2 or superior
previously, it can settle the bin or rpm that gets off java.sun.com without
problem, to fix the variables of ambient JAVA_HOME, CLASSPATH and to add the
java bin in the PATH
2. to decompress the jakarta-tomcat-3.2.1.tar.Z (for this example it was
decompressed in "home/tomcat ")
   tomcat>gunzip jakarta-tomcat-3.2.1.tar.Z
   tomcat>tar xvf jakarta-tomcat-3.2.1.tar
   tomcat>mv jakarta-tomcat-3.2.1 jakarta

3. To add the following environment variables
   JAVA_HOME=<path of the jdk>

   TOMCAT_HOME=<path of the jakarta> example: /home/tomcat/jakarta

   example for ksh:
          JAVA_HOME=/usr/java/jdk1.3.0_02
          EXPORT JAVA_HOME
          TOMCAT_HOME=/home/tomcat/jakarta
          EXPORT TOMCAT_HOME
   (This is important to be able to execute jakarta)

4. it proves

   To be changed to the dir jakarta/bin and to execute the shell.
/startup.sh

Verification that jakarta this working

   http://localhost:8080//examples/servlet/HelloWorldExample

5. installing the I modulate mod_jk.so
     tomcat-mod-3.2.1-1.i386.rpm
     tomcat>rpm -i tomcat-mod-3.2.1-1.i386.rpm

After installing it, to modify the httpd.conf of the Apache web server to
change the following one lines

     <IfModule mod_jk.c>
       Include /etc/httpd/conf/mod_jk.conf
     </IfModule>

  supposing that the jakarta home this in " /home/tomcat " for

     <IfModule mod_jk.c>
        Include /home/tomcat/jakarta/conf/mod_jk.conf-car
     </IfModule>


6.
   To restart jakarta
            /home/tomcat/jakarta/bin/shutdown.sh
            /home/tomcat/jakarta/bin/startup.sh

   to restart Apache web server

     to check the URL

http://localhost/servlet/SnoopServlet

With this they rot to install Jakarta in a Raq4 without problems, later I
will continue with the installation of Interclient and like it configured
for each virtual place the support for the servlets and the JSP

If you have doubts, please it revises the documentation in each site, and if
you want some detail can write us to ask@xxxxxxxxxxxxxx, but first it
revises the documentation of each place, since always we are busy, but
willing to help. But if you ask us things that we consider too simple,
perhaps don't respond so quickly, and treat that the doubts are the most
general possible to be able to help more people with the same answer.

Attn. Ed
xBin Network