Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0038707
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajorsometimes2018-06-05 17:342018-06-18 13:37
Reporterjorge-garciaView Statuspublic 
Assigned Tojorge-garcia 
PrioritynormalResolutionfixedFixed in VersionRR18Q3
StatusclosedFix in branchFixed in SCM revision730a28c4ffbd
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0038707: If server is overloaded, the terminal request could fail

DescriptionIf server is overloaded, the term.Terminal request could fail.

This problem was detected during JMeter tests trying to load more than 400 terminals in 5 minutes.

term.Terminal request is important for the rest of request, to get the obpos_applications_id from server. If this request fails, the login process stops.

This term.Terminal request is very fast and only fails when the server is overloaded.
Steps To Reproduce1) Execute JMeter test with 400 terminals doing login in 5 minutes.
2) Several requests from masterdata fails caused by the missing information of the term.Terminal request, which has reached its timeout
Proposed SolutionIncrease the timeout of term.Terminal request in mobile services to wait a bit longer.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0105025)
hgbot (developer)
2018-06-08 08:33

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 50c3408287b10491756182efd648da193551c7d0
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Fri Jun 08 08:31:25 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/50c3408287b10491756182efd648da193551c7d0 [^]

Related to issue 38707: If server is overloaded, the terminal request could fail

JSONProcessSimple now implements the check to verify the request has not
reach the timeout defined.

---
M src/org/openbravo/mobile/core/process/JSONProcessSimple.java
---
(0105026)
hgbot (developer)
2018-06-08 08:34

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 730a28c4ffbd37fc314759b3130332b374fb3b8e
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Wed Jun 06 10:31:25 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/730a28c4ffbd37fc314759b3130332b374fb3b8e [^]

Fixed issue 38707: If server is overloaded, the terminal request could fail

Increase term.Terminal timeout from 5 seconds to 15 seconds.

Terminal class now manage correctly all exceptions (not only IOExceptions)
and logs a error message.

---
M src-db/database/sourcedata/OBMOBC_SERVICES.xml
M src/org/openbravo/retail/posterminal/term/Terminal.java
---
(0105078)
hgbot (developer)
2018-06-12 09:01

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 759024347ec28625370a598850803589b029d759
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon Jun 11 17:40:23 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/759024347ec28625370a598850803589b029d759 [^]

Related to issue 38707: If server is overloaded, the terminal request could fail

Throw a proper message to be received by webPOS in case Terminal request
fails.

---
M src/org/openbravo/retail/posterminal/term/Terminal.java
---

- Issue History
Date Modified Username Field Change
2018-06-05 17:34 jorge-garcia New Issue
2018-06-05 17:34 jorge-garcia Assigned To => jorge-garcia
2018-06-05 17:34 jorge-garcia Triggers an Emergency Pack => No
2018-06-06 10:37 jorge-garcia Status new => scheduled
2018-06-08 08:33 hgbot Checkin
2018-06-08 08:33 hgbot Note Added: 0105025
2018-06-08 08:34 hgbot Checkin
2018-06-08 08:34 hgbot Note Added: 0105026
2018-06-08 08:34 hgbot Status scheduled => resolved
2018-06-08 08:34 hgbot Resolution open => fixed
2018-06-08 08:34 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/730a28c4ffbd37fc314759b3130332b374fb3b8e [^]
2018-06-12 09:01 hgbot Checkin
2018-06-12 09:01 hgbot Note Added: 0105078
2018-06-18 13:37 marvintm Review Assigned To => marvintm
2018-06-18 13:37 marvintm Status resolved => closed
2018-06-18 13:37 marvintm Fixed in Version => RR18Q3


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker