tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Turner <tomcat-u...@johnturner.com>
Subject Re: apache 2.0.45/tomcat 4.1.24 mod_jk trouble
Date Tue, 15 Apr 2003 16:39:35 GMT

That's correct.  The Listener in the Host container is what generates the 
VirtualHost stuff in mod_jk.conf.  The other one generates the 
LoadModule/JkWorkersFile stuff.  So, if you had 3 virtual hosts, you'd have 
4 Listeners: 1 Server, and 1 for each Host in server.xml.

It's strange...I am almost thinking that the Apache you are working with 
isn't the Apache you think you are working with.  Probably not the case, 
but I can't explain why Apache wouldn't pick up those JkMount directives 
and the /examples alias otherwise.

John

On Tue, 15 Apr 2003 12:31:05 -0400, Clay Jones <clay@clay-jones.com> wrote:

>> I know you aren't a newbie,
>
> No problem.  I'm a newbie to Tomcat, that's for sure.   I'm actually  
> hoping it is a newbie issue.  That would make things simple.
>
>> - are you sure this file is included by Apache?
> The very last line of httpd.conf is:
> Include /usr/local/tomcat/conf/auto/mod_jk.conf
>
>> - have you HUP'd Apache with the new JkLogLevel?
> Yeah, I have.
>
> One weird thing is, when I restart Apache, the timestamp on mod_jk.log  
> doesn't change.  I guess it only checks for existence, and if there's  no 
> info to write to it, the timestamp won't be updated.
>
>> - is the output of "apachectl configtest" "OK"?
>
> /usr/local/tomcat/logs--> /usr/local/apache2/bin/apachectl configtest
> Syntax OK
>
> I guess my only confusion with your docs, John was the step where you  
> say add a line to the "Host Container".  I presumed that as below in my  
> server.xml file:
>
> ######################################################################## 
> ####
> <Host name="www.clay-jones.com" debug="0" appBase="webapps"
> unpackWARs="true" autoDeploy="true">
> 		<Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"  
> append="true" forwardAll="false"  
> modJk="/usr/local/apache2/modules/mod_jk.so" />
> ######################################################################## 
> ####
>
> Of course, I also added this info:
>
> ######################################################################## 
> ####
> <Server port="8005" shutdown="SHUTDOWN" debug="0">
> <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"  
> modJk="/usr/local/apache2/modules/mod_jk.so" />
> ######################################################################## 
> ####
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>



-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

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


Mime
View raw message