OK, i gave up on the mod_jk version 1.2 connector.  I downloaded the
version 2 connector and built it with:

./configure --with-apxs2=/usr/local/apache2/bin/apxs \
  --with-tomcat-41=/usr/local/tomcat \
  --with-java-home=/usr/lib/java \
  --with-jni

Installed jkjni.so and mod_jk2.so in /usr/local/apache2/modules

added
        LoadModule jk2_module /usr/local/apache2/modules/mod_jk2.so
to httpd.conf

Created all of the appropriate files.

www:/usr/local/tomcat/conf # more jk2.properties
# jk2.properties
# Configured for channel UNIX

# Set the desired handler list
handler.list=apr,request,channelUnix

# UNIX Domain socket location
channelUnix.file=/usr/local/tomcat/work/jk2.socket

# Dynamic Library
serverRoot=/usr/local/apache2
apr.NativeSo=/usr/local/apache2/modules/jkjni.so


www:/usr/local/tomcat/conf # cat workers2.properties # workers2.properties

# Shared memory handling. Needs to be set.
[shm]
info=Scoreboard. Required for reconfiguration and status with multiprocess servers
file=/usr/local/tomcat/logs/jk2.shm
size=1048576
debug=0
disabled=0

# UNIX domain socket
[channel.un:/usr/local/tomcat/work/jk2.socket]
tomcatId=localhost:8009
debug=0

# define the worker
[ajp13:/usr/local/tomcat/work/jk2.socket]
channel=channel.un:/usr/local/tomcat/work/jk2.socket

# Announce a "status" worker
[status:status]
info=Status worker. Displays runtime information.

[uri:/jkstatus/*]
group=status:status

# Uri mapping
[uri:/examples/*]

# Uri mapping for MyFirst
[uri:/MyFirst/*]

Then, when I start tomcat I get the following in the log file.

www:/var/log/tomcat # more catalina.out
Jul 30, 2004 7:59:39 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.30
Jul 30, 2004 7:59:42 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
Jul 30, 2004 7:59:42 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
Jul 30, 2004 7:59:43 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', 
returnNull=true
Jul 30, 2004 7:59:46 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
Jul 30, 2004 7:59:46 PM org.apache.jk.server.JkMain start
INFO: APR not loaded, disabling jni components: java.io.IOException: 
java.lang.UnsatisfiedLinkErro
r: /usr/local/apache2/modules/jkjni.so: /usr/local/apache2/modules/jkjni.so: undefined 
symbol: apr
_md5_final
Jul 30, 2004 7:59:46 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Jul 30, 2004 7:59:46 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=1/62  config=/usr/local/tomcat/conf/jk2.properties

What does this error mean?

Thanks

Harold






--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to