tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Welch, Ronald P" <ronald.p.we...@BAESYSTEMS.COM>
Subject RE: Building/using JK2 - linking problem
Date Wed, 10 Sep 2003 13:00:35 GMT

I had similar problems with loading shared libraries
until I recompiled jk2 after configuring it with the
"./configure --with-apxs=/some/path/to/apache2/bin/apxs"
command suggested in John Turner's "Solaris 8 + Tomcat
HOWTO", which is, BTW, and excellent resource. I have
been able to get everything working on Solaris except
getting Apache to start Tomcat in process (I am stumped
on that one).

----------=-=-=-=-=-=-=-=-========oOo========-=-=-=-=-=-=-=-=----------                Phone:(607)770-3701
BAE SYSTEMS Controls            600 Main St Johnson City, NY 13790-1888

-----Original Message-----
From: Nikola Milutinovic [] 
Sent: Wednesday, September 10, 2003 8:49 AM
To: Tomcat Users List
Subject: Building/using JK2 - linking problem

Hi all.

I have built and from the latest
tomcat-connectors-jk2-2.0.2. This is my

channelUnix.file = /var/tomcat4/work/jk2.socket
shm.file         = /var/tomcat4/work/jk2.shm
apr.NativeSo     = /usr/lib/apache2-extramodules-2.0.44/

My problem is that when I try to start Tomcat I get errors in catalina.out:

Sep 10, 2003 2:40:44 PM org.apache.jk.server.JkMain start
  APR not loaded, disabling jni components:
        undefined symbol: apr_md5_final

I have built with shared libraries. What should I do now?

- Specify as another "apr.NativeSo"
- Relink to statically link other libraries (that should be
possible, right?)
- Leave out "apr" from jk2.config (I think I need it for AF_UNIX socket!)

Thanks for any insight.


View raw message