tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Taylor" <tiptas...@gmail.com>
Subject mod_jk config error
Date Thu, 23 Feb 2006 12:44:40 GMT
Hi there,
I'm trying to config mod_jk 1.2.15 with tomcat 5.5.12 and apache2 in
my account on a solaris10 machine and I get the following error when I
run
>~/sw/apache2.0/bin/apachectl start
Syntax error on line 1038 of
/home/rmorrin/James/Java/DownloadedSoftware/apache2.0/conf/httpd.conf:
Cannot load /home/rmorrin/James/Java/DownloadedSoftware/apache2.0/modules/mod_jk.so
into server: ld.so.1: httpd: fatal: relocation error: file
/home/rmorrin/James/Java/DownloadedSoftware/apache2.0/modules/mod_jk.so:
symbol jni_worker_factory: referenced symbol not found

Please see my config file details at the end of this post.
Any help to resolve this is appreciated,
Regards,
James.

the mod_jk part of my httpd.conf file is as follows:
# Load mod_jk module
LoadModule      jk_module  modules/mod_jk.so
# Where to find workers.properties
JkWorkersFile ~/sw/apache2.0/conf/workers.properties
# Where to put jk logs
JkLogFile     ~/sw/apache2.0/logs/mod_jk.log
# Set the jk log level [debug/error/info]
JkLogLevel    info
# Select the log format
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
# JkOptions indicate to send SSL KEY SIZE,
JkOptions     +ForwardKeySize +ForwardURICompat -ForwardDirectories
# JkRequestLogFormat set the request format
JkRequestLogFormat     "%w %V %T"
# Send servlet for context /examples to worker named
testWorker
JkMount  /examples/servlet/* ajp13Worker
# Send JSPs  for context /examples to worker named
testWorker
JkMount  /examples/*.jsp ajp13Worker

and my workers.properties is in ~/sw/apache2.0/conf and is as follows:
workers.tomcat_home=/home/rmorrin/sw/tomcat-5.5.12
workers.java_home=/home/rmorrin/sw/jdk1.5.0_05
ps=/
worker.list=ajp13Worker

worker.default.port=8009
worker.default.host=localhost
worker.default.type=ajp13
worker.default.lbfactor=1

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


Mime
View raw message