Openbravo Issue Tracking System - Modules
View Issue Details
0037432ModulesApache External Connection Poolpublic2017-12-01 15:242017-12-20 09:44
alostale 
alostale 
normalminorhave not tried
closedfixed 
5
 
 
caristu
0037432: warn if org.openbravo.util.db logger is enabled and Tomcat DB Pool is not used
org.openbravo.util.db logger can only be used together with Tomcat DB Pool, if it is enabled but any other pool is used, nothing will be logged.

It should warn in log in case it is tried to be enabled but another pool is in use.
1. Use Commons DBCP pool (remove db.externalPoolClassName property value)
2. Enable org.openbravo.util.db
   -> Log says it has been enabled but nothing is logged
Add error message is log if this occurs and don't allow to enable it
No tags attached.
Issue History
2017-12-01 15:24alostaleNew Issue
2017-12-01 15:24alostaleAssigned To => alostale
2017-12-01 15:24alostaleReview Assigned To => caristu
2017-12-01 15:25hgbotCheckin
2017-12-01 15:25hgbotNote Added: 0100898
2017-12-01 15:25hgbotStatusnew => resolved
2017-12-01 15:25hgbotResolutionopen => fixed
2017-12-01 15:25hgbotFixed in SCM revision => http://code.openbravo.com/erp/mods/org.openbravo.util.db/rev/298e1d8f5033baed5f35a95a6cf3d78f24c43652 [^]
2017-12-20 09:44caristuNote Added: 0101161
2017-12-20 09:44caristuStatusresolved => closed

Notes
(0100898)
hgbot   
2017-12-01 15:25   
Repository: erp/mods/org.openbravo.util.db
Changeset: 298e1d8f5033baed5f35a95a6cf3d78f24c43652
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Fri Dec 01 15:25:10 2017 +0100
URL: http://code.openbravo.com/erp/mods/org.openbravo.util.db/rev/298e1d8f5033baed5f35a95a6cf3d78f24c43652 [^]

fixed 37432: warn if logger is enabled and Tomcat DB Pool is not used

---
M src/org/openbravo/util/db/jmx/DBPoolLoggerConfigurator.java
---
(0101161)
caristu   
2017-12-20 09:44   
Reviewed + tested OK. Fixed in version 0.1.100.