Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0026794 | Openbravo ERP | A. Platform | public | 2014-06-05 09:25 | 2015-03-06 14:04 |
|
Reporter | egoitz | |
Assigned To | alostale | |
Priority | immediate | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0PR15Q2 | |
Merge Request Status | |
Review Assigned To | AugustoMauch |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0026794: Prevent re-starting background processes not finished when starting tomcat |
Description | Prevent re-starting backround processes not finished when starting tomcat |
Steps To Reproduce | When an ad_process_run has a row with status='PRC', when starting tomcat Openbravo tries to execute that process.
This causes in many cases performance problems because the process does not finish. |
Proposed Solution | |
Additional Information | |
Tags | Performance |
Relationships | related to | defect | 0027315 | | closed | alostale | Slow query related to interrupted background processes running on tomcat startup. |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2014-06-05 09:25 | egoitz | New Issue | |
2014-06-05 09:25 | egoitz | Assigned To | => AugustoMauch |
2014-06-05 09:25 | egoitz | Modules | => Core |
2014-06-05 09:25 | egoitz | Resolution time | => 1402351200 |
2014-06-05 09:25 | egoitz | Triggers an Emergency Pack | => No |
2014-10-20 02:26 | eintelau | Issue Monitored: eintelau | |
2015-01-20 16:48 | egoitz | Note Added: 0073649 | |
2015-02-24 17:03 | alostale | Relationship added | related to 0027315 |
2015-02-27 12:43 | hgbot | Checkin | |
2015-02-27 12:43 | hgbot | Note Added: 0075029 | |
2015-03-02 09:38 | ngarcia | Issue Monitored: ngarcia | |
2015-03-02 10:23 | alostale | Assigned To | AugustoMauch => alostale |
2015-03-02 11:59 | alostale | Note Added: 0075071 | |
2015-03-02 11:59 | alostale | Summary | Prevent re-starting backround processes not finished when starting tomcat => Prevent re-starting background processes not finished when starting tomcat |
2015-03-02 12:02 | alostale | Note Added: 0075072 | |
2015-03-02 12:23 | alostale | Review Assigned To | => AugustoMauch |
2015-03-02 13:58 | alostale | Tag Attached: Performance | |
2015-03-02 15:07 | hgbot | Checkin | |
2015-03-02 15:07 | hgbot | Note Added: 0075093 | |
2015-03-02 15:07 | hgbot | Status | new => resolved |
2015-03-02 15:07 | hgbot | Resolution | open => fixed |
2015-03-02 15:07 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/5d6465124256165b25897d0b5c37afde04039453 [^] |
2015-03-03 16:09 | hudsonbot | Checkin | |
2015-03-03 16:09 | hudsonbot | Note Added: 0075125 | |
2015-03-06 14:04 | AugustoMauch | Note Added: 0075247 | |
2015-03-06 14:04 | AugustoMauch | Status | resolved => closed |
2015-03-06 14:04 | AugustoMauch | Fixed in Version | => 3.0PR15Q2 |
Notes |
|
(0073649)
|
egoitz
|
2015-01-20 16:48
|
|
also with the following configuration on a ad_process_request the tomcat does not start:
STATUS='SCH' and CHANNEL='Direct'
That is not defined manually but randomly on some executions |
|
|
(0075029)
|
hgbot
|
2015-02-27 12:43
|
|
|
|
|
channel is set as Direct when processes are executed directly from toolbar button instead of scheduling them |
|
|
|
Added test suite in TestLink [1]: Platform > Scheduled processes on Tomcat restart.
Before fixing this issue the status of these test cases is:
* 8052: Fail, process is re-executed
* 8053: Fail, process is re-executed
* 8054: OK
* 8055: OK
[1] https://testlink.openbravo.com/testlink [^] |
|
|
(0075093)
|
hgbot
|
2015-03-02 15:07
|
|
Repository: erp/devel/pi
Changeset: 5d6465124256165b25897d0b5c37afde04039453
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Mon Mar 02 13:59:01 2015 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/5d6465124256165b25897d0b5c37afde04039453 [^]
fixed issue 26794: some bg processes are restarted on Tomcat start
Processes sheduled to be run immediatelly or executed from a button in the toolbar,
that were in execution when Tomcat was stopped, were re-started next time Tomcat
was started again.
In these 2 cases now the process requests are marked as 'System Restart' not
rescheduling them again.
---
M src/org/openbravo/scheduling/OBScheduler.java
M src/org/openbravo/scheduling/Process.java
M src/org/openbravo/scheduling/ProcessRequest_data.xsql
---
|
|
|
|
|
|
|
Code reviewed and verified in pi@486e7700e8d0 |
|