I have apache 2.0.43, Tomcat 4.1.24/Jboss 3.2.1 and using both mod_jk
1.2.5 and 2.02 (mod_jk/2 = seems to work the same on both 1.2 and 2.0).


-There is no tomcat on the apache server.  
-I have 2 or more tomcat servers.  
-Load balancing is working OK (as good as it mod_jk/2 balances).  
- Tomcat is not clustered

Problem is when a worker leaves the network.  If the worker is the first
one in the list things are much worse (especially for session less
requests).  The mod_jk/2 tries a TCP connection to the first worker.  It
appears to try several times 8, 10, not sure. We must wait for this TCP
connection to time-out before making a connection to the next worker.
It appears to mark the server in "failed" mode for 10 - 15 seconds.  The
next request that comes in after that delay, mod_jk/2 tries to make the
send the request to the dead worker and the TCP connection must again
time-out before the worker is disabled for another 10 - 15 seconds.

Q.

- Is there a way to have mod_jk/2 keep the worker flagged as failed
until some sort of app-app message is successful?
- keep trying the TCP connection and keep the worker in flagged as
failed until the server responds to the TCP request (accepted or
rejected)?
- Is there some well known method to deal with a server that drops from
the network without manually removing the worker from the properties
file?
- Is there a way to change the length of time a server is considered
dead before sending a new connection to it?
- Another connector between Apache and Tomcat to use that does not
exhibit this behavior?

I have tried a large number of configuration changes for both mod_jk
1.2.x and 2.x as well as different mod_jk versions. 

Thanks,

Joe Aiello

-----Original Message-----
From: Rick Szeto [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 21, 2004 10:18 AM
To: Tomcat Users List
Subject: Quick context question.

Hi,
  Does Tomcat 5 allow starting, stopping and/or restarting of a context 
without affecting the other contexts of the same webapp? Also, can a 
context be stopped or restarted gracefully(ie keep running until all of 
the sessions are dead)?

Thanks,
Rick Szeto

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