tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan August <>
Subject Can't get apache to connect to tomcat
Date Sat, 20 Aug 2005 17:19:08 GMT

I'm trying to get requests going to to get  
handed off to tomcat.

I have the mod_jk module loaded:
Apache/2.0.54 (Unix) mod_ssl/2.0.54 OpenSSL/0.9.7f mod_jk/1.2.14  
Server at Port 80

and I get the Tomcat/5.0.28 welcome screen when I go to:

but I'm missing something in between.  I'm having a really hard time  
with all this, as I imagine many people do because of all of the  
components and the confusing version numbers.  For the longest time,  
I was trying to figure out where to get mod_jk2 because it sounded  
newer than mod_jk.  Silly me.  Even my "Professional Apache Tomcat 5"  
book from 2004 has examples using mod_jk2.  Anyway...

I have added only this to my httpd.conf:
LoadModule jk_module modules/

I have this file in my /usr/local/apache/conf:
# Define 1 real worker using ajp13
# Set properties for worker1 (ajp13)

This is my file: (why is it called jk2?)

I have these lines uncommented in server.xml:
     <Connector port="8009"
                enableLookups="false" redirectPort="8443" debug="0"
                protocol="AJP/1.3" />

I know I need something to point /servlets/ or /servlets/* to a  
worker, but I'm not sure how to do that or where to put it.  I had  
something like:

JkMount /servlets/ worker1

in my httpd.conf, but that didn't work.  It actually gave me an ISE  
when I went to which was promising, but  
not what I wanted exactly.

I'd be most appreciative if someone could let me know if I'm even  
close and what else I need.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message