Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 12823 invoked from network); 23 Jan 2006 19:53:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 Jan 2006 19:53:05 -0000 Received: (qmail 87181 invoked by uid 500); 23 Jan 2006 19:52:49 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 87155 invoked by uid 500); 23 Jan 2006 19:52:48 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 87144 invoked by uid 99); 23 Jan 2006 19:52:48 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jan 2006 11:52:48 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of Mike.Sabroff@cygnusb2b.com designates 69.223.214.2 as permitted sender) Received: from [69.223.214.2] (HELO forex.cygnuspub.com) (69.223.214.2) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jan 2006 11:52:47 -0800 Received: from [192.168.1.91] ([192.168.1.91]) by forex.cygnuspub.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 23 Jan 2006 13:50:06 -0600 Message-ID: <43D545E0.1030405@cygnusb2b.com> Date: Mon, 23 Jan 2006 15:08:48 -0600 From: Mike Sabroff Reply-To: mike.sabroff@cygnusb2b.com User-Agent: Thunderbird 1.5 (X11/20051201) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: mod_jk with httpd & tomcat References: <20060123185745.611.qmail@web32708.mail.mud.yahoo.com> In-Reply-To: <20060123185745.611.qmail@web32708.mail.mud.yahoo.com> Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 23 Jan 2006 19:50:06.0290 (UTC) FILETIME=[3576EB20:01C62056] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I had the same problem a while back. I had to do some googling and find the mod_jk source. Trying to compile it was problematic and I also got the unresolved errors I had to rebuild apache with jk as part of the build in order to get it to work. I wish I could remember where I got the source and the instructions, but I am old and forget easily (actually age has nothing to do with it....always been like that) I appologize, especially since I spent many hours trying this and that and I know what you are going through I do remember, that the proceedure was different with apache 2.x than it was with 1.3x that I have installed. Greg Bobak wrote: > > I am using Tomcat 5.0.28 BTW. > > G. > > Greg Bobak wrote: I am trying to get mod_jk to > work with apache 2.0.55 and get this error on the load module: > > 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 > > > I have looked everywhere, and have been advised to recompile apache, > which I have done successfully a few times. This is how I have > recompiled: > > ./configure --prefix=/usr/local/apache2 --enable-mods-shared=all > --enable-ssl=shared --enable-ssl --with-ssl=/usr/local/ssl > --enable-proxy --enable-proxy-connect --enable-proxy-ftp > --enable-proxy-http --enable-so --enable-rule="SHARED_CORE" > > make > > make install > > I use "make clean" between attempts..Ihave tried withou the > "SHARED_CORE" and without the --enable-so because > --enable-mods-shared=all should cover that. Still no luck. > > I am using Solaris 9. Here is some diag info: > > root@anf-echttp1:/usr/local/apache2/bin # ldd -d > /usr/local/apache2/modules/mod_jk.so > libc.so.1 => /usr/lib/libc.so.1 > libdl.so.1 => /usr/lib/libdl.so.1 > symbol not found: ap_server_root > (/usr/local/apache2/modules/mod_jk.so) > symbol not found: ap_null_cleanup > (/usr/local/apache2/modules/mod_jk.so) > symbol not found: dir_module > (/usr/local/apache2/modules/mod_jk.so) > /usr/platform/SUNW,Serverblade1/lib/libc_psr.so.1 > > root@anf-echttp1:/usr/local/apache2/bin # httpd -V > Server version: Apache/2.0.55 > Server built: Jan 23 2006 13:17:34 > 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" > > root@anf-echttp1:/usr/local/apache2/bin # httpd -v > Server version: Apache/2.0.55 > Server built: Jan 23 2006 13:17:34 > > > Please advise as to what info would be helpful in determining the root > cause. > > Thanks for your help, > Greg > > > > > > > --------------------------------- > > What are the most popular cars? Find out at Yahoo! Autos > > > > --------------------------------- > > What are the most popular cars? Find out at Yahoo! Autos > -- Mike Sabroff Web Services Developer mike.sabroff@cygnusb2b.com 920-568-8379 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org