aspose file tools*
The moose likes Tomcat and the fly likes mod_jk issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "mod_jk issue" Watch "mod_jk issue" New topic
Author

mod_jk issue

Gerg Kabob
Greenhorn

Joined: Aug 27, 2004
Posts: 4
Hi,

I'm trying to get Tomcat 5.0.28 to work with Apache 2.0.55 and I get this error when trying to start Apache:

Syntax error on line 276 of /usr/local/apache2/conf/httpd.conf:
Cannot load /usr/local/apache2/modules/mod_jk.so into server: ld.so.1: /usr/local/apache2/bin/httpd: fatal: relocation error: file /usr/local/apache2/modules/mod_jk.so: symbol ap_null_cleanup: referenced symbol not found

Apache was compiled like this:

Syntax error on line 276 of /usr/local/apache2/conf/httpd.conf:
Cannot load /usr/local/apache2/modules/mod_jk.so into server: ld.so.1: /usr/local/apache2/bin/httpd: fatal: relocation error: file /usr/local/apache2/modules/mod_jk.so: symbol ap_null_cleanup: referenced symbol not found

Here's som diag info:

bash-2.05# httpd -V
Server version: Apache/2.0.55
Server built: Nov 23 2005 07:11:29
Server's Module Magic Number: 20020903:11
Architecture: 32-bit
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_FCNTL_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D HTTPD_ROOT="/usr/local/apache2"
-D SUEXEC_BIN="/usr/local/apache2/bin/suexec"
-D DEFAULT_PIDLOG="logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="logs/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"
bash-2.05# httpd -l
Compiled in modules:
core.c
prefork.c
http_core.c
mod_so.c

So far I've tried compiling mod_jk myself, and keep getting this error:

could not find /usr/local/apache2/bin/apxs
configure: error: You must specify a valid --with-apxs path
bash-2.05# ldd /usr/local/apache2/bin/apxs

That is the correct path for apxs (I've tried a dozen variations on that as well).javascript: x()
banghead

If anyone has encountered these, please advise.

Regards,
Gerg
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: mod_jk issue
 
Similar Threads
Using Tomcat 4.1 and Apache 2 on Solaris
Apache configuration error
Loading mod_jk.so
Help, running mod_jk on apache1.3, Tru64
problem in integrating Apache with Tomcat