Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0036021 | Retail Modules | StoreServer | public | 2017-05-17 12:33 | 2017-06-12 18:34 |
Reporter | AugustoMauch | ||||
Assigned To | mtaal | ||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Merge Request Status | |||||
Review Assigned To | AugustoMauch | ||||
OBNetwork customer | No | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0036021: If the mobile.server.key defined in Openbravo.properties is wrong, Tomcat should not start | ||||
Description | IThe mobile.server.key defined in Openbravo.properties is used to identify the entry from the OBMOBC_SERVER_DEFINITION table that represents the current server. It can be null in non-multiserver environments, or have a value which is equal to the mobileServerKey column of one of the entries in the OBMOBC_SERVER_DEFINITION table. If it has a wrong value, then an error message should be shown, and Tomcat should not be started. With this: - It will be possible to detect as soon as possible if a store server is not properly configured - Many exceptions that would be thrown because of the wrong mobile.server.key will be prevented. | ||||
Steps To Reproduce | In a multiserver environment: - Change the mobile.server.key in Openbravo.properties to a wrong value. - Start Tomcat: * Even though it seems Tomcat is started, Openbravo will not be properly deployed, the login page will not load * There will be lots of errors in the log, like this one 16914 [localhost-startStop-1] ERROR org.openbravo.base.exception.OBException - Server not defined Central1 org.openbravo.base.exception.OBException: Server not defined Central1 at org.openbravo.mobile.core.servercontroller.MobileServerController.getMobileServer(MobileServerController.java:445) at org.openbravo.mobile.core.servercontroller.MobileServerController.getThisServerDefinitionId(MobileServerController.java:469) | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2017-05-17 12:33 | AugustoMauch | New Issue | |||
2017-05-17 12:33 | AugustoMauch | Assigned To | => AugustoMauch | ||
2017-05-17 12:33 | AugustoMauch | OBNetwork customer | => No | ||
2017-05-17 12:33 | AugustoMauch | Triggers an Emergency Pack | => No | ||
2017-05-17 13:09 | AugustoMauch | Review Assigned To | => mtaal | ||
2017-05-17 13:10 | hgbot | Checkin | |||
2017-05-17 13:10 | hgbot | Note Added: 0096640 | |||
2017-05-17 13:10 | hgbot | Status | new => resolved | ||
2017-05-17 13:10 | hgbot | Resolution | open => fixed | ||
2017-05-17 13:10 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/ecd3c8a141ffe51381b08af3f086f0128e3e7a1d [^] | ||
2017-05-21 23:02 | mtaal | Assigned To | AugustoMauch => mtaal | ||
2017-05-21 23:03 | mtaal | Note Added: 0096690 | |||
2017-05-21 23:03 | mtaal | Status | resolved => new | ||
2017-05-21 23:03 | mtaal | Resolution | fixed => open | ||
2017-05-21 23:03 | mtaal | Review Assigned To | mtaal => AugustoMauch | ||
2017-06-08 09:27 | hgbot | Checkin | |||
2017-06-08 09:27 | hgbot | Note Added: 0097199 | |||
2017-06-08 09:27 | hgbot | Status | new => resolved | ||
2017-06-08 09:27 | hgbot | Resolution | open => fixed | ||
2017-06-08 09:27 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/ecd3c8a141ffe51381b08af3f086f0128e3e7a1d [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/489d3bd3bc7f7743fa35c75776016bc2b4e828a4 [^] | ||
2017-06-12 18:34 | AugustoMauch | Note Added: 0097327 | |||
2017-06-12 18:34 | AugustoMauch | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|