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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0034386
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] StoreServermajorhave not tried2016-11-04 09:372016-12-02 10:08
ReportermtaalView Statuspublic 
Assigned ToAugustoMauch 
PrioritynormalResolutionfixedFixed in VersionRR17Q1
StatusclosedFix in branchFixed in SCM revisionfe78a1b47018
ProjectionnoneETAnoneTarget VersionRR17Q1
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Merge Request Status
Review Assigned Tomtaal
OBNetwork customerNo
Support ticket
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0034386: Store server does not start and shows no message when can be registered flag is not checked

DescriptionThe store server is defined in the mobile server window of the central server. When the 'can be registered' flag is not checked then the store server will not start and will stall indefinitely in the startup phase.

This can also happen it seems when the store server can't reach the central server because of network issues or something
Steps To ReproduceInstall multi-server
Define mobile servers, keep the 'can be registered' flag off for the store server
start store server
--> see that it doesn't start
Proposed SolutionThrow an exception/show message in the store server that registration is not possible.
Give a message that the can-be-registered should be flagged
Give a message if the central server can't be reached.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0091732)
hgbot (developer)
2016-11-22 12:41

Repository: erp/pmods/org.openbravo.replication.symmetricds
Changeset: fe78a1b4701888afdfb0a3ab18eb760ae99c9d63
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Tue Nov 22 12:40:19 2016 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.replication.symmetricds/rev/fe78a1b4701888afdfb0a3ab18eb760ae99c9d63 [^]

Fixes issue 34386: Impoves log when a store server cannot register

Before this change, if there was a problem when a store server tried to register in the central server the store server retried until the Tomcat start timeout was reached. Now the registration.number.of.attempts parameter has been set to 2, so it the registration is only tried twice.

After those attempts, a RegistrationFailedException is thrown. There is no way to know at the point where it is captured if this was caused because the Central Server was not reachable or because the Can Be Registered flag has not been checked, so a message is shown informing of the possible causes of the registration failure:

25545 [localhost-startStop-1] ERROR org.openbravo.replication.symmetricds.SetupSymmetricListener - The Store Server was not able to register in the Central Server. This can happen because the Central Server does not respond to requests to its registration URL (http://localhost:8070/openbravo/org.openbravo.replication.symmetricds/sync [^]), or because the Can Be Registered flag is not checked for this Store Server in Mobile Server window of the Central Server
org.jumpmind.symmetric.service.RegistrationFailedException: Failed after trying to register 2 times.

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/replication/symmetricds/SetupSymmetricListener.java
M src/org/openbravo/replication/symmetricds/templates/engine-properties.ftl
---
(0092010)
mtaal (viewer)
2016-12-02 10:08

Reviewed and tested

- Issue History
Date Modified Username Field Change
2016-11-04 09:37 mtaal New Issue
2016-11-04 09:37 mtaal Assigned To => AugustoMauch
2016-11-04 09:37 mtaal OBNetwork customer => No
2016-11-04 09:37 mtaal Triggers an Emergency Pack => No
2016-11-21 18:53 AugustoMauch Status new => scheduled
2016-11-22 12:41 AugustoMauch Review Assigned To => mtaal
2016-11-22 12:41 hgbot Checkin
2016-11-22 12:41 hgbot Note Added: 0091732
2016-11-22 12:41 hgbot Status scheduled => resolved
2016-11-22 12:41 hgbot Resolution open => fixed
2016-11-22 12:41 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.replication.symmetricds/rev/fe78a1b4701888afdfb0a3ab18eb760ae99c9d63 [^]
2016-12-02 10:08 mtaal Note Added: 0092010
2016-12-02 10:08 mtaal Status resolved => closed
2016-12-02 10:08 mtaal Fixed in Version => RR17Q1


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker