Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0035933 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] StoreServer | minor | have not tried | 2017-05-05 12:22 | 2017-05-07 22:35 | |||
Reporter | AugustoMauch | View Status | public | |||||
Assigned To | AugustoMauch | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | 7b669d4a10f7 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | mtaal | |||||||
OBNetwork customer | No | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0035933: Change log in ServerStateBackground from warn to debug | |||||||
Description | The 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 Reproduce | In 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 | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(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 (viewer) 2017-05-07 22:35 |
Reviewed |
![]() |
|||
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 | OBNetwork customer | => No |
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 |