Openbravo Issue Tracking System - Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0029512 | Modules | Analytics | public | 2015-04-07 13:48 | 2022-02-01 08:05 |
Reporter | shuehner | ||||
Assigned To | Triage Platform Base | ||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | new | Resolution | open | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Merge Request Status | |||||
Regression date | |||||
Regression introduced by commit | |||||
Regression level | |||||
Review Assigned To | |||||
Support ticket | |||||
OBNetwork customer | No | ||||
Regression introduced in release | |||||
Summary | 0029512: Analytics module is loading both pg+ora jdbc driver + even trying to load 3 more which will never be used | ||||
Description | See excerpt from openbravo.log in demo-eu1.openbravo.com online demo server: Apparently part of analytics is loading lots of possible jdbc drivers when only a single one of those is in use per instance , and 3 of those 5 attemtps i think do not make any sense ever. ff9cdf33 2015-04-07 11:49:14,393 [ajp-bio-127.0.0.1-8009-exec-4] WARN mondrian.olap.MondrianProperties - mondrian.properties can't be found under '/var/lib/tomcat/.' or classloader ff9cdf33 2015-04-07 11:49:14,393 [ajp-bio-127.0.0.1-8009-exec-4] INFO mondrian.olap.MondrianProperties - Mondrian: loaded 0 system properties ff9cdf33 2015-04-07 11:49:14,619 [ajp-bio-127.0.0.1-8009-exec-4] INFO mondrian.rolap.RolapUtil - Mondrian: JDBC driver org.postgresql.Driver loaded successfully ff9cdf33 2015-04-07 11:49:14,621 [ajp-bio-127.0.0.1-8009-exec-4] WARN mondrian.rolap.RolapUtil - Mondrian: Warning: JDBC driver sun.jdbc.odbc.JdbcOdbcDriver not found ff9cdf33 2015-04-07 11:49:14,622 [ajp-bio-127.0.0.1-8009-exec-4] WARN mondrian.rolap.RolapUtil - Mondrian: Warning: JDBC driver org.hsqldb.jdbcDriver not found ff9cdf33 2015-04-07 11:49:14,700 [ajp-bio-127.0.0.1-8009-exec-4] INFO mondrian.rolap.RolapUtil - Mondrian: JDBC driver oracle.jdbc.OracleDriver loaded successfully ff9cdf33 2015-04-07 11:49:14,700 [ajp-bio-127.0.0.1-8009-exec-4] WARN mondrian.rolap.RolapUtil - Mondrian: Warning: JDBC driver com.mysql.jdbc.Driver not found | ||||
Steps To Reproduce | - | ||||
Proposed Solution | 1.) use code as in erp checking driver classname from Openbravo.properties 2.) use java6 jdbc auto-loading, by not loading any jdbc class manually at all but just requesting DriverManager.getConnection and it will work (as both our pg+pra driver to have service entries in their manifest) | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2015-04-07 13:48 | shuehner | New Issue | |||
2015-04-07 13:48 | shuehner | Assigned To | => platform | ||
2015-04-07 13:48 | shuehner | OBNetwork customer | => No | ||
2022-02-01 08:05 | alostale | Assigned To | platform => Triage Platform Base |
There are no notes attached to this issue. |