Web Servers on Unix and Linux - Problem with letting apache and tomcat communicate

This is Interesting: Free IT Magazines  
Home > Archive > Web Servers on Unix and Linux > May 2004 > Problem with letting apache and tomcat communicate





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Problem with letting apache and tomcat communicate
Alex

2004-05-12, 7:41 am

Hi...this is my first post.

I have managed to install apache 1.3.29 and tomcat 4.1.30 on my
solaris 9 system.

However when I tried to let apache and tomcat communicate with each
other I have this error when I try to run "./apachectl configtest"


Syntax error on line 206 of /usr/local/apache-1.3.29/conf/httpd.conf:
Cannot load /usr/local/apache-1.3.29/modules/mod_jk.so into server:
ld.so.1: /usr/local/apache-1.3.29/bin/httpd: fatal: relocation error:
file /usr/local/apache-1.3.29/modules/mod_jk.so: symbol ap_ctx_get:
referenced symbol not found

Does anyone here know how to go about dealing with this?

This is what I have did. I installed apache and it works when i try to
access it at http://servername.

Tomcat is working when i tried to access it at http://servername:8080

I created a folder called jk in tomcat_home/conf and wrote a file
called workers.properties and also created a folder called auto at
tomcat_home/conf

I copied the file mod_jk.so to apache_home/libexec and added these
lines to file httpd.conf

<IfModule !mod_jk.c>
LoadModule jk_module modules/mod_jk.so
</IfModule>

AddModule mod_jk.c

After that I tried to compile and apache cannot start... anyone.. any
ideas?

Alex
Tulan W. Hu

2004-05-12, 9:02 am

"Alex" <alkoh316@hotmail.com> wrote in message
[snip]
> I copied the file mod_jk.so to apache_home/libexec and added these
> lines to file httpd.conf
>
> <IfModule !mod_jk.c>
> LoadModule jk_module modules/mod_jk.so

^^^^^^^???
shall this be libexec/mod_jk.so if you copy the so to libexec ?

> </IfModule>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com