httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Cornell" <michael.corn...@estafet.com>
Subject [users@httpd] mod_jk and apache issues (ELF)
Date Tue, 19 Apr 2005 12:51:54 GMT
Hi,

 

I am not 100% sure this is the right list to post to so please suggest
another if this is not relevant here..

 

I am running redhat linux es 3, with jdk142_07, tomcat 5.0.25 and apache
version 2.0.46.

 

 

I am attempting to run mod_jk
(jakarta-tomcat-connectors-jk-1.2.10-linux-sles8-ppc-apache-2.0.53-prefork.s
o and ...worker.so) with apache to forward all traffic to tomcat.

 

 

After copying this so file to mod_jk.so (tried both in /etc/httpd/modules
and in /usr/local/apache2/modules), and appending the following lines to
httpd.conf (in both locations separately)

 

 

LoadModule jk_module modules/mod_jk.so

JkWorkersFile /usr/local/tomcat/conf/workers.properties

JkLogFile /usr/local/tomcat//logs/mod_jk.log

JkLogLevel debug

Alias / /usr/local/tomcat/webapps/ROOT

JkMount /* testWorker

 

 

My workers.properties:

worker.list=testWorker

worker.testWorker.port=8009

worker.testWorker.host=localhost

worker.testWorker.type=ajp13

 

I get the following error:

 

Cannot load /etc/httpd/modules/mod_jk.so into server:
/etc/httpd/modules/mod_jk.so: ELF file data encoding not little-endian

 

 

 

Note.. this same set up worked in winxp

 

Could this be because

a.) the mod_jk I am using is for 2.0.53 and I am running 2.0.46

b.) I am missing some files / I need to recompile the mod_jk for my os

c.) some other reason?

 

Thanks 

Michael

 


Mime
View raw message