tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 19917] New: - Using AF_UNIX socket with Tomcat 4.1.24, Apache 2.0.45 doesn't work
Date Wed, 14 May 2003 12:47:04 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19917>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19917

Using AF_UNIX socket with Tomcat 4.1.24, Apache 2.0.45 doesn't work

           Summary: Using AF_UNIX socket with Tomcat 4.1.24, Apache 2.0.45
                    doesn't work
           Product: Tomcat 4
           Version: 4.1.24
          Platform: PC
               URL: http://jakarta.apache.org/tomcat/tomcat-4.1-
                    doc/jk2/jk2/configtcex.html
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Connector:Coyote JK 2
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: simon.pabst@siemens.com


Using AF_UNIX socket with Tomcat 4.1.24, Apache 2.0.45 (configuration according
to http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/configtcex.html)
doesn't work.


tomcat/conf/jk2.properties:
handler.list=apr,channelUnix,request
channelUnix.file=${jkHome}/work/jk2.socket
apr.NativeSo=/lvol1/apache2/modules/jkjni.so


catalina.out reports on Tomcat start:

INFO: APR not loaded, disabling jni components: java.io.IOException:
/lvol1/apache2/modules/jkjni.so: /lvol1/apache2/modules/jkjni.so: undefined
symbol: apr_md5_final


The symbol apr_md5_final is in libaprutil-0.so which isn't linked in jkjni.so:
#ldd /lvol1/apache2/modules/jkjni.so 
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x4002d000)
        libapr-0.so.0 => /lvol1/apache2/lib/libapr-0.so.0 (0x4005a000)
        libc.so.6 => /lib/i686/libc.so.6 (0x40077000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

#nm /lvol1/apache2/lib/libaprutil-0.so|grep apr_md5_final
000094f4 T apr_md5_final



mod_jk2 was compiled as DSO from source jakarta-tomcat-connectors-4.1.24-src
with the following options:
./configure --with-apxs2=/lvol1/apache2/bin/apxs

Apache 2 (httpd-2.0.45) was compiled with the following options:
./configure --prefix=/lvol1/apache2 --enable-so --enable-ssl

Operating System: Red Hat Linux Advanced Server release 2.1AS (Pensacola)
Linux Kernel: 2.4.9-e.16summit

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message