Request 218 was acted upon.
_________________________________________________________________________
URL: https://rt.openpkg.org/id/218
Ticket: [OpenPKG #218]
Subject: mod_jk cannot be loaded into apache
Requestors: [EMAIL PROTECTED]
Queue: openpkg
Owner: Nobody
Status: new
Transaction: Ticket created by [EMAIL PROTECTED]
Time: Wed Jul 30 15:11:19 2003
_________________________________________________________________________
Hello,
i've upgraded some packages to current version of OpenPKG
on Sparc Solaris 9:
apache-1.3.28-20030723
apr-0.9.3-20030707
autoconf-2.57-20030723
automake-1.7.6-20030711
binutils-2.13.2.1-1.2.0
cvs-1.11.5-1.2.2
db-4.1.25.0-1.2.0
expat-1.95.6-20030130
fsl-1.0.6-1.2.0
gcc-3.2.1-1.2.0
j2se14-1.4.2-20030723
libtool-1.5-20030723
links-2.0-1.2.0
m4-1.4o-20030723
make-3.80-1.2.0
ncftp-3.1.5-1.2.0
ntp-4.1.1b-1.2.0
openpkg-20030723-20030723
openpkg-tool-20030723-20030723
patch-2.5.8-1.2.0
pcre-3.9-1.2.0
perl-5.8.0-1.2.0
perl-ds-1.2.0-1.2.0
perl-time-1.2.0-1.2.0
postfix-2.0.2-1.2.1
procmail-3.22-1.2.0
tomcat-adapter-3.2.4-20030717
vim-6.1.290-1.2.0
zlib-1.1.4-20030227
But there is problem with loading mod_jk module from tomcat-adapter package,
it cannot be loaded into apache. Apache starting error is:
OpenPKG: start: apache:FAILED
openpkg:rc:WARNING: /cw:apache:%start: failed with return code 3
+----Log:--------------------------------------------------------------
| /cw/sbin/apachectl start: httpd could not be started
| Syntax error on line 6 of /cw/etc/tomcat-adapter/tomcat-adapter.conf:
| Cannot load /cw/libexec/tomcat-adapter/mod_jk.so into server: ld.so.1:
/cw/sbin/apache: fatal: relocation error: file /cw/libexec/tomcat-adapter/mod_jk.so:
symbol ap_table_get: referenced symbol not found
+----------------------------------------------------------------------
Here is my tomcat-adapter.conf:
##
## tomcat-adapter.conf -- Apache Configuration Snippet for Tomcat Adapter
##
# load DSO
LoadModule jk_module /cw/libexec/tomcat-adapter/mod_jk.so
# workers configuration
JkWorkersFile /cw/etc/tomcat-adapter/workers.properties
# logging
JkLogFile /cw/var/tomcat-adapter/tomcat-adapter.log
JkLogLevel warn
# assigning URLs to Tomcat
#JkMount /*.jsp ajp12
#JkMount /servlet/* ajp12
#JkMount /examples/* ajp12
Here is my workers.properties:
# Seznam AJP spojeni
worker.list=jboss
# AJP spojeni pro JBoss
worker.jboss.type=ajp13
worker.jboss.host=locahost
worker.jboss.port=8009
worker.jboss.lbfactor=50
worker.jboss.cachesize=10
worker.jboss.cache_timeout=600
worker.jboss.socket_keepalive=1
worker.jboss.socket_timeout=300
Here is my apache.conf:
##
## apache.conf -- Apache Custom Configuration
## ______________________________________________________
##
## PLEASE EDIT THIS FILE!! ADJUST YOUR CONFIGURATION BY
## OVERRIDING DIRECTIVES FROM "apache.base" HERE, PLEASE!
## ______________________________________________________
##
# include Apache default/base configuration
Include "/cw/etc/apache/apache.base"
# Include mod_jk configuration
Include "/cw/etc/tomcat-adapter/tomcat-adapter.conf"
# override/extend with local configuration
#Include "/cw/etc/apache/apache.vhost"
#Listen 127.0.0.1:80
NameVirtualHost *
<VirtualHost *>
ServerName sunik.ataco.cz
JkMount / jboss
ErrorLog /cw/var/apache/log/sunik.ataco.cz-error.log
TransferLog /cw/var/apache/log/sunik.ataco.cz-access.log
</VirtualHost>
Thanks for help