Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0022599 | Openbravo ERP | A. Platform | public | 2012-12-17 13:19 | 2013-01-22 15:32 |
|
Reporter | alostale | |
Assigned To | alostale | |
Priority | urgent | Severity | minor | Reproducibility | N/A |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0MP20 | |
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-. |
Additional Information | |
Tags | Performance |
Relationships | |
Attached Files | issue-22599.export (2,804) 2012-12-17 13:22 https://issues.openbravo.com/file_download.php?file_id=5848&type=bug |
|
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 | 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 | |
Notes |
|
|
|
|
|
|
|
(0055542)
|
hgbot
|
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
|
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
---
|
|
|
|
Code reviewed and verified in pi@112c07c81e68 |
|
|
|
|
|
|
|