Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0034542 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | minor | have not tried | 2016-11-16 16:49 | 2016-12-16 18:38 | |||
Reporter | alostale | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 3.0PR17Q1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | b83ebb9b59bb | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | caristu | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0034542: [clustering] instance activation/refresh in a node is not detected in others | |||||||
Description | Working in a clustered environment, when instance is activated or refreshed in a node, other nodes don't get refreshed. | |||||||
Steps To Reproduce | Case 1: Activation 1.1. Prepare a community instance in an environment with 2 Tomcats (srv1 and srv2) using the same DB 1.2. Log in in srv1 as Sys Admin 1.3. Load Login page in srv2 1.4. Activate instance in srv1 1.5. Log in in srv2 -> NOK: Instance remains as community when served from srv2 Case 2: refresh 2.1. In the previous instance that is already activated restart srv2 2.2. In srv2 log in as Sys Admin 2.3. Change settings to that license (ie. modify number of allowed concurrent users) 2.4. In srv2 refresh license 2.5. Login in srv1 as Sys Admin 2.6. Check license settings in Instance Activation window -> NOK: Settings remain as they were, they are not updated with new ones | |||||||
Tags | clustering | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||||||||
|
Notes | |
(0091623) hgbot (developer) 2016-11-17 10:18 |
Repository: erp/devel/pi Changeset: b83ebb9b59bbb7459daa24a14ed265f153b17967 Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Wed Nov 16 16:55:58 2016 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/b83ebb9b59bbb7459daa24a14ed265f153b17967 [^] fixed issue 34542: instance activation/refresh in a node not detected in others When activating/refreshing instance in a node of a cluster, other nodes didn't get refreshed maintaing already cached information. Even there was a mechanism to reload activation when AD_System was updated, it didn't work correctly because strPublicKey was not getting updated which was later checked to actually reload the license. The fix: - Removes code duplication so this same flow is invoked from different places centrally maintained - Small code clean up for better readability --- M src/org/openbravo/erpCommon/obps/ActivationKey.java --- |
(0091717) caristu (developer) 2016-11-21 17:53 |
Code reviewed + testing OK: nodes license information now is refreshed. |
(0092639) hudsonbot (developer) 2016-12-16 18:38 |
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/dc8bf00badd0 [^] Maturity status: Test |
Issue History | |||
Date Modified | Username | Field | Change |
2016-11-16 16:49 | alostale | New Issue | |
2016-11-16 16:49 | alostale | Assigned To | => alostale |
2016-11-16 16:49 | alostale | Modules | => Core |
2016-11-16 16:49 | alostale | Triggers an Emergency Pack | => No |
2016-11-16 16:49 | alostale | Tag Attached: clustering | |
2016-11-16 16:49 | alostale | Review Assigned To | => caristu |
2016-11-16 16:50 | alostale | Relationship added | blocks 0034490 |
2016-11-16 16:50 | alostale | Relationship added | related to 0034518 |
2016-11-17 10:18 | hgbot | Checkin | |
2016-11-17 10:18 | hgbot | Note Added: 0091623 | |
2016-11-17 10:18 | hgbot | Status | new => resolved |
2016-11-17 10:18 | hgbot | Resolution | open => fixed |
2016-11-17 10:18 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/b83ebb9b59bbb7459daa24a14ed265f153b17967 [^] |
2016-11-21 17:53 | caristu | Note Added: 0091717 | |
2016-11-21 17:53 | caristu | Status | resolved => closed |
2016-11-21 17:53 | caristu | Fixed in Version | => 3.0PR17Q1 |
2016-12-16 18:38 | hudsonbot | Checkin | |
2016-12-16 18:38 | hudsonbot | Note Added: 0092639 |
Copyright © 2000 - 2009 MantisBT Group |