You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Sameera Jayasoma (JIRA)" <ji...@apache.org> on 2010/10/28 15:36:21 UTC
[jira] Created: (SYNAPSE-704) Session Timeout issues in the
DynamicLoadBalanceEndpoint
Session Timeout issues in the DynamicLoadBalanceEndpoint
--------------------------------------------------------
Key: SYNAPSE-704
URL: https://issues.apache.org/jira/browse/SYNAPSE-704
Project: Synapse
Issue Type: Bug
Components: Core
Affects Versions: 2.0
Reporter: Sameera Jayasoma
Fix For: 2.1
DynamicLoadBalanceEndpoint supports session affinity based dynamic load balancing. Here we maintains session information in the SessionInfomation object. For these sessions in the ESB, you can set a session timeout. When the session is expired, SessionInformation object is removed from the internal map, maintained by the SALSessions class. These sessions are timed-out even if there are active requests. That means session expiry time is not updated.
The solution is to update the session expiry time per request. So when a requests come in a session, we need to updated the expiry time in the following manner.
expirytime = Current_time + session-time-out;
I've attached a patch which solves this issue.
--
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] Updated: (SYNAPSE-704) Session Timeout issues in the
DynamicLoadBalanceEndpoint
Posted by "Sameera Jayasoma (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SYNAPSE-704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sameera Jayasoma updated SYNAPSE-704:
-------------------------------------
Attachment: patch-SYNAPSE-704.txt
Attaching the patch
> Session Timeout issues in the DynamicLoadBalanceEndpoint
> --------------------------------------------------------
>
> Key: SYNAPSE-704
> URL: https://issues.apache.org/jira/browse/SYNAPSE-704
> Project: Synapse
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.0
> Reporter: Sameera Jayasoma
> Fix For: 2.1
>
> Attachments: patch-SYNAPSE-704.txt
>
>
> DynamicLoadBalanceEndpoint supports session affinity based dynamic load balancing. Here we maintains session information in the SessionInfomation object. For these sessions in the ESB, you can set a session timeout. When the session is expired, SessionInformation object is removed from the internal map, maintained by the SALSessions class. These sessions are timed-out even if there are active requests. That means session expiry time is not updated.
> The solution is to update the session expiry time per request. So when a requests come in a session, we need to updated the expiry time in the following manner.
> expirytime = Current_time + session-time-out;
> I've attached a patch which solves this issue.
--
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-704) Session Timeout issues in the
DynamicLoadBalanceEndpoint
Posted by "Supun Kamburugamuva (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SYNAPSE-704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Supun Kamburugamuva resolved SYNAPSE-704.
-----------------------------------------
Resolution: Fixed
Applied the patch. Many thanks Sameera for the contribution.
> Session Timeout issues in the DynamicLoadBalanceEndpoint
> --------------------------------------------------------
>
> Key: SYNAPSE-704
> URL: https://issues.apache.org/jira/browse/SYNAPSE-704
> Project: Synapse
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.0
> Reporter: Sameera Jayasoma
> Fix For: 2.1
>
> Attachments: patch-SYNAPSE-704.txt
>
>
> DynamicLoadBalanceEndpoint supports session affinity based dynamic load balancing. Here we maintains session information in the SessionInfomation object. For these sessions in the ESB, you can set a session timeout. When the session is expired, SessionInformation object is removed from the internal map, maintained by the SALSessions class. These sessions are timed-out even if there are active requests. That means session expiry time is not updated.
> The solution is to update the session expiry time per request. So when a requests come in a session, we need to updated the expiry time in the following manner.
> expirytime = Current_time + session-time-out;
> I've attached a patch which solves this issue.
--
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