Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0036425Openbravo ERPA. Platformpublic2017-07-06 08:292017-09-21 16:49
alostale 
alostale 
normalmajorhave not tried
closedfixed 
5
 
3.0PR17Q4 
caristu
Core
No
0036425: mobile sessions can be kicked out in cluster
When working in a Tomcat cluster with mobile applications (other than WebPOS) and the number of concurrent users has been reached, active sessions for those applications can be incorrectly killed.

This happens for those mobile sessions created in a different node than the one creating latest session.
1. Install mobile warehouse operations
2. Set openbravo up to run in two Tomcat nodes (A and B)
3. Activate instance with a license limited to 1 concurrent user
4. In node A login warehouse mobile operations app
5. In node B login backoffice
  -> ERRORS:
      * It is possible to login backoffice -> It shouldn't as concurrent user limit has been reached
      * Session in node A is no longer valid
No tags attached.
related to defect 0036419 closed alostale no request processed while killing abandoned sessions 
related to feature request 0032821 closed platform Mobile Core. Reinforce CU Licensing 
blocks design defect 0034490 acknowledged Triage Platform Base [clustering] Support clustering 
Issue History
2017-07-06 08:29alostaleNew Issue
2017-07-06 08:29alostaleAssigned To => alostale
2017-07-06 08:29alostaleModules => Core
2017-07-06 08:29alostaleTriggers an Emergency Pack => No
2017-07-06 08:29alostaleRelationship addedrelated to 0036419
2017-07-06 08:30alostaleSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=15469#r15469
2017-07-06 08:36alostaleRelationship addedrelated to 0032821
2017-07-06 14:08alostaleReview Assigned To => AugustoMauch
2017-07-06 14:10hgbotCheckin
2017-07-06 14:10hgbotNote Added: 0097916
2017-07-06 14:10hgbotStatusnew => resolved
2017-07-06 14:10hgbotResolutionopen => fixed
2017-07-06 14:10hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/8b2480998f027d3b151016ca88553c3211d7231b [^]
2017-07-06 15:59alostaleRelationship addedblocks 0034490
2017-07-14 13:15AugustoMauchReview Assigned ToAugustoMauch => caristu
2017-07-19 13:30caristuNote Added: 0098134
2017-07-19 13:30caristuStatusresolved => closed
2017-07-19 13:30caristuFixed in Version => 3.0PR17Q4
2017-09-21 16:49hudsonbotCheckin
2017-09-21 16:49hudsonbotNote Added: 0099242

Notes
(0097916)
hgbot   
2017-07-06 14:10   
Repository: erp/devel/pi
Changeset: 8b2480998f027d3b151016ca88553c3211d7231b
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Thu Jul 06 10:02:38 2017 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/8b2480998f027d3b151016ca88553c3211d7231b [^]

fixed bug 36425: mobile sessions can be kicked out in cluster

  Don't try to invalidate those sessions not present in current node.

---
M src/org/openbravo/erpCommon/obps/ActivationKey.java
---
(0098134)
caristu   
2017-07-19 13:30   
Code reviewed + tested OK.
(0099242)
hudsonbot   
2017-09-21 16:49   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/9750b78d3e5c [^]
Maturity status: Test