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 06:10:23 GMT
Hi

workers.java_home=/usr/j2se
ps=/
worker.list=test1,test2

## TEST1 CONNECTOR
worker.test1.port=xxxx
worker.test1.host=xxx.xxx.xxx.xxx
worker.test1.type=ajp13
worker.test1.lbfactor=1
## 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.type=lb
worker.test3.sticky_session=1
worker.test3.balance_workers=test2

My httpd.conf :

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

Apart from above configuration, i have jvmRoute of server.xml set to :
for test1 == test1
for test2 == test2

Also, i have example.war copied into the webapps of test2 tomcat instance to
loadbalance test1 url.

Still, nothing doing? Wht other configuration is left now? Or i need to
discard anything?
Please Help --- This has taken up almost more than week now........

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


Hi Nehal,

See the following comment;

Regards,

Toshio

> Hi,
>
> I tried as follows....
>
> My workers.properties :
>
> workers.java_home=/usr/j2se
> ps=/
> worker.list=test1,test2,test3,test4
The workers that are member of load balancer must not
appear in the worker.list directive.
http://tomcat.apache.org/connectors-doc/howto/loadbalancers.html

> ## 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
You should remove the two lines above.

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

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


Mime
View raw message