Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Apache2.0.49/mod_jk2 and unix domain socket

tomcatuser

2004-04-23


I am trying to get mod_jk2 working with Apache2.0.49 on Fedora Core 1. I want to try out the mod_jk2's ability to communicate with Tomcat using the unix domain socket capability. Does anyone have a howto on setting this up?

I have tried to set the following parameters in jk2.properties
channelSocket.port=8009
channelUnix.file=/opt/apache/conf/jk2.socket

When I do so, I get the following error when I start tomcat 5.0.19:
<--cut-->
Apr 23, 2004 8:29:05 AM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Apr 23, 2004 8:29:06 AM org.apache.jk.server.JkMain start
INFO: APR not loaded, disabling jni components: java.io.IOException: java.lang.UnsatisfiedLinkError: /opt/apache/modules/libjkjni.so: /opt/apache/modules/libjkjni.so: undefined symbol: apr_md5_final
<--cut-->

I then run the following command and get the resulting output:
# nm /opt/apache/modules/libjkjni.so | grep "apr_md5_final"
U apr_md5_final

Anyone have any ideas on what the problem might be?

Thanks in advance for any help.


©2008 junlu.com - Jax Systems, LLC, U.S.A.