tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nehal Sangoi" <nehal.san...@patni.com>
Subject RE: JkMount
Date Thu, 03 Nov 2005 11:53:56 GMT
Hi All,

I could successfully implement load-balancing in tomcat apache setup. I got
idea from the foll. case.

http://www.junlu.com/msg/189637.html

Do exactly same, what he has tried explaining........
It has worked perfectly fine for me.


Regds,
Nehal

-----Original Message-----
From: Nehal Sangoi [mailto:nehal.sangoi@patni.com]
Sent: Monday, October 31, 2005 5:49 PM
To: 'Tomcat Users List'
Subject: RE: JkMount


Hi,

I tried as follows....

My workers.properties :

workers.java_home=/usr/j2se
ps=/
worker.list=test1,test2,test3,test4
## TEST1 CONNECTOR
worker.test1.port=xxxx
worker.test1.host=xxx.xxx.xxx.xxx
worker.test1.type=ajp13
## TEST2 CONNECTOR
worker.test2.port=xxxx
worker.test2.host=xxx.xxx.xxx.xxx
worker.test2.type=ajp13
worker.test2.lbfactor=1
## TEST3 CONNECTOR
worker.test3.port=xxxx
worker.test3.host=xxx.xxx.xxx.xxx
worker.test3.type=lb
worker.test3.sticky_session=1
worker.test3.balance_workers=test2

My httpd.conf :

JkMount /example/* test1
JkMount /test/* test2

But, my test2 itself is not loading the URL nw. Also, my test3 worker is not
loadbalancing test2 worker.

Please help.....


Regds,
Nehal

-----Original Message-----
From: SUGAHARA Toshio [mailto:to_sug@yahoo.co.jp]
Sent: Monday, October 31, 2005 5:11 PM
To: Tomcat Users List
Subject: Re: JkMount


Hi Nehal,

I think you had better use Tomcat load-balancing function
when you use different worker.

See below document;
http://tomcat.apache.org/connectors-doc/howto/workers.html

Regards,

Toshio

>
> How can i "JkMount" same URI twice in httpd.conf
> with different worker
> specified?
>
> e.g. i want to mount /example/* twice using
> different worker name.
>
> JkMount /example/* worker1
> JkMount /example/* worker2
>
> But this is not working. How should i configure to
> achieve my motto?
>
>
> Regds,
> Nehal
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail:
> users-help@tomcat.apache.org
>
>

--------------------------------------
Yahoo! Mail - supported by 10million people
http://pr.mail.yahoo.co.jp/10m/


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


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


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


Mime
View raw message