Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0025492Openbravo ERPA. Platformpublic2014-01-16 14:362014-01-17 15:49
AugustoMauch 
AugustoMauch 
noneminoralways
closedfixed 
5
 
3.0PR14Q2 
dbaz
Core
No
0025492: OBSchedulerInitializerListener is not closing its conection
OBSchedulerInitializerListener is instantiating an OBDal connection but then it is not closing it.
See here [1]. The connection is commited, but not closed.

[1] https://code.openbravo.com/erp/devel/pi/file/929ca6801012/src/org/openbravo/base/OBSchedulerInitializerListener.java#l134 [^]
No tags attached.
Issue History
2014-01-16 14:36AugustoMauchNew Issue
2014-01-16 14:36AugustoMauchAssigned To => AugustoMauch
2014-01-16 14:36AugustoMauchModules => Core
2014-01-16 14:36AugustoMauchTriggers an Emergency Pack => No
2014-01-16 14:39AugustoMauchIssue Monitored: dbaz
2014-01-16 14:41AugustoMauchReview Assigned To => dbaz
2014-01-16 14:42hgbotCheckin
2014-01-16 14:42hgbotNote Added: 0063444
2014-01-16 14:42hgbotStatusnew => resolved
2014-01-16 14:42hgbotResolutionopen => fixed
2014-01-16 14:42hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/443d243fb7b4f51f53a603e9697180d84f63da06 [^]
2014-01-16 23:58dbazNote Added: 0063452
2014-01-16 23:58dbazStatusresolved => closed
2014-01-16 23:58dbazFixed in Version => 3.0MP32
2014-01-17 15:49hudsonbotCheckin
2014-01-17 15:49hudsonbotNote Added: 0063507

Notes
(0063444)
hgbot   
2014-01-16 14:42   
Repository: erp/devel/pi
Changeset: 443d243fb7b4f51f53a603e9697180d84f63da06
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Thu Jan 16 14:39:06 2014 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/443d243fb7b4f51f53a603e9697180d84f63da06 [^]

Fixes issue 25492: OBSchedulerInitializerListener connection is closed.

OBSchedulerInitializerListener now calls OBDal.getInstance().commitAndClose(); instead of OBDal.getInstance().getConnection.commit(); This has been placed in the finally block to make sure it is alwas executed.

---
M src/org/openbravo/base/OBSchedulerInitializerListener.java
---
(0063452)
dbaz   
2014-01-16 23:58   
Reviewed @ changeset: 21798 - d3396fd85019
(0063507)
hudsonbot   
2014-01-17 15:49   
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/9669102eb541 [^]
Maturity status: Test