Hi Johan, I'm sorry. Idid not pasye my entire workers.properties in the email. I do have the following line in my workers.properties file
worker.list=loadbalancer. I believe it is something to do with the virtual host. I did not define a virtual host in my mod_jk.conf (is not auto generated. I have added it manually in my httpd.conf) My mod_jk.conf looks like below # Load Mod_jk LoadModule jk_module "modules/mod_jk.so" #configure mod_jk JkWorkersFile "/usr/local/tomcat/conf/workers.properties" JkLogFile "/usr/local/tomcat/logs/mod_jk.log" JkLogLevel info JkMount /examples loadbalancer JkMount /examples/* loadbalancer my host name in the server.xml is 'localhost' on both the boxes Could spot where I'm going wrong? Thanks Deepa -----Original Message----- From: Johan Bryssling [mailto:[EMAIL PROTECTED]] Sent: 19 February 2003 11:03 To: Tomcat Users List Subject: RE: accessing remote tomcat instance 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]