tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Turner, John" <>
Subject RE: Can't get tomcat4 + mod_jk + apache to work
Date Tue, 20 Aug 2002 12:05:24 GMT

Well, the only thing I see different from my How-To is that you are using
the binary connector instead of building it from source.  I'm not clear on
what exact difference "noeapi" makes in building the connector.  If you'd
like to contact me offline, I can send you the *.so file from my build...I'm
not sure what the etiquette is for posting binaries here.

Also, what's in /usr/local/jakarta-tomcat-4.0.4/logs/mod_jk.log???

John Turner

-----Original Message-----
From: Scott Adamson []
Sent: Monday, August 19, 2002 11:45 AM
To: Tomcat Users List
Subject: Can't get tomcat4 + mod_jk + apache to work

I have been trying for the last week to get Apache + mod_jk + Tomcat 4 to
I have confirmed that Tomcat works on 8080, confirmed that Apache is

My configuration is as follows :

    OS -
    Redhat Linux 6.2

    Java -
    Installed via RPM

    Tomcat -
    Installed binary distribution of jakarta 4.0.4 at
    Created jakarta-tomcat-4.0.4/conf/jk/ as follows :

        worker.list=ajp12, ajp13

    Modified jakarta-tomcat-4.0.4/conf/server.xml as follows : (see

        <Server port="8005" shutdown="SHUTDOWN" debug="0">
   #added line          <Listener
modJk="/usr/local/apache2/libexec/" />

      <Host name="toecutter" debug="0" appBase="webapps" unpackWARs="true">
    #added line       <Listener
className="org.apache.ajp.tomcat4.config.ApacheConfig" append="true"
forwardAll="false" />

    Apache -
    Compiled Apache1.3.19 with the following config -
./configure --prefix=/usr/local/apache2 --enable-module=so
    Added the following to httpd.conf (see attached)
        Include /usr/local/jakarta-tomcat-4.0.4/conf/auto/mod_jk.conf

    mod_jk -
    Added the binary to /usr/local/apache2/libexec

/apache2/logs/error_log contains the following :

[Tue Aug 20 02:08:20 2002] [error] [client] File does not exist:

indicating that it isn't even trying to redirect and looks for /examples
under /apache2/htdocs
Can someone please help me (thanks to those who have already tried), can
someone see a problem with my configuration ?

Scott Adamson
Systems Administrator
Syware Technology

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

View raw message