Adding a Cassandra Driver¶
Procedure:
-
Log in as the system administrator (superuser).
-
Download the Cassandra driver from here.
Note
The location for accessing the driver is provided for convenience only, and this does not constitute an endorsement or representation that this drivers is fit for any particular purpose. You are solely responsible for the deployment and use of the driver in connection with the JasperReports Server product.
-
Enable JDBC driver uploads, as described in Enabling JDBC Driver Uploads.
-
Select View > Repository, right-click a folder's name, and select Add Resource > Data Source from the context menu. Alternatively, you can select Create > Data Source from the main menu on any page.
-
From the Type drop-down, select JDBC. The page refreshes to show the fields necessary for a JDBC data source.
-
The JDBC Driver drop-down lists the available JDBC drivers and the ones that are not installed. Select Other.
-
In the JDBC Driver (required) field, enter
com.simba.cassandra.jdbc42.Driver. -
Click Add Driver. The Select Driver dialog appears.
-
In the Select Driver dialog, click Choose File to locate the appropriate driver JAR file.
-
Click Upload to install the driver.
-
In the URL field, enter
jdbc:cassandra://<hostname>::9042;DefaultKeyspace=<keyspace>.Note
SessionToken path is the location of the repo where the token file is saved.
-
Provide relevant information in the User Name, Password and Time Zone fields.
Note
JDBC Driver and URL are mandatory fields.
-
Click Test Connection to check if all inputs are correct.
-
Click Save to save the data source.