> -----Original Message----- > From: Rainer Jung [mailto:[EMAIL PROTECTED] > Sent: 09 December 2008 12:32 > To: Tomcat Users List > Subject: Re: Can not fail over a web service call using mod_jk > > Zeke schrieb: > > Thank you very much, Rainer! > > Yes. My node accept the request first, then it will return 500 if the > called > > web service is not available ...So mod_jk can not fail over the > request in > > this situation. Do you have some suggestion for this situation? I > really > > hope none of the calling to my web service in my cluster will be > lost. > > Something would need to buffer the request body. What about your web > service client? Could it do a retry, when it gets an error status code? > It should still have the rquest data available. > > The mod_jk module would put the bad worker into error state after > detecting any error, so that the client retry would go to another node. > > Regards, > > Rainer >
From a design point of view do you feel that this is beyond the scope of mod_jk to buffer request bodies? From one point of view it does make sense to have the retry logic completely in mod_jk, but I can certainly understand the point of view to have retry logic on the client. Regards ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]