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

View Revisions: Issue #35121 All Revisions ] Back to Issue ]
Summary 0035121: Offline store server keeps sending requests to central server
Revision 2017-02-03 22:00 by mtaal
Description The store server can be offline because the CS is not available or when another system (e.g. stockmd) can not be reached. In the latter case the CS can be online and reachable.

In this case the store server (in synchronized mode) will try to send requests to the central server while the store server is still offline.

A probably related topic is that the CS can be really offline but behind an apache server which returns an empty result. In this case the following message is shown to the webpos user: The transaction failed on the server, change your input or try again. Detailed error message: No result obtained from OBMOBC_SERVER_DEFINITION(3B53B397974E42DABF2EFFB09D0572C1) (name: CentralServer) for service /org.openbravo.mobile.core.service.jsonrest/org.openbravo.mobile.core.servercontroller.SynchronizedServerProcessCaller

Revision 2017-02-01 10:35 by mtaal
Description There are 2 ways to detect that the CS is not reachable:
1- serverstate background process which pings the CS
2- when doing a request and noticing that the CS is not available

In approach 1, the CS server status in the store server mobile server table is updated to OFF. However, in approach 2 this does not happen.

The result is that when the background process is not running that the store server transitions to offline while the CS is still seen as online. This results in that any tickets from webpos are still being tried to be send to CS giving the error message:

The transaction failed on the server, change your input or try again. Detailed error message: No result obtained from OBMOBC_SERVER_DEFINITION(3B53B397974E42DABF2EFFB09D0572C1) (name: CentralServer) for service /org.openbravo.mobile.core.service.jsonrest/org.openbravo.mobile.core.servercontroller.SynchronizedServerProcessCaller



Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker