You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Hiranya Jayathilaka (JIRA)" <ji...@apache.org> on 2008/12/17 12:38:44 UTC
[jira] Created: (SYNAPSE-488) Dynamic Load Balancing with the
DynamicLoadbalanceEndpoint Does not work
Dynamic Load Balancing with the DynamicLoadbalanceEndpoint Does not work
------------------------------------------------------------------------
Key: SYNAPSE-488
URL: https://issues.apache.org/jira/browse/SYNAPSE-488
Project: Synapse
Issue Type: Bug
Components: Endpoints
Affects Versions: 1.3, NIGHTLY
Environment: Any
Reporter: Hiranya Jayathilaka
Assignee: Hiranya Jayathilaka
Fix For: NIGHTLY
The service requests from the clients get properly distributed among the dynamic members. But the responses coming back from them are not routed back to the original client. Client will wait until it finally times out without getting the response.
Steps to reproduce the issue:
* Setup the environment for sample 57 (dynamic load balance)
* Invoke the client as specified in the documentation
--
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: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org
[jira] Resolved: (SYNAPSE-488) Dynamic Load Balancing with the
DynamicLoadbalanceEndpoint Does not work
Posted by "Hiranya Jayathilaka (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SYNAPSE-488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hiranya Jayathilaka resolved SYNAPSE-488.
-----------------------------------------
Resolution: Fixed
Made the necessary changes in the trunk. Sample 57 is now running in good shape :-). Kudos to Ruwan and Azeez for all the help in resolving this issue.
> Dynamic Load Balancing with the DynamicLoadbalanceEndpoint Does not work
> ------------------------------------------------------------------------
>
> Key: SYNAPSE-488
> URL: https://issues.apache.org/jira/browse/SYNAPSE-488
> Project: Synapse
> Issue Type: Bug
> Components: Endpoints
> Affects Versions: 1.3, NIGHTLY
> Environment: Any
> Reporter: Hiranya Jayathilaka
> Assignee: Hiranya Jayathilaka
> Fix For: NIGHTLY
>
>
> The service requests from the clients get properly distributed among the dynamic members. But the responses coming back from them are not routed back to the original client. Client will wait until it finally times out without getting the response.
> Steps to reproduce the issue:
> * Setup the environment for sample 57 (dynamic load balance)
> * Invoke the client as specified in the documentation
--
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: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org
[jira] Commented: (SYNAPSE-488) Dynamic Load Balancing with the
DynamicLoadbalanceEndpoint Does not work
Posted by "Hiranya Jayathilaka (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SYNAPSE-488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12657355#action_12657355 ]
Hiranya Jayathilaka commented on SYNAPSE-488:
---------------------------------------------
It seems the issue is caused by two problems.
1. LoadbalanceFailoverClient sends the request messages to an endpoint of the form http://host:port. But the dynamic load balance endpoint requires the endpoint to be specified as http://host:port/services/LBService1 for sample 57 to work properly
2. Due to some recent changes in Synapse every time a new endpoint is created it has to be explicitly initialized. However this does not happen for the child endpoints created by the DynamicLoadbalanceEndpoint.
The issue can be successfully resolved by fixing the above two problems. The second problem can be easily fixed. Will commit the changes to the SVN soon.
> Dynamic Load Balancing with the DynamicLoadbalanceEndpoint Does not work
> ------------------------------------------------------------------------
>
> Key: SYNAPSE-488
> URL: https://issues.apache.org/jira/browse/SYNAPSE-488
> Project: Synapse
> Issue Type: Bug
> Components: Endpoints
> Affects Versions: 1.3, NIGHTLY
> Environment: Any
> Reporter: Hiranya Jayathilaka
> Assignee: Hiranya Jayathilaka
> Fix For: NIGHTLY
>
>
> The service requests from the clients get properly distributed among the dynamic members. But the responses coming back from them are not routed back to the original client. Client will wait until it finally times out without getting the response.
> Steps to reproduce the issue:
> * Setup the environment for sample 57 (dynamic load balance)
> * Invoke the client as specified in the documentation
--
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: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org