I have two questions about mod_webapp and/or mod_jk. 
But first a little background:

Most of you know that I'm working on a 
distributed session management solution the 
purpose for which is to provide fail-over capability 
in the context of a load balanced environment.

By fail-over, I mean that in a cluster of Tomcat 
instances that are front-ended by Apache (as a load 
manager or proxy), any of the tomcat instances 
could be brought down (or crash)  without the user 
knowing it. This requires that the load-balancing 
front-end route requests for sessions on the 
downed Tomcat instance to a different tomcat 
instance. It also means that all session data that
was 'hosted' on the downed tomcat has been 
stored somewhere else in the cluster and is
available to any tomcat instance.

The bulk of this work (to manage the distribution of 
session data) is complete, I'm now in the process of 
integrating it with the Tomcat 4.x. As an aside, It could 
also be integrated with Tomcat 3.x should someone 
desperately require it.

I haven't been able to find much information about 
mod_webapp and how it is supposed to work (for 
load balancing). I can only assume that it is similar to 
mod_jk's load balancing behavior. My understanding
of this is that Apache will remember which tomcat 
instance 'created' each JSESSIONID, and route 
subsequent requests to the tomcat instance that 
was responsible for creating that session.

First question: Are my above assumptions correct? If 
not, can someone provide a more accurate description 
of the intended behavior or point me to the place that 
does?

If my assumptions are correct, this means that fail-over 
cannot occur, since requests are only routed to the
tomcat instance that 'created' the given JSESSIONID.

Second question: How can I go about getting the 
necessary connector level changes made that will
support re-routing of requests for sessions hosted
on a 'downed' tomcat to some other tomcat?

This re-routing of requests is critical. Without it
fail-over is simply not possible.

Regards,

Tom Drake
President, software/etc inc.
Cell: 408-505-6864
Email: [EMAIL PROTECTED]


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to