Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0034550Openbravo ERPA. Platformpublic2016-11-17 10:082016-12-16 18:38
alostale 
alostale 
normaltrivialhave not tried
closedfixed 
5
 
3.0PR17Q1 
caristu
Core
No
0034550: [clustering] incorrect message when trying to kill a process in a node no executing bg processes
In clustered environments, background processes can only be run in a single node (manged though background.policy property).

When trying to kill a process having logged in a node that has background processes disabled, an incorrect message is displayed.
1. In a clustered instance with srv1 executing background processes and srv2 not executing them
2. In srv1 schedule Costing background process
3. In srv2 open process in execution and try to kill it
 -> ERRORS:
     -In UI: Unable to kill process. Process not running or not found.
     -In logs:
148894 [http-bio-8082-exec-7] ERROR org.openbravo.common.actionhandler.KillProcess - Error in Kill Process
java.lang.Exception: Unable to kill process. Process not running or not found.
    at org.openbravo.common.actionhandler.KillProcess.doExecute(KillProcess.java:63)
    at org.openbravo.client.application.process.BaseProcessActionHandler.execute(BaseProcessActionHandler.java:148)
    at org.openbravo.client.kernel.BaseActionHandler.execute(BaseActionHandler.java:73)
  
clustering
related to feature request 00297513.0PR15Q3 closed rafademiguel It would be nice to have the ability to kill a background process 
blocks design defect 0034490 acknowledged Triage Platform Base [clustering] Support clustering 
Issue History
2016-11-17 10:08alostaleNew Issue
2016-11-17 10:08alostaleAssigned To => alostale
2016-11-17 10:08alostaleModules => Core
2016-11-17 10:08alostaleTriggers an Emergency Pack => No
2016-11-17 10:08alostaleTag Attached: clustering
2016-11-17 10:08alostaleRelationship addedblocks 0034490
2016-11-17 10:09alostaleRelationship addedrelated to 0029751
2016-11-17 10:14alostaleSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=13791#r13791
2016-11-17 10:14alostaleReview Assigned To => caristu
2016-11-17 10:18hgbotCheckin
2016-11-17 10:18hgbotNote Added: 0091624
2016-11-17 10:18hgbotStatusnew => resolved
2016-11-17 10:18hgbotResolutionopen => fixed
2016-11-17 10:18hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/b07ef157bb9048ed2909b62104da4b9c8e5acd23 [^]
2016-11-21 14:07caristuNote Added: 0091700
2016-11-21 14:07caristuStatusresolved => closed
2016-11-21 14:07caristuFixed in Version => 3.0PR17Q1
2016-11-21 14:12caristuNote Added: 0091701
2016-12-16 18:38hudsonbotCheckin
2016-12-16 18:38hudsonbotNote Added: 0092640

Notes
(0091624)
hgbot   
2016-11-17 10:18   
Repository: erp/devel/pi
Changeset: b07ef157bb9048ed2909b62104da4b9c8e5acd23
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Thu Nov 17 10:17:26 2016 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/b07ef157bb9048ed2909b62104da4b9c8e5acd23 [^]

fixed bug 34550: incorrect message killing process if no executing bg processes

  When trying to kill a process in a node that does not execute background processes,
  an incorrect message was displayed in UI and an error was logged in openbravo.log.

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/common/actionhandler/KillProcess.java
M src/org/openbravo/erpCommon/ad_process/ScheduleProcess.java
M src/org/openbravo/scheduling/OBScheduler.java
---
(0091700)
caristu   
2016-11-21 14:07   
Code reviewed + tested OK: displaying the correct message in the UI.
(0091701)
caristu   
2016-11-21 14:12   
Updated doc: http://wiki.openbravo.com/wiki/Openbravo.properties#Others [^]
(0092640)
hudsonbot   
2016-12-16 18:38   
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/dc8bf00badd0 [^]
Maturity status: Test