Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0040187 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] Y. DBSourceManager | minor | have not tried | 2019-02-12 19:13 | 2019-03-28 14:56 | |||
Reporter | caristu | View Status | public | |||||
Assigned To | caristu | |||||||
Priority | high | Resolution | fixed | Fixed in Version | 3.0PR19Q2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 8fd656b227b8 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | alostale | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | Pre packaging ( pi ) | |||||||
Regression date | 2019-02-01 | |||||||
Regression introduced in release | pi | |||||||
Regression introduced by commit | https://code.openbravo.com/erp/devel/dbsm-main/rev/3dc03f579c070c8b4fb62a9ca059bf632f02f513 [^] | |||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0040187: export.database gets stuck using old pool | |||||||
Description | export.database task gets stuck using old pool | |||||||
Steps To Reproduce | 1) Go to Openbravo.properties and disable the usage of the TomcatPool: db.externalPoolClassName= 2) Run ant export.database Note that the task is never ending | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||||||||||||||||
|
Notes | |
(0109808) hgbot (developer) 2019-02-13 16:38 |
Repository: erp/devel/dbsm-main Changeset: 8fd656b227b899296c6c3017dc3aa4efc1ded096 Author: Carlos Aristu <carlos.aristu <at> openbravo.com> Date: Wed Feb 13 16:05:13 2019 +0100 URL: http://code.openbravo.com/erp/devel/dbsm-main/rev/8fd656b227b899296c6c3017dc3aa4efc1ded096 [^] fixes issue 40187: export.database gets stuck using old pool When the Hibernate pool is used to handle the DB connections of the export.databas task, the JVM is not able to terminate the task because that pool uses a non-daemon thread to validate its status. This happens starting from the changes introduced to execute the export.database using a forked task[1]. To fix this issue we force the stopping of the thread by explicitly closing the Hibernate pool. [1] https://code.openbravo.com/erp/devel/dbsm-main/rev/3dc03f579c070c8b4fb62a9ca059bf632f02f513 [^] --- M src/org/openbravo/ddlutils/task/ExportDatabase.java --- |
(0109809) hgbot (developer) 2019-02-13 16:39 |
Repository: erp/devel/pi Changeset: f4bdb985e3563e554c1bd4e0a367de97db7e0387 Author: Carlos Aristu <carlos.aristu <at> openbravo.com> Date: Wed Feb 13 16:38:42 2019 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/f4bdb985e3563e554c1bd4e0a367de97db7e0387 [^] related to issue 40187: update DBSM jar --- M src-db/database/lib/dbsourcemanager.jar --- |
(0109856) alostale (manager) 2019-02-15 11:05 |
reviewed + tested |
(0110809) hudsonbot (developer) 2019-03-28 14:56 |
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/b2fbc1588df4 [^] Maturity status: Test |
Issue History | |||
Date Modified | Username | Field | Change |
2019-02-12 19:13 | caristu | New Issue | |
2019-02-12 19:13 | caristu | Assigned To | => caristu |
2019-02-12 19:13 | caristu | Modules | => Core |
2019-02-12 19:13 | caristu | Triggers an Emergency Pack | => No |
2019-02-12 19:14 | caristu | Relationship added | caused by 0040047 |
2019-02-12 19:20 | caristu | Regression level | => Pre packaging ( pi ) |
2019-02-12 19:20 | caristu | Regression date | => 2019-02-01 |
2019-02-12 19:20 | caristu | Regression introduced in release | => pi |
2019-02-12 19:20 | caristu | Regression introduced by commit | => https://code.openbravo.com/erp/devel/dbsm-main/rev/3dc03f579c070c8b4fb62a9ca059bf632f02f513 [^] |
2019-02-12 19:20 | caristu | Relationship added | related to 0039128 |
2019-02-13 16:38 | hgbot | Checkin | |
2019-02-13 16:38 | hgbot | Note Added: 0109808 | |
2019-02-13 16:38 | hgbot | Status | new => resolved |
2019-02-13 16:38 | hgbot | Resolution | open => fixed |
2019-02-13 16:38 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/dbsm-main/rev/8fd656b227b899296c6c3017dc3aa4efc1ded096 [^] |
2019-02-13 16:39 | hgbot | Checkin | |
2019-02-13 16:39 | hgbot | Note Added: 0109809 | |
2019-02-13 16:46 | caristu | Review Assigned To | => alostale |
2019-02-15 11:05 | alostale | Note Added: 0109856 | |
2019-02-15 11:05 | alostale | Status | resolved => closed |
2019-02-15 11:05 | alostale | Fixed in Version | => 3.0PR19Q2 |
2019-03-28 14:56 | hudsonbot | Checkin | |
2019-03-28 14:56 | hudsonbot | Note Added: 0110809 | |
2019-04-09 17:57 | caristu | Relationship added | related to 0040552 |
Copyright © 2000 - 2009 MantisBT Group |