Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0037379 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
feature request | [Retail Modules] StoreServer | minor | have not tried | 2017-11-24 07:10 | 2017-11-29 15:57 | |||
Reporter | mtaal | View Status | public | |||||
Assigned To | mtaal | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | f637adf4814f | ||||
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 | migueldejuana | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0037379: In mobile server request executor when read time out occurs then do not go offline | |||||||
Description | See the related issue for details of code location. Currently the store server will transition to offline also if the CS can be reached but is very slow. The idea is to change this and only transition to offline in case of connection time outs. | |||||||
Steps To Reproduce | See related issue | |||||||
Proposed Solution | Catch the specific exception, retry but do not transition to offline. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0100714) mtaal (manager) 2017-11-26 13:22 |
Added preference and docs: http://wiki.openbravo.com/wiki/Store_and_Multi_Server_Preferences#Behavioral_Preferences [^] See: Read timeout forces offline preference |
(0100715) mtaal (manager) 2017-11-26 13:29 edited on: 2017-11-26 18:44 |
For get a readtime out do the following: - install/run multiserver - set the read time out preference to a low value (1 minute) to make it easier to test - set a breakpoint in the MobileService class in the CS - enter a ticket in webpos, check the SS code that it read times out but does not go offline Do the above test also with the preference set to Y to check the preference logic. Note also the comments in the code (see diff) that subsequent requests are handled with readtimeout depending on where you put the breakpoint. |
(0100717) hgbot (developer) 2017-11-26 23:10 |
Repository: erp/pmods/org.openbravo.mobile.core Changeset: f637adf4814f52a51f216804a530274af8a126a6 Author: Martin Taal <martin.taal <at> openbravo.com> Date: Sun Nov 26 23:09:02 2017 +0100 URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/f637adf4814f52a51f216804a530274af8a126a6 [^] Fixes issue 37379: In mobile server request executor when read time out occurs then do not go offline In case of read time out then do not go offline, help to control this using a preference Note: the changeset is somewhat larger because it includes changing from a recursive call to a while loop --- M src-db/database/sourcedata/AD_REF_LIST.xml M src/org/openbravo/mobile/core/servercontroller/MobileServerRequestExecutor.java --- |
(0100814) migueldejuana (developer) 2017-11-29 15:57 |
Reviewed |
Issue History | |||
Date Modified | Username | Field | Change |
2017-11-24 07:10 | mtaal | New Issue | |
2017-11-24 07:10 | mtaal | Assigned To | => mtaal |
2017-11-24 07:10 | mtaal | Triggers an Emergency Pack | => No |
2017-11-24 07:11 | mtaal | Relationship added | depends on 0037249 |
2017-11-26 13:22 | mtaal | Note Added: 0100714 | |
2017-11-26 13:29 | mtaal | Note Added: 0100715 | |
2017-11-26 17:48 | mtaal | Note Edited: 0100715 | View Revisions |
2017-11-26 18:43 | mtaal | Note Edited: 0100715 | View Revisions |
2017-11-26 18:44 | mtaal | Note Edited: 0100715 | View Revisions |
2017-11-26 23:09 | mtaal | Review Assigned To | => AugustoMauch |
2017-11-26 23:10 | hgbot | Checkin | |
2017-11-26 23:10 | hgbot | Note Added: 0100717 | |
2017-11-26 23:10 | hgbot | Status | new => resolved |
2017-11-26 23:10 | hgbot | Resolution | open => fixed |
2017-11-26 23:10 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/f637adf4814f52a51f216804a530274af8a126a6 [^] |
2017-11-27 10:18 | mtaal | Review Assigned To | AugustoMauch => migueldejuana |
2017-11-29 15:57 | migueldejuana | Note Added: 0100814 | |
2017-11-29 15:57 | migueldejuana | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |