Erik Pentz
Network Admin
Assuming this is an Apache-generated 404, this implies that Apache doesn't
even "know" about the servlet context to pass requests to Tomcat.. when
Apache sees /servlet/webacc in a URL, it needs to KNOW that this URL belongs
to Tomcat, and that it's not a subdirectory in the Apache document root. The
404 implies that Apache does indeed think it's supposed to handle this
content itself, which of course does not exist.
So, first thing to check is your apache HTTPD.CONF file. Are there JKMount
statements telling apache about the /servlet/* context? On a typical apache
file you should see a statement like this:
JkMount /servlet/* ajp13
do you have that?
--
Jim
NSC Sysop
Yes, that's the problem. Your apache server simply doesn't even know to hand
off requests for webaccess to Tomcat. At a minimum you should have these
directives:
LoadModule jk_module modules/mod_jk.nlm
JkWorkersFile "<path to workers file>/workers.properties"
JkLogFile "<path to logs directory>/mod_jk.log"
JkLogLevel error
JkMount /servlet/* ajp13
--
Jim
NSC Sysop
at the end of httpd.conf add
include "sys:/apache2/conf/GWApache2.conf"
and in GWapache2.conf put:
#
# Root context mounts for Tomcat
#
LoadModule jk_module sys:/apache2/modules/mod_jk.nlm
JkWorkersFile "SYS:/adminsrv/conf/mod_jk/workers.properties"
JkLogFile "SYS:/tomcat/4/logs/mod_jk.log"
#
# Log level to be used by mod_jk
#
JkLogLevel info
#
# Root context mounts for Tomcat
#
JkMount /*.jsp ajp13
JkMount /servlet/* ajp13
reload everying and it should work
good luck
Tony