tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lajos Moczar <lm...@galatea.com>
Subject Re: Trying to setup Tomcat with Apache in Linux: module "mod_jk.c" is not compatible with this version of Apache
Date Fri, 24 Jan 2003 07:19:39 GMT
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/rpms/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/rpms/tomcat4-admin-webapps-4.1.18-full.1jpp.noarch.rpm,
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.18/rpms/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:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:tomcat-user-help@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:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message