Any thoughts of compiling a HOWTO, by chance? Hint, hint. :)

John


> -----Original Message-----
> From: Michael Schulz [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 19, 2002 12:18 PM
> To: Tomcat Users List
> Subject: RE: problem with connecting Apache2.0.40 and Tomcat4.0.4
> installed on diffrent machines with mod_jk
> 
> 
> 
> I *just* completed a successful configuration of Apache 
> 2.0.40 and Tomcat
> 4.0.4 using the mod_jk.so connector (provided by John Turner, 
> thanks John)
> on RedHat Linux 7.3 where Apache and Tomcat are running on separate
> machines.
> 
> If Apache is not connecting to tomcat, then you should look 
> on the Apache
> box for the cause (assuming that the Tomcat box is running! <g>).
> 
> In your httpd.conf file, there should be two directives, JkLogFile and
> JkLogLevel.  Set the JkLogLevel value to "debug" and restart 
> Apache.  Then
> when you make a request, you should be able to see what is 
> happening via the
> log file.
> 
> Note: If you followed John's instructions for configuring the 
> system, you
> will have a problem because those instructions depend on the 
> Tomcat listener
> (ApacheConfig) to generate the mod_jk.conf file.  This won't 
> work if tomcat
> and apache are on separate boxes, so you'll have to do that 
> part manually
> (or copy the generated file from the tomcat box to the apache box).
> 
> If your httpd.conf file contains this directive:
> 
>       include /usr/local/tomcat/conf/auto/mod_jk.conf
> 
> then you will have problems, because tomcat is not on the apache box.
> 
> 
> -Mike Schulz
> 
> 
> 
> -----Original Message-----
> From: Venkat Reddy Valluri [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 19, 2002 10:56 AM
> To: Tomcat Users List
> Subject: RE: problem with connecting Apache2.0.40 and Tomcat4.0.4
> installed on diffrent machines with mod_jk
> 
> 
> 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]>

Reply via email to