Failover load balancing is not working
--------------------------------------
Key: SYNAPSE-338
URL: https://issues.apache.org/jira/browse/SYNAPSE-338
Project: Synapse
Issue Type: Bug
Components: Endpoints
Affects Versions: 1.2-beta1
Environment: All environments
Reporter: Kalani Ruwanpathirana
Priority: Blocker
The request is not properly directed to the next backup server, on server
failure.
When I down the server1 while running the sample 53 it gets stuck without
directing the request to the server2 and following exception is printed in the
client console.
[java] Request: 109 ==> Response from server: MyServer1
[java] Request: 110 ==> Response from server: MyServer1
[java] 2008-05-30 02:12:10,132 [-] [main] INFO HTTPSender Unable to
sendViaPost to url[http://localhost:8280]
[java] org.apache.commons.httpclient.NoHttpResponseException: The server
localhost failed to respond
[java] at
org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1976)
[java] at
org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735)
[java] at
org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098)
[java] at
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
[java] at
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
[java] at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
[java] at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
[java] at
org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:542)
[java] at
org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:189)
[java] at
org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75)
[java] at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:364)
[java] at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:208)
[java] at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:448)
[java] at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:401)
[java] at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:228)
[java] at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
[java] at
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:548)
[java] at
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:528)
[java] at
samples.userguide.LoadbalanceFailoverClient.sessionlessClient(Unknown Source)
[java] at samples.userguide.LoadbalanceFailoverClient.main(Unknown
Source)
[java] The server localhost failed to respond
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]