tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexandros Kotsiras" <kotsi...@mediaondemand.com>
Subject RE: Load Balancing
Date Tue, 02 May 2000 14:08:26 GMT
You have to use the long  that uses hostname and port number to which Tomcat
is listening

ApJServMount /examples_1/servlet ajpv12://hostname_1:8009/examples_1
ApJServMount /examples_2/servlet ajpv12://hostname_2:8009/examples_2

If each JVM is on different machin like in the above example  then you can
use the same port number for all of them. But if they reside on the same
machine then yuo have to use different port number as :

ApJServMount /examples_1/servlet ajpv12://hostname_1:8008/examples_1
ApJServMount /examples_2/servlet ajpv12://hostname_1:8009/examples_2

Of course you have to define port number in server.xml as well.



From: Youngho Cho [mailto:youngho@nannet.co.kr]
Sent: Tuesday, May 02, 2000 8:25 AM
To: tomcat-user@jakarta.apache.org
Subject: Load Balancing



Hi,

I would like to setup a different context per different JVM in different
machine.

for example
http://www.my.com/contextA/  : machine A
http://www.my.com/contextB/  : machine B

I'm trying to setup from tomcat-apache.conf but because of autogeneration of
this conf file I can't change the file.

How can I set like above ?

Thanks in advance.

youngho


--------------------------------------------------------------------------
To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
For additional commmands, email: tomcat-user-help@jakarta.apache.org


Mime
View raw message