Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0040187
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] Y. DBSourceManagerminorhave not tried2019-02-12 19:132019-03-28 14:56
ReportercaristuView Statuspublic 
Assigned Tocaristu 
PriorityhighResolutionfixedFixed in Version3.0PR19Q2
StatusclosedFix in branchFixed in SCM revision8fd656b227b8
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toalostale
Web browser
ModulesCore
Regression levelPre packaging ( pi )
Regression date2019-02-01
Regression introduced in releasepi
Regression introduced by commithttps://code.openbravo.com/erp/devel/dbsm-main/rev/3dc03f579c070c8b4fb62a9ca059bf632f02f513 [^]
Triggers an Emergency PackNo
Summary

0040187: export.database gets stuck using old pool

Descriptionexport.database task gets stuck using old pool
Steps To Reproduce1) 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
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0039128 closedcaristu ant compile.apply.module task gets stuck when updating from 2.50 to pi 
caused by defect 0040047 closedcaristu Fix database export to avoid manually copying wstx-asl-3.0.2.jar inside Ant folder 
related to feature request 0040552 closedcaristu upgrade hibernate to version 5.4 

-  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
Powered by Mantis Bugtracker