Hi!

Perhaps you forgotten to declare the workerlist with "worker.list"? I have
"tons" of Apache servers with workers and Tomcats in my "WWW-solution" and
it works perfectly!

Example of a (almost, 'cause the last type doesnt exists ;) )working
worker.properties..:

worker.list=UN, tony, bush, saddam,kennytheclown

worker.UN.port=8123
worker.UN.host=peace.notwar.com
worker.UN.type=ajp13

worker.tony.port=8123
worker.tony.host=pets.bush.com
worker.tony.type=ajp13

worker.bush.port=8123
worker.bush.host=www.bush.com
worker.bush.type=ajp13

worker.saddam.port=8123
worker.saddam.host=mad.dictator.com
worker.saddam.type=maniac


... and so fourth...

Kind regards

/Johan

Software Deveoloper

(The name of the workers are purely a coincidence...)


-----Original Message-----
From: Deepa Raja [mailto:[EMAIL PROTECTED]]
Sent: den 19 februari 2003 11:19
To: [EMAIL PROTECTED]
Subject: accessing remote tomcat instance


Hi

I have enabled loadbalancing with one local instance (isint1proc2) of tomcat
and another remote instance (on isint1proc4.local - linux box). But my
remote instance is not at all working (I checked it by removing the working
worker isint1proc2 from the balanced workers and nothing was fetched). The
host name on the server.xml for the remote instance is "localhost".
Am I doing anything  wrong or am I missing out anything? I'm using tomcat
4.1.16, Apache 2 and JK connector. My workers.properties is as shown below.
Please help.

#Default tomcat
worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=isint1proc2,isint1proc4


#tomcat on isint1proc2.local
worker.isint1proc2.port=8009
worker.isint1proc2.host=localhost
worker.isint1proc2.type=ajp13
worker.isint1proc2.lbfactor=1
worker.isint1proc2.cachesize=5

#tomcat on isint1proc4.local
worker.isint1proc4.port=8009
worker.isint1proc4.host=isint1proc4.local
worker.isint1proc4.type=ajp13
worker.isint1proc4.lbfactor=1
worker.isint1proc3.cachesize=5


Thanks
Deepa




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

Reply via email to