<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.6000.17063" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>Hello dspace power users,</DIV>
<DIV> </DIV>
<DIV>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?</DIV>
<DIV> </DIV>
<DIV>A listing of enabled modules for apache2 below shows me jk.load, which implies jk is indeed enabled</DIV>
<DIV> </DIV>
<DIV><A href="mailto:root@repo:/etc/tomcat6">root@repo:/etc/tomcat6</A># ls /etc/apache2/mods-enabled/<BR>alias.conf authn_file.load authz_host.load autoindex.load dir.conf <U> jk.load</U> negotiation.conf reqtimeout.load status.conf<BR>alias.load authz_default.load authz_user.load cgid.conf dir.load mime.conf negotiation.load setenvif.conf status.load<BR>auth_basic.load authz_groupfile.load autoindex.conf cgid.load env.load mime.load reqtimeout.conf setenvif.load</DIV>
<DIV> </DIV>
<DIV>my worker.properties file looks as shown below</DIV>
<DIV>workers.apache_log=/var/log/apache2<BR>workers.tomcat_home=/usr/share/tomcat6/<BR>workers.java_home=/usr/lib/jvm/java-6-openjdk/</DIV>
<DIV> </DIV>
<DIV>#Define 1 real worker named ajp13<BR>worker.list=ajp13</DIV>
<DIV> </DIV>
<DIV># Set properties for worker named ajp13 to use ajp13 protocol,<BR>worker.ajp13.type=ajp13<BR>worker.ajp13.host=localhost<BR>worker.ajp13.port=8009<BR>worker.ajp13.lbfactor=50<BR>worker.ajp13.cachesize=10<BR>worker.ajp13.cache_timeout=600<BR>worker.ajp13.socket_keepalive=1<BR>worker.ajp13.socket_timeout=300<BR></DIV>
<DIV>and the tomcat.conf</DIV>
<DIV><A href="mailto:root@repo:/etc/tomcat6">root@repo:/etc/tomcat6</A># more /etc/apache2/conf.d/tomcat.conf<BR><IfModule mod_jk.c><BR>JkWorkersFile /etc/tomcat6/workers.properties<BR>JkLogFile /var/log/apache2/mod_jk.log<BR>JkLogLevel info<BR>JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "<BR>JkRequestLogFormat "%w %V %T"</DIV>
<DIV> </DIV>
<DIV># JkMount directive is: JkMount [URL prefix] [Worker name]<BR># send all requests ending in .jsp to ajp13_worker<BR>JkMount /*.jsp ajp13</DIV>
<DIV> </DIV>
<DIV># send all requests ending /servlet to ajp13_worker<BR>JkMount /*/servlet/ ajp13</DIV>
<DIV> </DIV>
<DIV># OWN ADDITIONS<BR>#######################################<BR>JkMount / ajp13<BR>JkMount /* ajp13</DIV>
<DIV> </DIV>
<DIV>JkMount /manager ajp13<BR>JkMount /manager/* ajp13</DIV>
<DIV> </DIV>
<DIV>JkMount /jspui ajp13<BR>JkMount /jspui/* ajp13</DIV>
<DIV> </DIV>
<DIV>JkMount /xmlui ajp13<BR>JkMount /xmlui/* ajp13</DIV>
<DIV> </DIV>
<DIV>JkMount /oai ajp13<BR>JkMount /oai/* ajp13</DIV>
<DIV> </DIV>
<DIV>JkMount /lni ajp13<BR>JkMount /lni/* ajp13</DIV>
<DIV> </DIV>
<DIV>JkMount /sword ajp13<BR>JkMount /sword/* ajp13</DIV>
<DIV> </DIV>
<DIV>JkMount /solr ajp13<BR>JkMount /solr/* ajp13</DIV>
<DIV> </DIV>
<DIV></IfModule><BR><BR></DIV></BODY></HTML>