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:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 8:31 PM
To: Tomcat Users List; [EMAIL PROTECTED]
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" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Thursday, March 27, 2003 11:13 PM
Subject: RE: MOD JK2
What do you have in workers2.properties?mailto:[EMAIL PROTECTED]
--------------------------------------------
Quinton McCombs
NequalsOne - HealthCare marketing tools
http://www.NequalsOne.com---------------------------------------------------------------------
-----Original Message----- From: Jonas Eriksson [mailto:[EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
