tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raj Mettai" <>
Subject Apache2 and Tomcat4 on different boxes
Date Fri, 13 Sep 2002 19:12:19 GMT
Hi all,

Here is my apache and tomcat configuration.................

apache installed on and tomcat on, I have copied the mod_jk.conf code
from tomcat machine to apache httd.conf and also copied to apache box and also modified the host parm to
tomcat server.(both are running on solaris 8 using connector mod_jk).

when I try to access the page from apache box, I am getting 404 error...

Here is files



and I have following code attached to httpd.conf at the end...
<IfModule !mod_jk.c>
  LoadModule jk_module /usr/local/apache/modules/

JkWorkersFile "/usr/local/apache/conf/"
JkLogFile "/usr/local/apache/logs/mod_jk.log"

JkLogLevel info


    JkMount / ajp13
    JkMount /* ajp13

    JkMount /FCCSC ajp13
    JkMount /FCCSC/* ajp13

    JkMount /examples ajp13
    JkMount /examples/* ajp13

    JkMount /webdav ajp13
    JkMount /webdav/* ajp13

    JkMount /tomcat-docs ajp13
    JkMount /tomcat-docs/* ajp13

    JkMount /manager ajp13
    JkMount /manager/* ajp13


can somebody please help me here.................


>>> 09/13/02 11:38AM >>>
Hi all,

Anybody has any suggestions on running Apache and tomcat on diff boxes
using mod_jk connector......?????????

thank you..............


>>> 09/12/02 03:08PM >>>

Hi John,

I have copied the mod_jk.conf  over to apache box (actually copied all
code to the end of httpd.conf). Also, copied onto
apache box and modified the host on to FQDN of
tomcat. After all these, when I access the page from apache box, I am
getting 400 - Bad request error. Also, nothing is written to either
apache or tomcat logs. I am attaching both, httpd.conf and server.xml
files and also you give me any suggestions on
this please...........

thanks a lot....


>>> 09/06/02 08:27AM >>>

You don't, as far as I know.  You will need mod_jk.conf on the Apache
In addition, you will need to change the "host" value in
to point to the FQDN of the machine hosting Tomcat.

I guess you could always set up some sort of NFS share, and share out a
location on the Tomcat server so that the Apache server can see it, but
simplest way is to start Tomcat, let it generate mod_jk.conf, and then
copy it over to the Apache box and HUP Apache.


> -----Original Message-----
> From: Raj Mettai []
> Sent: Thursday, September 05, 2002 5:46 PM
> To:
> Subject: Apache2 and Tomcat4 or different machines...
> Hi,
> I want to configure Apache2.0.39 with tomcat4.0.4 using 
> mod_jk both running on different machines (solaris8). How do 
> I specify the location of mod_jk.conf file in httpd.conf if 
> they are not on the same box.
> thanks 
> -Raj

To unsubscribe, e-mail:  
For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message