seems I just found myself a little workaround for this problem by setting the timeout property of the loadbalancer to 60.
now instead of showing the 500 error from tomcat jk2 waits up to 60 seconds, which is far long enough for the context to load.
so no 500 errors no more. Still if someone knows a better way, I'd like to hear from it.


frank


Frank Duffner wrote:


hi everyone,

I've got two Jboss (alternatively 2 tomcat) instances working with jk2 and load balancing with level failover.
So everything works beautifull -> when my first server is down, the second one fills the gap.


Problem now is: when server1 restarts jk2 sends all requests to him, allthough he's not yet truely ready - hasn't loaded the necessary context .
So I get an 500 error from tomcat, which is really stupid cause my backup server could still handle the requests.


So my question is: Is there a way to tell jk2 to wait till a certain context is loaded before switching back.

thanks for reply,
frank

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