Even though I didn't copy, Atleast Apche should have connected to tomcat and I should 
have executed jsp pages existed on tomcat box, here apache is serving some static 
files which are existing on apache boxe, but when I tried to execute 
http://www.xxx.com/examples/(in mod_jk.conf  jkmount  /examples/* ajp13) it is 
supposed to connect to tomcat box and execute jsp's, but it is not recognising them, 
because it is not even connected to tomcat 


-----Original Message-----
From:   Michael Schulz [mailto:[EMAIL PROTECTED]]
Sent:   Thu 9/19/2002 11:46 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

If you want to put Apache and Tomcat on separate boxes, and still run the
Tomcat examples, you will have to copy the static (.html) files from the
tomcat box to the apache box so that apache can serve them.

-Mike Schulz


-----Original Message-----
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 19, 2002 10:26 AM
To: 'Tomcat Users List'
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]>


--
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