I've updated js 1.2.1 to 2.0 using the war distribution and the given sql scripts.
that works fine.
At first I've tried to run a report built on a jdbc connection. That works fine, the report is generated in the way it should be.
After that i tried to run a report built on a mondrian connection. But the only thing that was generated was a blank page. Now controll icons and now report.
After that I've tried to generate the report using the backgroung excecution. Here the following message is shown:
I must also say that my analysis views are working well. So mondrian is running.
It seems like there is a problem in the communication between jasperreports and mondrian.
Has anybody a guess what problem this could be?
Maybe Sherman has a idea?
greetz jens
that works fine.
At first I've tried to run a report built on a jdbc connection. That works fine, the report is generated in the way it should be.
After that i tried to run a report built on a mondrian connection. But the only thing that was generated was a blank page. Now controll icons and now report.
After that I've tried to generate the report using the backgroung excecution. Here the following message is shown:
Job: Background Execution (ID: 1) Report unit: /Kostenanalyse_pro_Monat Quartz Job: ReportJobs.job_1 Quartz Trigger: ReportJobs.trigger_1_0 mondrian.olap.Query.getMdxHierarchiesOnAxis(I)[Lmondrian/olap/Hierarchy; java.lang.NoSuchMethodError: mondrian.olap.Query.getMdxHierarchiesOnAxis(I)[Lmondrian/olap/Hierarchy; at net.sf.jasperreports.olap.mondrian.JRMondrianResult.<init>(JRMondrianResult.java:60) at net.sf.jasperreports.olap.JRMondrianDataSource.<init>(JRMondrianDataSource.java:45) at net.sf.jasperreports.olap.JRMondrianQueryExecuter.createDatasource(JRMondrianQueryExecuter.java:89) at net.sf.jasperreports.engine.fill.JRFillDataset.createQueryDatasource(JRFillDataset.java:682) at net.sf.jasperreports.engine.fill.JRFillDataset.initDatasource(JRFillDataset.java:614) at net.sf.jasperreports.engine.fill.JRBaseFiller.setParameters(JRBaseFiller.java:892) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:716) at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:123) at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:420) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl.fillReport(EngineServiceImpl.java:568) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl.fillReport(EngineServiceImpl.java:320) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl.executeReport(EngineServiceImpl.java:695) at com.jaspersoft.jasperserver.api.engine.jasperreports.domain.impl.ReportUnitRequest.execute(ReportUnitRequest.java:60) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl.execute(EngineServiceImpl.java:254) at com.jaspersoft.jasperserver.api.engine.scheduling.quartz.ReportExecutionJob.executeReport(ReportExecutionJob.java:299) at com.jaspersoft.jasperserver.api.engine.scheduling.quartz.ReportExecutionJob.executeAndSendReport(ReportExecutionJob.java:277) at com.jaspersoft.jasperserver.api.engine.scheduling.quartz.ReportExecutionJob.execute(ReportExecutionJob.java:148) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) |
I must also say that my analysis views are working well. So mondrian is running.
It seems like there is a problem in the communication between jasperreports and mondrian.
Has anybody a guess what problem this could be?
Maybe Sherman has a idea?
greetz jens
2 Answers:
Posted on July 20, 2007 at 11:44am
In JS 2.0, Mondrian has been upgraded to 2.3.2. This Mondrian release is not backward compatible to previous ones at the API level, and because of this the JasperReports Mondrian query executer would not work with it.
After the JS 2.0 release, the JR Mondrian query executer code has been updated to be compatible with Mondrian 2.3.2 (note this implies that older Mondrian versions are no longer supported). If you intend to use Mondrian reports in JS 2.0, you'll have to use a JR post 1.3.4 snapshot. You can build yourself one by getting the code from SVN trunk, or you can download one (corresponding to SVN rev. 1787) from [url=http://rs.jaspersoft.com/maven2/jasperreports/jasperreports/1.3.5-SNAPSH... JasperSoft Maven repository.
Regards,
Lucian
After the JS 2.0 release, the JR Mondrian query executer code has been updated to be compatible with Mondrian 2.3.2 (note this implies that older Mondrian versions are no longer supported). If you intend to use Mondrian reports in JS 2.0, you'll have to use a JR post 1.3.4 snapshot. You can build yourself one by getting the code from SVN trunk, or you can download one (corresponding to SVN rev. 1787) from [url=http://rs.jaspersoft.com/maven2/jasperreports/jasperreports/1.3.5-SNAPSH... JasperSoft Maven repository.
Regards,
Lucian