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( at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl.executeReportUnitRequest( at com.jaspersoft.jasperserver.api.engine.jasperreports.domain.impl.ReportUnitRequest.execute( at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl.execute( at com.jaspersoft.jasperserver.war.action.ViewReportAction.executeReport( at com.jaspersoft.jasperserver.war.action.ViewReportAction.executeReport( at com.jaspersoft.jasperserver.war.action.ViewReportAction.runReport( at  ...


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


laria's picture
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
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