In tomcat box I added  following  lines as per documentation 
  <Server port="8005" shutdown="SHUTDOWN" debug="0">
 <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig" 
modJk="/usr/local/apache2/modules/mod_jk.so" />

<Host name="machine 'B'" debug="1" appBase="webapps" unpackWARs="true">
 <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig" append="true" 
forwardAll="false" modJk="/usr/local/apache2/modules/mod_jk.so" />
    That's why I had to copy it from apache box to TOmcat box,
   Here When I tried apache tomcat on same box, they worked well, but when I tired on 
different boxes
   I understood that Apache is not at all connecting to TOmcat box,
 but in  mod_jk.log Every thing seems to be fine

Thanks in advance
Venkat



    


-----Original Message-----
From:   Turner, John [mailto:[EMAIL PROTECTED]]
Sent:   Thu 9/19/2002 11:26 AM
To:     'Tomcat Users List'
Cc:     
Subject:        RE: problem with connecting Apache2.0.40 and Tomcat4.0.4 installed on 
diffrent machines with mod_jk

The lines like "tomcat_home" etc. in workers.properties are optional.
(thanks Milt!)  You only need the worker definitions (like port number,
etc).

I'm not sure about the Alias /manager question, that is a good question.

You don't need mod_jk.so on the Tomcat box, its an Apache module.

John


> -----Original Message-----
> From: Venkat Reddy Valluri [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 19, 2002 10:47 AM
> To: [EMAIL PROTECTED]
> Subject: problem with connecting Apache2.0.40 and Tomcat4.0.4 
> installed
> on diffrent machines with mod_jk
> 
> 
> Hi,
>    I installed Apache 2.0.40 and Tomcat 4.0.4 on different 
> Linux(RedHat) servers and tried to make apache connect to 
> tomcat with mod_jk module,
> 
>    For this I did the following things
>    1) I installed Apache 2.0.40 on Machine 'A' and built 
> mod_jk.so module (./configure 
> --with-apxs=/usr/local/apache2/bin/apxs 
> --with-java-home=/usr/java/j2sdk1.4.0_01), It was suceesfully 
> done and got mod_jk.so
> 
>    2)  I installed Tomcat 4.0.4 on machine 'B' and copied 
> mod_jk.so from machine 'A'(Apache machine) to Machine 'B' 
> (Tomcat machine),
> 
> and modified server.xml as per the documenatation
>     here Upon start up of tomact I got mod_jk.conf, I copied 
> it from machine B to Machine A(Apache Machine)   and included 
> it in httpd.conf
> 
>     Here I did not understand Following things
>     1) in mod_jk.conf  (on Machine 'A' Apache)
>       Alias /manager "/opt/catalina/webapps/manager" -->  
> here what I need to put,  because the path mentioned  is 
> there on machine 'B'
> 
>  2)in workesr.properties (on machine 'A' Apache)
>        worker.ajp13.host= machine 'B' I am sure This is ok
>        workers.tomcat_home=/opt/catalina
>        workers.java_home=/opt/java/j2sdk1.4.0_01,   here what 
> I need to set up for these (because catalina_home and 
> java_home are there in Machine 'B')
> 
> here I didn't get any error in mod_jk.log (on machine 'A')
> 
> Any help greatly appreciated
> Thks&Rgds
> Venkat
>  
> 
>   
> 
> 
> --
> To unsubscribe, e-mail:   
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




<<winmail.dat>>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to