Hi, I'm running Tomcat 3.3.1, Sun Java 1.3.1, and Apache 1.3.23 on Redhat Linux 7.2.
Have been using an earlier version of mod_jk fine for a long time with Tomcat 3.2.1. I upgraded to 3.3.1 the other night to fix some problems addressed by 3.3.1, and thought I had it all sussed... <insert spooky music here> mod jk is failing to pass requests for servlets to tomcat properly - it appears that it's not matching the string "/mywebapp/servlet/myservlet" properly, and leaving it to Apache to handle, who promptly returns a 404, as you expect. jsp files are working fine. If I surf directly to Tomcat on 8080, the servlets are running fine, so I think the problem is with mod jk and not Tomcat itself. If I enable "warn" level in mod_jk.conf, I see the following: [Tue May 14 22:47:57 2002] [jk_uri_worker_map.c (351)]: Into jk_uri_worker_map_t::map_uri_to_worker [Tue May 14 22:47:57 2002] [jk_uri_worker_map.c (368)]: Attempting to map URI '/testapp/servlet/index' [Tue May 14 22:47:57 2002] [jk_uri_worker_map.c (456)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match --------------------- The webapp is called testapp. mod_jk.conf looks like: LoadModule jk_module libexec/mod_jk.so AddModule mod_jk.c <IfModule mod_jk.c> JkWorkersFile /usr/local/tomcat/conf/jk/workers.properties JkLogFile /var/log/tomcat/jk.log JkLogLevel warn JkMount /*.jsp ajp13 JkMount /servlet/* ajp13 </IfModule> --------------------- Originally I experienced this problem with Apache 1.3.17, and rebuilt Apache tonight as 1.3.23 as I was adding PHP support, and figured that it might shake the monkey off this one's back... If I add the servlet manually to mod_jk.conf ala... JkMount /testapp/servlet/index ajp13 then this single servlet works ok... It appears to only be breaking when it's matching '*'... Any ideas as to what it could be? What other information do you need? Cheers, Chris Herrmann (wishing upon a star tonight...) Far Edge Technology p. 02 99553640 f. 02 99547994 m. 0403 393309 http://www.faredge.com.au -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>