tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Turner, John" <JTur...@AAS.com>
Subject RE: Url Mapping with mod_jk
Date Tue, 10 Sep 2002 12:18:28 GMT

This is a working workers.properties file, RH 7.2, Tomcat 4.0.4/4.1.10,
Apache 1.3.26/2.0.40 using mod_jk 4.0.4 (NOT 4.1.10):

# Setup for apache system
#
workers.tomcat_home=/usr/local/jakarta-tomcat-4.0.4
workers.java_home=/usr/java/j2sdk1.4.0_01
ps=/
worker.list=ajp12, ajp13

# Definition for Ajp13 worker
#
# worker.ajp13.port=8009
# worker.ajp13.host=localhost
# worker.ajp13.type=ajp13

worker.ajp13.port=8009
worker.ajp13.host=xxx.yyy.com
worker.ajp13.type=ajp13

John


> -----Original Message-----
> From: Anthony Milbourne [mailto:anthony.milbourne@becta.org.uk]
> Sent: Tuesday, September 10, 2002 7:55 AM
> To: 'Tomcat Users List'
> Subject: RE: Url Mapping with mod_jk
> 
> 
> I'm replying to my own message because I have sort of made 
> some progress
> 
> I have found (by reading the mod_jk.log - which I should have checked
> before) that mod_jk was failing to connect to a socket.  I 
> spent a long time
> trying to figure out whi it couldn't connect as I could do it 
> manually.
> Eventually I realised that the latest version of mod_jk comes 
> with a default
> workers.properties file that is set up to use AJP14.  Tomcat 
> 4.0.4 doesn't
> seem to support AJP14 and the connection refused was caused 
> by this.  All
> the HowTos say you don't need to touch workers.properties 
> unless you need to
> do something unusual - this is not the case.
> 
> I have now got rid of the connection refused problem - but I 
> still can't get
> Apache/mod_jk to pass requests to Tomcat.
> 
> Could someone post or point me at a working 
> workers.properties file as I
> have now hacked mine arround and I'm not sure it is OK.
> 
> Also (going back to my orriginal problem) if anyone has any 
> ideas why apache
> isn't passing requests to tomcat I would love to hear them.  
> I get nothing
> in any of the Tomcat or mod_jk logs and apache returns a page 
> not found.
> 
> Sorry to keep posting here - but I really don't know what's going on.
> 
> Thanks,
> 
> 		Anthony.
> 
> PS - What does AJP14 do ?  I tried to find info but all I 
> found was a faq
> post saying AJP14 didn't exist as it was a failed experiment !?
> 

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message