It may just be a typo, but in the first JkMount directive, it should be: JkMount /*.jsp ajp13 JkMount /servlet/* ajp13 whereas, you have: JkMount .*.jsp ajp13 JkMount /servlet/* ajp13 this might explain why you are not getting a root context Neill Laney http://home.nc.rr.com/nlaney -- Web Developer/Technical Support Specialist. A Yang <ayang_ml@yah To: [EMAIL PROTECTED], oo.ca> [EMAIL PROTECTED] cc: 03/23/2001 Subject: Configuring mod_jk 06:43 PM Please respond to tomcat-user Hello Everyone, I was just wondering if anyone could help make sure I've got mod_jk configured properly. Assuming my host name is www.myhost.com and I have a servlet context called /tomcat. In my httpd.conf, I have my DocumentRoot set to the /tomcat document root (for the sake of testing). I also have: DirectoryIndex index.html index.jsp In my mod_jk.conf, I have the following excerpt: JkMount .*.jsp ajp13 JkMount /servlet/* ajp13 JkMount /tomcat/*.jsp ajp13 JkMount /tomcat/servlet/* ajp13 So, what this means is that the following work: www.myhost.com/tomcat/index.jsp and www.myhost.com/tomcat/myservlet I'm pretty sure that if I just specify www.myhost.co/tomcat - then index.jsp gets picked up automatically. Which is good. Similarly, www.myhost.com/tomcat/something.htm works. However, when I try something like: www.myhost.com or www.myhost.com/something.htm I get the dreaded infinite-CPU-looping java process because it's trying to resolve a context and is unable to. So, my hypothesis is that Apache is NOT serving up the html documents, because otherwise, Tomcat via mod_jk should never have to resolve html files. Any insight would be appreciated. _______________________________________________________ Do You Yahoo!? Get your free @yahoo.ca address at http://mail.yahoo.ca
