The following is information gleaned from working with my Linux SA during 
installing and configuring to run AR Mid-Tier 7.0.


Installing mod_jk connector for Apache 2.0 and Tomcat 5.5.17
Jakarta-tomcat-connector 1.2.15
RedHat Linux Enterprise AS 4

This document assumes that the above versions of Apache and Tomcat have 
been installed. The connector source file Jakarta-tomcat-connectors-1.2.15-
src.tar.gz is the one specifically covered in this how to.

Building the connector:
Unzip the contents of the file in a download directory:

#tar -xvzf jakarta-tomcat-connectors-1.2.15-src.tar.gz

The above command creates a directory in the download area called Jakarta-
tomcat-connector-1.2.15-src. From inside the directory move the directory 
to the /usr/src area:

#mv jakarta-tomcat-connectors-1.2.15-src /usr/src/

Globally set the jakarta-tomcat-connectors-1.2.15-src as the CONN_SRC_HOME 
in the shell profile by editing the file and placing the following in the 
script:

CONN_SRC_HOME=/usr/src/jakarta-tomcat-connectors-1.2.15-src
Export CONN_SRC_HOME

Run the build script to create the configure file:

#cd $CONN_SRC_HOME/jk/native
#./buildconf.sh

Now run the configure script to create the path to Apache apxs files:

#./configure -with-apxs=/usr/bin/apxs

Now build the mod_jk with the following command:

#make

The mod_jk.so file should have been created. Manually copy the file to the 
Apache shared directory:

#cp CONN_SRC_HOME/jk/native/apache-2.0/mod_jk.so /etc/httpd/modules

Building the Workers.propeties file:

Now follow the instructions in the document below starting from the 
Configuration:
 http://supportweb.remedy.com/kmspublic/KM-000000020070.htm

After the workers.properties file is created and 
the /etc/httpd/httpd.conf  file has been edited restart both Apache and 
Tomcat. You will not need to edit the server.xml file since the new 
connector version is ready to run on port 8009. To verify the ports use 
the following command:

#netstat -vatn | grep 80

You should see similar output on the screen as follows:

1. tcp  0  0 :::8009 :::* LISTEN
2. tcp  0  0 :::8080 :::* LISTEN
2. tcp  0  0 :::80  :::* LISTEN

Both web servers are listening and notice that the connector is listening 
as well.


Bob Ellington
Remedy Skilled Professional (RSP)
LOGSA-Team ITSS
Redstone Arsenal, AL
[EMAIL PROTECTED] 

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org

Reply via email to