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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0035933
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] StoreServerminorhave not tried2017-05-05 12:222017-05-07 22:35
ReporterAugustoMauchView Statuspublic 
Assigned ToAugustoMauch 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision7b669d4a10f7
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomtaal
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0035933: Change log in ServerStateBackground from warn to debug

DescriptionThe ServerStateBackground class shows the following warning log when it is executed in a single server environment:

70305 [DefaultQuartzScheduler_Worker-1] WARN org.openbravo.mobile.core.servercontroller.ServerStateBackground - No server key defined or no Mobile Server Definitions with the defined server key. The ServerStateBackground process can only run if the server key is defined in Openbravo.properties

The job is executed periodically, so the logs ends up being repeated many times. If the server has been configured to be single server then there is nothing to warn about, a debug message informing that the process will not be executed should be enough.
Steps To ReproduceIn a multiserver environment, where the ServerStateBackground process is scheduled:
- Configure the central server to be a single server: Remove the Mobile Multi-Server Architecture Enablement preference, uninstall SymmetricDS and remove the mobile server key from Openbravo properties.
- Start Tomcat. Check that periodically the following warning is shown in the log:

70305 [DefaultQuartzScheduler_Worker-1] WARN org.openbravo.mobile.core.servercontroller.ServerStateBackground - No server key defined or no Mobile Server Definitions with the defined server key. The ServerStateBackground process can only run if the server key is defined in Openbravo.properties
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0096418)
hgbot (developer)
2017-05-05 13:01

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 7b669d4a10f78f28f7fab7c606b33fb0be26a3c6
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Fri May 05 13:00:39 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/7b669d4a10f78f28f7fab7c606b33fb0be26a3c6 [^]

Fixes issue 35933: Change log level to DEBUG in ServerStateBackground

If the ServerStateBackground is executed in a single server environment, there is no need to warn the user that the mobile server key is not defined, it is enough to just show a debug message.

---
M src/org/openbravo/mobile/core/servercontroller/ServerStateBackground.java
---
(0096439)
mtaal (manager)
2017-05-07 22:35

Reviewed

- Issue History
Date Modified Username Field Change
2017-05-05 12:22 AugustoMauch New Issue
2017-05-05 12:22 AugustoMauch Assigned To => AugustoMauch
2017-05-05 12:22 AugustoMauch Triggers an Emergency Pack => No
2017-05-05 12:57 AugustoMauch Steps to Reproduce Updated View Revisions
2017-05-05 13:01 hgbot Checkin
2017-05-05 13:01 hgbot Note Added: 0096418
2017-05-05 13:01 hgbot Status new => resolved
2017-05-05 13:01 hgbot Resolution open => fixed
2017-05-05 13:01 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/7b669d4a10f78f28f7fab7c606b33fb0be26a3c6 [^]
2017-05-05 13:02 AugustoMauch Review Assigned To => mtaal
2017-05-07 22:35 mtaal Note Added: 0096439
2017-05-07 22:35 mtaal Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker