Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0022599 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
feature request | [Openbravo ERP] A. Platform | minor | N/A | 2012-12-17 13:19 | 2013-01-22 15:32 | |||
Reporter | alostale | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | 3.0MP20 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 7df2baff13d2 | ||||
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 | AugustoMauch | |||||||
OBNetwork customer | No | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0022599: Dual OB contexts: one for background processes another for regular operations | |||||||
Description | In 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 Solution | Add 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-. | |||||||
Tags | Performance | |||||||
Attached Files | ![]() | |||||||
![]() |
|
![]() |
|
(0054981) alostale (viewer) 2012-12-17 13:23 |
Attached fix for this. |
(0055541) alostale (viewer) 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 (administrator) 2013-01-18 10:31 |
Code reviewed and verified in pi@112c07c81e68 |
(0055632) hudsonbot (viewer) 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 (viewer) 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 |
![]() |
|||
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 | OBNetwork customer | => No |
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 |