Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0038358Openbravo ERPA. Platformpublic2018-04-12 16:492018-04-13 08:14
caristu 
caristu 
highminorhave not tried
closedfixed 
5
 
3.0PR18Q23.0PR18Q2 
alostale
Core
No
0038358: Unused connection pool created on module installation
A unused connection pool[1] is being created on module installation (one per installed module).

This can lead to problems with connection availability if the number of modules to be installed is big.

We have been able to reproduce it with CI[2], as there are some jobs like try-initial-pgsql which tries to install several modules, running the jobs with the following parameters: TRY_PARAMS###TC8=yes###JAVA_HOME=/usr/local/jvm/java-9.0.4-openjdk-amd64###DESC=try_java9


[1] https://code.openbravo.com/erp/devel/pi/file/60a2a309d225/src/org/openbravo/erpCommon/modules/ImportModule.java#l1284 [^]
[2] https://ci.openbravo.com//job/try-initial-pgsql/6736/artifact/SANDBOX/tomcat-logs/ci04.148_tc8.log/*view*/ [^]
In description
No tags attached.
related to backport 00383463.0PR18Q2 closed caristu Restart tomcat 8.0 not working after installing a module through MMC using JDK9 
blocks defect 0038357 closed caristu Unused connection pool created on module installation 
Issue History
2018-04-12 16:49caristuTypedefect => backport
2018-04-12 16:49caristuTarget Version => 3.0PR18Q2
2018-04-12 16:50caristuRelationship addedrelated to 0038346
2018-04-12 16:55caristuDescription Updatedbug_revision_view_page.php?rev_id=16977#r16977
2018-04-12 16:58caristuDescription Updatedbug_revision_view_page.php?rev_id=16978#r16978
2018-04-12 17:13hgbotCheckin
2018-04-12 17:13hgbotNote Added: 0103853
2018-04-12 17:13hgbotStatusscheduled => resolved
2018-04-12 17:13hgbotResolutionopen => fixed
2018-04-12 17:13hgbotFixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR18Q2/rev/9c37e7b5bf189516a80355ca861b70a2f9dfe464 [^]
2018-04-12 17:13caristuReview Assigned To => alostale
2018-04-12 17:41caristuAssigned Toplatform => caristu
2018-04-13 08:14alostaleNote Added: 0103864
2018-04-13 08:14alostaleStatusresolved => closed
2018-04-13 08:14alostaleFixed in Version => 3.0PR18Q2

Notes
(0103853)
hgbot   
2018-04-12 17:13   
Repository: erp/backports/3.0PR18Q2
Changeset: 9c37e7b5bf189516a80355ca861b70a2f9dfe464
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Thu Apr 12 17:04:43 2018 +0200
URL: http://code.openbravo.com/erp/backports/3.0PR18Q2/rev/9c37e7b5bf189516a80355ca861b70a2f9dfe464 [^]

fixes issue 38358: Unused connection pool created on module installation

---
M src/org/openbravo/erpCommon/modules/ImportModule.java
---
(0103864)
alostale   
2018-04-13 08:14   
reviewed