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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0032519
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Openbravo ERP] A. Platformminorhave not tried2016-03-21 15:552016-06-17 19:36
ReporteralostaleView Statuspublic 
Assigned Toalostale 
PrioritynormalResolutionfixedFixed in Version3.0PR16Q3
StatusclosedFix in branchFixed in SCM revision567476d491cd
ProjectionnoneETAnoneTarget Version3.0PR16Q3
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tocaristu
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0032519: make possible to override Openbravo.properties from an absolute path

DescriptionIn 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 [^]
Steps To Reproduce-
Proposed SolutionIn 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.
TagsNo tags attached.
Attached Files? file icon properties-abs-path.export [^] (2,957 bytes) 2016-03-22 08:25

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0028605 closedalostale define different properties in Tomcat clustering environments 
related to feature request 00325113.0PR16Q3 closedalostale support JBoss AS 7.1.1 

-  Notes
(0085435)
hgbot (developer)
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 (developer)
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 (developer)
2016-04-19 19:16

Verified
(0087420)
hudsonbot (developer)
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

- Issue History
Date Modified Username Field Change
2016-03-21 15:55 alostale New Issue
2016-03-21 15:55 alostale Assigned To => platform
2016-03-21 15:55 alostale Modules => Core
2016-03-21 15:55 alostale Triggers an Emergency Pack => No
2016-03-21 15:55 alostale Target Version => 3.0PR16Q3
2016-03-21 15:57 alostale Relationship added related to 0028605
2016-03-21 15:57 alostale Status new => scheduled
2016-03-21 15:57 alostale Assigned To platform => alostale
2016-03-22 07:37 alostale Relationship added related to 0032511
2016-03-22 08:25 alostale File Added: properties-abs-path.export
2016-04-05 12:05 alostale Review Assigned To => caristu
2016-04-05 12:22 hgbot Checkin
2016-04-05 12:22 hgbot Note Added: 0085435
2016-04-05 12:22 hgbot Status scheduled => resolved
2016-04-05 12:22 hgbot Resolution open => fixed
2016-04-05 12:22 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/567476d491cd8a1fed61213445cbaa3cf53e825a [^]
2016-04-05 12:22 hgbot Checkin
2016-04-05 12:22 hgbot Note Added: 0085436
2016-04-19 19:16 caristu Note Added: 0085757
2016-04-19 19:16 caristu Status resolved => closed
2016-04-19 19:16 caristu Fixed in Version => 3.0PR16Q3
2016-06-17 19:36 hudsonbot Checkin
2016-06-17 19:36 hudsonbot Note Added: 0087420


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker