Problems using Cassandra Connector in JasperReports Server

 

Hello.  I have installed the iReport plugin for the Cassandra Connector and successfully created a report that accesses my Cassandra database.  Now I want to execute my report on the Jasper Server.  I copied the Cassandra jars to the appropriate folders and followed the instrucitons for renaming the hive*.jar files in order to prevent the thrift conflict with the Cassandra connector.  After renaming the hive jars the Jasper Server fails to start.  If I leave the hive*.jars, I can load my jrxml onto the server but I get the following error when trying to run:

 

com.jaspersoft.jasperserver.api.JSException: java.lang.IncompatibleClassChangeError: Implementing class at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl.fillReport(EngineServiceImpl.java:497) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl.executeReportUnitRequest(EngineServiceImpl.java:1666) at com.jaspersoft.jasperserver.api.engine.jasperreports.domain.impl.ReportUnitRequest.execute(ReportUnitRequest.java:67) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl.execute(EngineServiceImpl.java:399) at com.jaspersoft.jasperserver.war.action.ViewReportAction.executeReport(ViewReportAction.java:637) at com.jaspersoft.jasperserver.war.action.ViewReportAction.executeReport(ViewReportAction.java:523) at com.jaspersoft.jasperserver.war.action.ViewReportAction.runReport(ViewReportAction.java:371) at  ...

 

I am running Cassandra 1.1.5 and cassandra-connector-for-jaspersoft-bin-0.5.1.  Any help you can provide is appreciated. 

Lalena.

laria's picture
3
Joined: Oct 16 2012 - 12:34pm
Last seen: 10 years 4 months ago

2 Answers:

What errors do you get when you cannot restart your server? I confirm that it's working well for me in JRS 4.7 and JRS 5.0.

I updated the wiki docs to be more precise. Maybe that will help point the way to whatever the issue is.

mdahlman's picture
34280
Joined: Mar 13 2007 - 2:43am
Last seen: 8 years 4 months ago

Had the same issue. The Cassandra Connector v0.5.1 was missing json-org-1.0.jar. Download it, put it into WEB-INF/lib and restart the server.

dshtemberg's picture
Joined: Jan 8 2013 - 11:21pm
Last seen: 10 years 2 months ago
Feedback