-
1. Re: Unable to instantiate driver class "org.olap4j.driver.xmla.XmlaOlap4jDriver"
jaysensharma Sep 30, 2015 4:43 AM (in response to claudinei)Above look like a WARNING.
The mentioned WARNING seems to be coming because your "org.olap4j.driver.xmla.XmlaOlap4jDriver" JDBC Driver is not providing a No Argument Constructor (see [1]) which is usually Required for Class.forName().newInstance()
In Later version of olap Driver they have fixed this issue. Please see the fix [1]. So try the latest version of your JDBC Driver where they have a public empty constructor so it can be instantiated correctly by JDBC
-
2. Re: Unable to instantiate driver class "org.olap4j.driver.xmla.XmlaOlap4jDriver"
claudinei Sep 30, 2015 8:01 AM (in response to jaysensharma)The only JDBC driver i'm using is MySqlDriver and is the latest version already.
<driver name="mysql" module="com.mysql"> <driver-class>com.mysql.jdbc.Driver</driver-class> <xa-datasource-class>com.mysql.jdbc.jdbc2.optional.MysqlXADataSource</xa-datasource-class> </driver>
The Olap4jDriver is not in project or Wildfly, Jasper Reports is auto using it, and i can't find a way to include this driver in Wildfly.
Do you know what a can do?
-
3. Re: Unable to instantiate driver class "org.olap4j.driver.xmla.XmlaOlap4jDriver"
jaysensharma Sep 30, 2015 11:49 PM (in response to claudinei)Even if you think that you are not using OLAP directly, But the "jasperreports" which you are using in your project uses the "olap". See [1].
Although the message which you posted in your initial issue description is just a WARNING message which you can ignore. Or else contact your jasperreports team to provide you a new updated framework which includes the fixed version of "olap". The Olap driver should contain the fix [2] to avoid the WARNING message which you are getting.[2] https://github.com/olap4j/olap4j/commit/0627ad7ffb2694b0074c7baca9b73a0b5eef6465