You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Andres Montiel <li...@chargedideas.com> on 2003/01/24 08:00:09 UTC
Trying to setup Tomcat with Apache in Linux: module "mod_jk.c" is
not compatible with this version of Apache
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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Trying to setup Tomcat with Apache in Linux: module "mod_jk.c"
is not compatible with this version of Apache
Posted by Andres Montiel <ma...@chargedideas.com>.
Yup, I'm using Apache 2.0.40 :( Is there a way to make mod_jk work with
Apache 2.0.40?
- Andres
On Fri, 2003-01-24 at 15:19, Lajos Moczar wrote:
> 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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Trying to setup Tomcat with Apache in Linux: module "mod_jk.c"
is not compatible with this version of Apache
Posted by Lajos Moczar <lm...@galatea.com>.
You'd have to roll the .so yourself - I have instructions on my site
(www.galatea.com/flashguides). Sadly, there are no binaries on the
official site, though perhaps someone else might have one lying around.
But do consider upgrading to 2.0.43 - there are some security fixes that
make it a good idea.
Regards,
Lajos
Andres Montiel wrote:
> Yup, I'm using Apache 2.0.40 :( Is there a way to make mod_jk work with
> Apache 2.0.40?
>
> - Andres
>
> On Fri, 2003-01-24 at 15:19, Lajos Moczar wrote:
>
>>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: <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>
Re: Trying to setup Tomcat with Apache in Linux: module "mod_jk.c"
is not compatible with this version of Apache
Posted by Andres Montiel <li...@chargedideas.com>.
Yup, I'm using Apache 2.0.40 :( Is there a way to make mod_jk work with
Apache 2.0.40?
- Andres
On Fri, 2003-01-24 at 15:19, Lajos Moczar wrote:
> 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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Trying to setup Tomcat with Apache in Linux: module "mod_jk.c"
is not compatible with this version of Apache
Posted by Lajos Moczar <lm...@galatea.com>.
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: <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>