tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Hartig <Kevin.Har...@Sun.COM>
Subject Re: MOD JK2
Date Fri, 28 Mar 2003 04:00:55 GMT
Are the names and usage of the parameters used in the 
workers2.properties file documented somewhere?
In particular, I'm trying to set up load balancing between multiple 
instance of Tomcat.



Quinton McCombs wrote:

>>>>My apache 2.043 does not send my  jsp requests to tomcat when
>>>>the file name is something other than .jsp
>>>>        
>>>>
>
>What sort of request is it not processing?  Servlets perhaps?  I had to
>put the full path to the servlet for it to work.  Example:
>[uri:/scarab/*]
>
>If you try something like [uri:/scarab/servlet/*] to pass only the
>servlet requests, it does not seem to work.
>
>You can also use JKUriSet in httpd.conf.
><Location "/scarab/servlet">
>  JKUriSet worker ajp13:localhost:8009
></Location>
>
>
>The above config can be used instead of [uri:/scarab/servlet] in
>workers2.properties.  This will cause only the servlet requests to be
>passed to tomcat while leaving everything else to Apache.
>
>
>  
>
>>-----Original Message-----
>>From: Jonas Eriksson [mailto:jonas2@webkonsulterna.com] 
>>Sent: Thursday, March 27, 2003 8:31 PM
>>To: Tomcat Users List; qmccombs@nequalsone.com
>>Subject: Re: MOD JK2
>>
>>
>>Well rigt now i'm using mod warp to get it to work at all.
>>But i need to get jk2 to work...
>>
>>It looks like this:
>>
>>[shm]
>>file=/usr/local/logs/shm.file
>>size=1048576
>>
>>[channel.socket:localhost:8009]
>>port=8009
>>host=127.0.0.1
>>
>>[channel.un:/usr/local/tomcat/work/jk2.socket]
>>tomcatId=localhost:8009
>>debug=0
>>
>>[ajp13:localhost:8009] 
>>#channel=channel.un:/usr/local/tomcat/work/jk2.socket
>>channel=channel.socket:localhost:8009
>>
>>[status:status]
>>
>>[uri:/*.jsp]
>>worker=ajp13:localhost:8009 
>>#worker=ajp13:/usr/local/tomcat/work/jk2.socket
>>
>>[uri:/manager/*]
>>worker=ajp13:localhost:8009
>>
>>[uri:/*/servlets/]
>>worker=ajp13:localhost:8009
>>
>>[uri:/status/*]
>>worker=status:status
>>
>>----- Original Message ----- 
>>From: "Quinton McCombs" <qmccombs@nequalsone.com>
>>To: "'Tomcat Users List'" <tomcat-user@jakarta.apache.org>
>>Sent: Thursday, March 27, 2003 11:13 PM
>>Subject: RE: MOD JK2
>>
>>
>>    
>>
>>>What do you have in workers2.properties?
>>>
>>>
>>>--------------------------------------------
>>>Quinton McCombs
>>>NequalsOne - HealthCare marketing tools 
>>>      
>>>
>>mailto:qmccombs@NequalsOne.com
>>    
>>
>>>http://www.NequalsOne.com 
>>>
>>>      
>>>
>>>>-----Original Message-----
>>>>From: Jonas Eriksson [mailto:jonas@netstuff.se]
>>>>Sent: Thursday, March 27, 2003 4:05 PM
>>>>To: Tomcat Users List
>>>>Subject: MOD JK2
>>>>
>>>>
>>>>I'm useing jk2
>>>>
>>>>My apache 2.043 does not send my  jsp requests to tomcat when
>>>>the file name is something other than .jsp
>>>>
>>>>I have looked in the manual but I only find how to fix that
>>>>with mod_jk and not for jk2. Please help me!
>>>>
>>>> 
>>>>
>>>>        
>>>>
>>>
>>>      
>>>
>>---------------------------------------------------------------------
>>    
>>
>>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>>
>>>
>>>      
>>>
>>    
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>  
>


---------------------------------------------------------------------
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