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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0022599
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Openbravo ERP] A. PlatformminorN/A2012-12-17 13:192013-01-22 15:32
ReporteralostaleView Statuspublic 
Assigned Toalostale 
PriorityurgentResolutionfixedFixed in Version3.0MP20
StatusclosedFix in branchFixed in SCM revision7df2baff13d2
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned ToAugustoMauch
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0022599: Dual OB contexts: one for background processes another for regular operations

DescriptionIn some cases background processes can consume too much Java resources to be processed.

This could be improved by having two separate contexts in different machines. One of these contexts would be used for the standard Openbravo operation whereas the other one would be used for scheduling and executing background processes. A new preference in the first one should be set to prevent process execution.
Steps To Reproduce-
Proposed SolutionAdd a new property to Openbravo.properties: background.policy. When value for this preference is no-execute, background processes won't be executed in that context.

Notes/limitations:
-Context with this preference set will not execute any background process, including those set to be executed immediately.
-If a background process is scheduled in this context, process will not be scheduled in second context until tomcat is restarted in that one. In general, processes should be scheduled in the instance reserved for background process execution-.
TagsPerformance
Attached Files? file icon issue-22599.export [^] (2,804 bytes) 2012-12-17 13:22

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0054981)
alostale (manager)
2012-12-17 13:23

Attached fix for this.
(0055541)
alostale (manager)
2013-01-16 12:24

See documentation: http://wiki.openbravo.com/wiki/Openbravo.properties#Others [^]
(0055542)
hgbot (developer)
2013-01-16 12:25

Repository: erp/devel/pi
Changeset: 7df2baff13d2036888e4acb8e8411d500f146b45
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Mon Dec 17 13:22:07 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/7df2baff13d2036888e4acb8e8411d500f146b45 [^]

fixed issue 22599: Dual OB contexts: background and regular operations

Added a new property to Openbravo.properties: background.policy.
When value for this preference is no-execute, background processes won't be executed in that context.

Notes/limitations:
-Context with this preference set will not execute any background process, including those set to be executed immediately.
-If a background process is scheduled in this context, process will not be scheduled in second context until tomcat is restarted in th

---
M config/Openbravo.properties.template
M src/org/openbravo/scheduling/OBScheduler.java
---
(0055596)
hgbot (developer)
2013-01-18 09:55

Repository: erp/devel/pi
Changeset: 0ef32863375c4af2d08d699a1a061d455239282c
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Fri Jan 18 09:54:25 2013 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/0ef32863375c4af2d08d699a1a061d455239282c [^]

related to issue 22599: cannot schedule process in non-executing instances

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/erpCommon/ad_process/RescheduleProcess.java
M src/org/openbravo/erpCommon/ad_process/ScheduleProcess.java
M src/org/openbravo/erpCommon/ad_process/UnscheduleProcess.java
---
(0055598)
AugustoMauch (manager)
2013-01-18 10:31

Code reviewed and verified in pi@112c07c81e68
(0055632)
hudsonbot (developer)
2013-01-18 20:26

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/4cd4a6cc38e0 [^]

Maturity status: Test
(0055714)
hudsonbot (developer)
2013-01-22 15:32

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/449aae8be624 [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2012-12-17 13:19 alostale New Issue
2012-12-17 13:19 alostale Assigned To => alostale
2012-12-17 13:19 alostale Modules => Core
2012-12-17 13:19 alostale Triggers an Emergency Pack => No
2012-12-17 13:22 alostale File Added: issue-22599.export
2012-12-17 13:23 alostale Note Added: 0054981
2013-01-16 12:18 alostale Tag Attached: Performance
2013-01-16 12:18 alostale Review Assigned To => AugustoMauch
2013-01-16 12:19 alostale Issue Monitored: AugustoMauch
2013-01-16 12:24 alostale Note Added: 0055541
2013-01-16 12:25 hgbot Checkin
2013-01-16 12:25 hgbot Note Added: 0055542
2013-01-16 12:25 hgbot Status new => resolved
2013-01-16 12:25 hgbot Resolution open => fixed
2013-01-16 12:25 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/7df2baff13d2036888e4acb8e8411d500f146b45 [^]
2013-01-18 09:55 hgbot Checkin
2013-01-18 09:55 hgbot Note Added: 0055596
2013-01-18 10:31 AugustoMauch Note Added: 0055598
2013-01-18 10:31 AugustoMauch Status resolved => closed
2013-01-18 10:31 AugustoMauch Fixed in Version => 3.0MP20
2013-01-18 20:26 hudsonbot Checkin
2013-01-18 20:26 hudsonbot Note Added: 0055632
2013-01-22 15:32 hudsonbot Checkin
2013-01-22 15:32 hudsonbot Note Added: 0055714


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker