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