Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0032519Openbravo ERPA. Platformpublic2016-03-21 15:552016-06-17 19:36
alostale 
alostale 
normalminorhave not tried
closedfixed 
5
 
3.0PR16Q33.0PR16Q3 
caristu
Core
No
0032519: make possible to override Openbravo.properties from an absolute path
In instances with application server clustering, it is currently possible to override part of Openbravo properties per server [1].

When deploying Openbravo as a war, it forces to include different configuration files within the war's config directory, which makes it difficult to manage because whenever a new server is added, war file needs to be changed.

It should be possible to decouple it by adding the capability to define per server the absolute path for this configuration.

---
[1] http://wiki.openbravo.com/wiki/Openbravo.properties#Overriding_properties_per_instance [^]
-
In addition to current mechanism to override properties, add a new way that will read a system property (ie. properties.path) so that if present, it will look for file to override properties in that absolute path.
No tags attached.
related to feature request 0028605 closed alostale define different properties in Tomcat clustering environments 
related to feature request 00325113.0PR16Q3 closed alostale support JBoss AS 7.1.1 
? properties-abs-path.export (2,957) 2016-03-22 08:25
https://issues.openbravo.com/file_download.php?file_id=9194&type=bug
Issue History
2016-03-21 15:55alostaleNew Issue
2016-03-21 15:55alostaleAssigned To => platform
2016-03-21 15:55alostaleModules => Core
2016-03-21 15:55alostaleTriggers an Emergency Pack => No
2016-03-21 15:55alostaleTarget Version => 3.0PR16Q3
2016-03-21 15:57alostaleRelationship addedrelated to 0028605
2016-03-21 15:57alostaleStatusnew => scheduled
2016-03-21 15:57alostaleAssigned Toplatform => alostale
2016-03-22 07:37alostaleRelationship addedrelated to 0032511
2016-03-22 08:25alostaleFile Added: properties-abs-path.export
2016-04-05 12:05alostaleReview Assigned To => caristu
2016-04-05 12:22hgbotCheckin
2016-04-05 12:22hgbotNote Added: 0085435
2016-04-05 12:22hgbotStatusscheduled => resolved
2016-04-05 12:22hgbotResolutionopen => fixed
2016-04-05 12:22hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/567476d491cd8a1fed61213445cbaa3cf53e825a [^]
2016-04-05 12:22hgbotCheckin
2016-04-05 12:22hgbotNote Added: 0085436
2016-04-19 19:16caristuNote Added: 0085757
2016-04-19 19:16caristuStatusresolved => closed
2016-04-19 19:16caristuFixed in Version => 3.0PR16Q3
2016-06-17 19:36hudsonbotCheckin
2016-06-17 19:36hudsonbotNote Added: 0087420

Notes
(0085435)
hgbot   
2016-04-05 12:22   
Repository: erp/devel/pi
Changeset: 567476d491cd8a1fed61213445cbaa3cf53e825a
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue Mar 22 08:23:42 2016 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/567476d491cd8a1fed61213445cbaa3cf53e825a [^]

fixed 32519: Openbravo.properties can be overriden from an absolute path

  It is now possible to override some properties by defining an abosolute path
  to a properties file through properties.path system property.

---
M src-core/src/org/openbravo/base/ConfigParameters.java
---
(0085436)
hgbot   
2016-04-05 12:22   
Repository: erp/devel/pi
Changeset: e1b261c3f9d920eb40150911d6aed187f8f632e8
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue Apr 05 12:21:35 2016 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/e1b261c3f9d920eb40150911d6aed187f8f632e8 [^]

related to issue 32519: updated javadoc

---
M src-core/src/org/openbravo/base/ConfigParameters.java
---
(0085757)
caristu   
2016-04-19 19:16   
Verified
(0087420)
hudsonbot   
2016-06-17 19:36   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/0dc7be081b1c [^]
Maturity status: Test