Project: 	
  | View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
| ID | ||||||||||||
| 0029512 | ||||||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
| defect | [Modules] Analytics | minor | have not tried | 2015-04-07 13:48 | 2022-02-01 08:05 | |||||||
| Reporter | shuehner | View Status | public | |||||||||
| Assigned To | Triage Platform Base | |||||||||||
| Priority | normal | Resolution | open | Fixed in Version | ||||||||
| Status | new | Fix in branch | Fixed in SCM revision | |||||||||
| Projection | none | ETA | none | Target Version | ||||||||
| OS | Any | Database | Any | Java version | ||||||||
| OS Version | Database version | Ant version | ||||||||||
| Product Version | SCM revision | |||||||||||
| 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)  | |||||||||||
| Tags | No tags attached. | |||||||||||
| Attached Files | ||||||||||||
		  Relationships		[ Relation Graph ] 
		[ Dependency Graph ] 
			 | 
|
  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 |