newbie question re mod_jk

2010-08-12 Thread Matthew Fleming
Hi,

I'm a newbie with tomcat trying to get a basic mod_jk configuration working.
I have a mod_jk.conf file containing
JkMount /Client_Access ajp13
JkMount /Client_Access/* ajp13

I'm not getting any errors in the file specified as JkLogFile, and netstat
-l shows a listening socket at port 8009.

I can load my servlet from http://localhost:8080/Client_Access, but I can't
load it from http://localhost/Client_Access
so mod_jk isn't working. What could it be?

Thanks,

Matthew Fleming

PS, here is my whole mod_jk.conf file:

LoadModule jk_module /usr/lib/apache2/modules/mod_jk.so
JkWorkersFile /home/mfleming/apache-tomcat-6.0.29/conf/workers.properties
JkLogFile /var/log/mod_jk.log
JkLogLevel info
JkLogStampFormat [%a %b %d %H:%M:%S %Y]
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
JkRequestLogFormat %w %V %T
JkMount /Client_Access ajp13
JkMount /Client_Access/* ajp13

Here is workers.properties:

worker.list=ajp13
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

This is what I'm seeing in mod_jk.log:
[Wed Aug 11 20:44:10 2010][4008:3066754848] [warn]
jk_map_validate_property::jk_map.c (410): The attribute
'worker.ajp13.cachesize' is deprecated - please check the documentation for
the correct replacement.
[Wed Aug 11 20:44:10 2010][4008:3066754848] [warn]
jk_map_validate_property::jk_map.c (410): The attribute
'worker.ajp13.cache_timeout' is deprecated - please check the documentation
for the correct replacement.
[Wed Aug 11 20:44:10 2010][4008:3066754848] [info] init_jk::mod_jk.c (2830):
mod_jk/1.2.26 initialized

I'm running tomcat 6.0.29 on Linux.


newbie question re mod_jk

2010-08-12 Thread Matthew Fleming
I appreciate all the suggestions and have implemented them all, but its
still not working. Any other suggestions?

Matthew Fleming


newbie question re mod_jk

2010-08-12 Thread Matthew Fleming
Working now. Thanks again for all your advice. The original recommendations
were all that was necessary (plus I had two apache Includes in the wrong
order, and there was a little matter of a typo...) Thanks so much for all
your help.

Matthew Fleming