Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0021215Openbravo ERPA. Platformpublic2012-07-26 07:432012-08-29 18:09
alostale 
AugustoMauch 
urgentminorhave not tried
closedfixed 
5
 
 
migueldejuana
Core
No
0021215: Process monitor shows stopped process as in execution
The issue is that the process monitor is a really an activity log but it looks like a real time status. We have had situations that required a reboot, but the log still shows active processes. This make it very confusing when trying to get a sense if a process is locked up. i.e. a process that did not complete before the restart will appear to still be processing. We realize this is just because nothing got written back upon abnormal termination but this is confusing to customers.

Restart tomcat while there is a process in execution
It seems like this log should be cleaned up upon reboot. There should be an end time and the status should be changed to "system restarted" or something like that.

An alternative would be to log a reboot entry in the process monitor so at least it is clear what tasks are remnants since last reboot.
No tags attached.
related to defect 0027315 closed alostale Slow query related to interrupted background processes running on tomcat startup. 
Issue History
2012-07-26 07:43alostaleNew Issue
2012-07-26 07:43alostaleAssigned To => alostale
2012-07-26 07:43alostaleModules => Core
2012-08-14 13:51AugustoMauchAssigned Toalostale => AugustoMauch
2012-08-16 18:12hgbotCheckin
2012-08-16 18:12hgbotNote Added: 0051333
2012-08-16 18:12hgbotStatusnew => resolved
2012-08-16 18:12hgbotResolutionopen => fixed
2012-08-16 18:12hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/48255571a9706a3806289648fc0bcdb5afd85ef4 [^]
2012-08-17 09:25hgbotCheckin
2012-08-17 09:25hgbotNote Added: 0051335
2012-08-29 18:09migueldejuanaClosed by => migueldejuana
2012-08-29 18:09migueldejuanaNote Added: 0051649
2012-08-29 18:09migueldejuanaStatusresolved => closed
2015-03-02 12:14alostaleRelationship addedrelated to 0027315

Notes
(0051333)
hgbot   
2012-08-16 18:12   
Repository: erp/devel/pi
Changeset: 48255571a9706a3806289648fc0bcdb5afd85ef4
Author: Shankar Balachandran <shankar.balachandran <at> openbravo.com>
Date: Thu Aug 16 17:03:20 2012 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/48255571a9706a3806289648fc0bcdb5afd85ef4 [^]

Fixes Issue 21215 : Setting End time for incomplete Process Instance on System Restart

Setting the end time as current time for incomplete process instances and setting the status as 'System Restart'

---
M src-db/database/sourcedata/AD_REF_LIST.xml
M src/org/openbravo/base/OBSchedulerInitializerListener.java
---
(0051335)
hgbot   
2012-08-17 09:25   
Repository: erp/devel/pi
Changeset: 28081bd3f4d0b4357f9c15c3af7b00ab5f4eac8c
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Fri Aug 17 09:24:49 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/28081bd3f4d0b4357f9c15c3af7b00ab5f4eac8c [^]

Related to issue 21215: Change the way of retrieving the connection

---
M src/org/openbravo/base/OBSchedulerInitializerListener.java
---
(0051649)
migueldejuana   
2012-08-29 18:09   
Tested and reviewed in pi@19952d22eb0a