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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0029512
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] Analyticsminorhave not tried2015-04-07 13:482022-02-01 08:05
ReportershuehnerView Statuspublic 
Assigned ToTriage Platform Base 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Merge Request Status
Regression date
Regression introduced by commit
Regression level
Review Assigned To
Support ticket
OBNetwork customerNo
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

DescriptionSee 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 Solution1.) 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)
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker