You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Turner, John" <JT...@AAS.com> on 2003/01/24 11:46:03 UTC

RE: Trying to setup Tomcat with Apache in Linux: module "mod_jk.c " is not compatible with this version of Apache

Yep...RH 8 ships with .40.  Upgrade Apache to .43 or .44 (wise move anyway
because of security fixes) or roll your own mod_jk.so from the source to get
rid of that error message.

John


-----Original Message-----
From: Lajos Moczar [mailto:lmocz@galatea.com] 
Sent: Friday, January 24, 2003 2:20 AM
To: Tomcat Users List
Subject: Re: Trying to setup Tomcat with Apache in Linux: module "mod_jk.c"
is not compatible with this version of Apache


Andres -

What version of Apache are you using? Generally, you have to match the 
mod_jk version to Apache. Apache 2.0.40 is not compatible with mod_jk 
2.0.42/43.

Regards,

Lajos


Andres Montiel wrote:
> I have already installed the rpm version of Tomcat (taken from
> http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.18/rp
> ms/tomcat4-4.1.18-full.1jpp.noarch.rpm) and the related webapps 
> (http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.18/r
> pms/tomcat4-admin-webapps-4.1.18-full.1jpp.noarch.rpm, 
> http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.18/rp
> ms/tomcat4-webapps-4.1.18-full.1jpp.noarch.rpm). I also installed JK 
> (taken from 
> http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/
> v1.2.2/rpms/mod_jk-ap20-1.2.2-1jpp.i386.rpm) and put mod_jk-2.0.42.so 
> (taken from 
> http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/
> v1.2.1/bin/linux/i386/mod_jk-2.0.42.so )in /etc/http/modules and 
> renamed the file to mod_jk.so. I have also set it to the proper 
> permissions (755).
> 
> I also put the following lines in httpd.conf
> 
> LoadModule jk_module modules/mod_jk.so
> 
> #AddModule mod_jk.c
> JkWorkersFile /etc/httpd2/conf/workers.properties
> JkLogFile /var/log/httpd/mod_jk.log
> JkLogLevel info
> 
> I then tried to restart Apache. However, it did not start and gave me 
> the error message:
> 
> Starting httpd: httpd: module "mod_jk.c" is not compatible with this 
> version of Apache. Please contact the vendor for the correct version.
> 
> Did I miss a file or download? or perhaps an easier way to let Apache 
> parse JSP files properly? :)
> 
> I am using RedHat 8.0 with Apache 2
> 
> I got the instructions on how to install
> these from 
> http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/aphowto.html
> 
> - Andres Montiel
> 
> 
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail: 
> <ma...@jakarta.apache.org>
> 
> 


-- 



                    Lajos Moczar
       ----------------------------------------
     Open Source Support, Consulting and Training
       ----------------------------------------
             Cocoon Developer's Handbook
  (www.amazon.com/exec/obidos/tg/detail/-/0672322579)

                    _      _____
                   / \         /
                  /___\      /
                 /     \   /____

      http://www.galatea.com -- powered by AzSSL


--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>

---

Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.443 / Virus Database: 248 - Release Date: 1/10/2003
 

---

Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.443 / Virus Database: 248 - Release Date: 1/10/2003
 

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>