tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@lexmark.com
Subject Re: JK load balancer question
Date Mon, 23 May 2005 18:30:08 GMT

How can I update things programmatically using Tomcat 5.0?

Kartheek - did you get this working?

cheers,

David



|---------+---------------------------->
|         |           Peter Rossbach   |
|         |           <pr@objektpark.de|
|         |           >                |
|         |                            |
|         |           05/03/2005 03:10 |
|         |           AM               |
|         |           Please respond to|
|         |           "Tomcat Users    |
|         |           List"            |
|         |                            |
|---------+---------------------------->
  >---------------------------------------------------------------------------------------------------------------|
  |                                                                                      
                        |
  |       To:       Tomcat Users List <tomcat-user@jakarta.apache.org>             
                              |
  |       cc:                                                                            
                        |
  |       Subject:  Re: JK load balancer question                                        
                        |
  >---------------------------------------------------------------------------------------------------------------|




Hey,

yes, you can configure the new status worker (>= jk 1.2.10) and used the
new ant JkStatusUpdateTask (Tomcat 5.5.9)
for active configuration. But the disabled flag don't stopp the complete
traffic. Only stop that
no new session create requests to the disabled worker. But I have
implement a stopped flag at jk 1.2.11 that really
stopp the complete traffic (Ant Task also avialable at 5.5.10 cvs head).
This mode is very helpful at the Cluster szenario.

I hope you use the Tomcat 5.5.9 with my cluster patches!
http://issues.apache.org/bugzilla/show_bug.cgi?id=34389

Peter

Hirode, Kartheek V. schrieb:

>Hello all
>
>We are planning on using a cluster of Tomcat instances behind an Apache
>server, load balanced with the JK connector. Everything is pretty
>standard except:
>(a) we'd like to turn OFF and ON the traffic coming into the Tomcat
>instances based on certain conditions. Plus we'd like to turn ON and OFF
>*programmatically*, i.e. the Tomcat instance notifies the Apache (JK) to
>START and STOP sending traffic as conditions change
>
>(b) To reiterate again, the key thing is that we'd like to notify
>*programmatically* from the Tomcat to the Apache JK.
>
>We've looked at the JK connector docs
>http://jakarta.apache.org/tomcat/connectors-doc/config/workers.html
>The attribute called "disabled" seems to do exactly that, but it is set
>in the workers.properties file and is read during startup of the Apache.
>
>
>Is there a way to modify this attribute during runtime, with an API-like
>access?
>
>Thank you and best regards
>-- Kartheek Hirode
>   HP.com Hub Services
>   Tel: 208.396.9031       Fax: 208.396.7770
>   http://hpcom.corp.hp.com/hpps/programs/hub/
>
>
>
>





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






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


Mime
View raw message