Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0038271Openbravo ERPA. Platformpublic2018-04-04 16:592018-05-09 19:29
alostale 
alostale 
normaltrivialhave not tried
closedfixed 
5
 
3.0PR18Q3 
AugustoMauch
Core
Coding ( Testing )
2018-04-04
pi
http://code.openbravo.com/erp/devel/pi/rev/f0156943cb5e389e280ff5cfc82a62bbcbec97a1 [^]
No
0038271: pg connections set "PostgreSQL JDBC Driver" as application name
After fix for 0038269, application name in PostgreSQL is set to "PostgreSQL JDBC Driver", before was not set.
- Start Openbravo
- Execute select * from pg_stat_activity
  -> check application_name field is PostgreSQL JDBC Driver
This is a change introduced in recent jdbc versions [1], having default name is not significant at all, so proposal is to change it to "openbravo"

---
[1] https://github.com/pgjdbc/pgjdbc/pull/668/files#diff-9c1bd193fba088d6998a42dbc12c7b53L284 [^]
No tags attached.
caused by defect 0038269 closed alostale parallel export.sampledata can get stuck 
Issue History
2018-04-04 16:59alostaleNew Issue
2018-04-04 16:59alostaleAssigned To => alostale
2018-04-04 16:59alostaleModules => Core
2018-04-04 16:59alostaleRegression level => Coding ( Testing )
2018-04-04 16:59alostaleRegression date => 2018-04-04
2018-04-04 16:59alostaleRegression introduced in release => pi
2018-04-04 16:59alostaleRegression introduced by commit => http://code.openbravo.com/erp/devel/pi/rev/f0156943cb5e389e280ff5cfc82a62bbcbec97a1 [^]
2018-04-04 16:59alostaleTriggers an Emergency Pack => No
2018-04-04 16:59alostaleRelationship addedcaused by 0038269
2018-04-04 16:59alostaleReview Assigned To => AugustoMauch
2018-04-04 17:01hgbotCheckin
2018-04-04 17:01hgbotNote Added: 0103678
2018-04-04 17:01hgbotStatusnew => resolved
2018-04-04 17:01hgbotResolutionopen => fixed
2018-04-04 17:01hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/5e575bc53464c7d096a824920f01baa0cee6c4a5 [^]
2018-04-05 11:30AugustoMauchNote Added: 0103688
2018-04-05 11:30AugustoMauchStatusresolved => closed
2018-04-05 11:30AugustoMauchFixed in Version => 3.0PR18Q3
2018-05-09 19:29hudsonbotCheckin
2018-05-09 19:29hudsonbotNote Added: 0104363

Notes
(0103678)
hgbot   
2018-04-04 17:01   
Repository: erp/devel/pi
Changeset: 5e575bc53464c7d096a824920f01baa0cee6c4a5
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Wed Apr 04 17:00:51 2018 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/5e575bc53464c7d096a824920f01baa0cee6c4a5 [^]

fixed bug 38271: pg connections set "PostgreSQL JDBC Driver" as app name

  New jdbc sets it by default, changed it to "openbravo"

---
M modules/org.openbravo.apachejdbcconnectionpool/src/org/openbravo/apachejdbcconnectionpool/JdbcExternalConnectionPool.java
---
(0103688)
AugustoMauch   
2018-04-05 11:30   
Code reviewed and verified
(0104363)
hudsonbot   
2018-05-09 19:29   
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/2be7d3efe606 [^]
Maturity status: Test