tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luminous Heart <luminoushe...@yahoo.com>
Subject Re: Tomcat Clustering.
Date Mon, 02 Sep 2002 14:56:56 GMT
Here is my workers file. Please notice that I mounting
tomcat context as such in my mod_jk.conf file:
   JkMount /* loadbalancer
   JkMount /servlet/* loadbalancer

loadbalancer is defined in the following workers file.

Thank you in advance.

=============== workers.properties =============
workers.tomcat_home=/usr/local/tomcat
workers.java_home=/usr/local/j2sdk1.4.0
ps=/
 
worker.list=tc13,intra13, extra13, loadbalancer
 
worker.tc13.port=8039
worker.tc13.host=localhost
worker.tc13.type=ajp13
worker.tc13.lbfactor=1
 
worker.intra13.port=8049
worker.intra13.host=localhost
worker.intra13.type=ajp13
worker.intra13.lbfactor=1
 
worker.extra13.port=8059
worker.extra13.host=localhost
worker.extra13.type=ajp13
worker.extra13.lbfactor=1
 
worker.tc41Intra.port=9009
worker.tc41Intra.host=localhost
worker.tc41Intra.type=ajp13
worker.tc41Intra.lbfactor=1
 
 
worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=tc13, intra13,
extra13
 
worker.inprocess.type=jni
worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)tomcat.jar
worker.inprocess.cmd_line=start
worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$(ps)classic$(ps)libjvm.so
worker.inprocess.stdout=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stdout
worker.inprocess.stderr=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stderr

============== End workers.properties ==========
--- David Cassidy <david@twocats.co.uk> wrote:
> Would you like to post your workers file
> 
> D
> 
> 
> Luminous Heart wrote:
> 
> >Greetings,
> >
> >I have a cluster of 3 tomcats running on linux box.
> I
> >have the three tc4.0.4 instances in a loadbalancing
> >mode. The problem is when one fails none of the
> others
> >pick up and my app wont serve any requests untill I
> >shut the faulty tc. Only at that point one of the
> >other two will work. And if I restart the faulty
> one
> >it will start working again.
> >
> >Should there be a failover behavior or loadbalance
> on
> >tc does not support that?
> >
> >Thank you.
> >
> >__________________________________________________
> >Do You Yahoo!?
> >Yahoo! Finance - Get real-time stock quotes
> >http://finance.yahoo.com
> >
> >--
> >To unsubscribe, e-mail:  
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> >For additional commands, e-mail:
> <mailto:tomcat-user-help@jakarta.apache.org>
> >
> >  
> >
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:tomcat-user-help@jakarta.apache.org>
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message