[Duraspace] tomcat6 n apache2 connector

Bravismore Mumanyi bmumanyi at uwc.ac.za
Fri Aug 6 15:37:07 SAST 2010


Hello dspace power users,
 
I am not getting any joy getting apache2 forward request to tomcat6 via mod_jk on Ubuntu LTS 10. Any tips on getting this resolved?
 
A listing of enabled modules for apache2 below shows me jk.load, which implies jk is indeed enabled
 
root at repo:/etc/tomcat6# ls /etc/apache2/mods-enabled/
alias.conf       authn_file.load       authz_host.load  autoindex.load  dir.conf  jk.load    negotiation.conf  reqtimeout.load  status.conf
alias.load       authz_default.load    authz_user.load  cgid.conf       dir.load  mime.conf  negotiation.load  setenvif.conf    status.load
auth_basic.load  authz_groupfile.load  autoindex.conf   cgid.load       env.load  mime.load  reqtimeout.conf   setenvif.load
 
my worker.properties file looks as shown below
workers.apache_log=/var/log/apache2
workers.tomcat_home=/usr/share/tomcat6/
workers.java_home=/usr/lib/jvm/java-6-openjdk/
 
#Define 1 real worker named ajp13
worker.list=ajp13
 
# Set properties for worker named ajp13 to use ajp13 protocol,
worker.ajp13.type=ajp13
worker.ajp13.host=localhost
worker.ajp13.port=8009
worker.ajp13.lbfactor=50
worker.ajp13.cachesize=10
worker.ajp13.cache_timeout=600
worker.ajp13.socket_keepalive=1
worker.ajp13.socket_timeout=300
and the tomcat.conf
root at repo:/etc/tomcat6# more /etc/apache2/conf.d/tomcat.conf
<IfModule mod_jk.c>
JkWorkersFile           /etc/tomcat6/workers.properties
JkLogFile               /var/log/apache2/mod_jk.log
JkLogLevel              info
JkLogStampFormat        "[%a %b %d %H:%M:%S %Y] "
JkRequestLogFormat      "%w %V %T"
 
# JkMount directive is: JkMount [URL prefix] [Worker name]
# send all requests ending in .jsp to ajp13_worker
JkMount                 /*.jsp ajp13
 
# send all requests ending /servlet to ajp13_worker
JkMount                 /*/servlet/ ajp13
 
#   OWN ADDITIONS
#######################################
JkMount / ajp13
JkMount /* ajp13
 
JkMount /manager ajp13
JkMount /manager/* ajp13
 
JkMount /jspui ajp13
JkMount /jspui/* ajp13
 
JkMount /xmlui ajp13
JkMount /xmlui/* ajp13
 
JkMount /oai ajp13
JkMount /oai/* ajp13
 
JkMount /lni ajp13
JkMount /lni/* ajp13
 
JkMount /sword ajp13
JkMount /sword/* ajp13
 
JkMount /solr ajp13
JkMount /solr/* ajp13
 
</IfModule>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lib.sun.ac.za/pipermail/duraspace/attachments/20100806/9be05d8b/attachment.html>
-------------- next part --------------
All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal



More information about the Duraspace mailing list