How to Download and Import a Package into the JasperReports Server
To generate reports, the package .zip files must be downloaded and imported into the JasperReports Server. A package (.zip) contains the Jasper Reports source code for respective databases, such as MySQL, Oracle, MSSQL, and DB2.
How to Download Package Files
Download the following appropriate package for your JasperReports Server.
To download a package, follow these steps:
- For current version reports, log in to https://basecamp.temenos.com/s/product-download?. You can obtain a user name and password from your sales representative or partner.
- Click the Fabric tab.
- From the Kony Metrics-Jasper Reports list, select the specific release and then click Download. The jasper-reports zip is downloaded to you local system.
For example, if you want to download
Kony Metrics-Jasper Reports 8.0.2
, click the Fabric > tab, select the8.0.2
version from the Kony Metrics-Jasper Reports drop-down list, and then click the Download button. The jasper-reports zip is downloaded to you local system. - Extract the downloaded zip files. The jasper-reports zip folder contains supported database repositories (for MySQL, Oracle, MS SQL, and DB2) for JasperReports Server V 8.2 or V7.1.
IMPORTANT: To avoid potential permission issues when running the script konyreports_import.bat (or konyreports_import.sh depending on the operating system), it is recommended to copy the jasper-reports-mysql folder to a location outside of the Desktop or its subfolders.
How to Run Database Scripts to Import Packages
To import a package to the JasperReports Server, follow these steps:
IMPORTANT: Ensure that the user must have read/write execute permissions to the JasperReports Server install folder.
Windows
- In the Jasper installed system, open the Windows command prompt.
-
Go to the
<path of the extracted package>
of the required database.IMPORTANT: For JasperReports Server 8.0.2 only, remove the Scripts folder from your <Jaspersoft Install Directory 8.0.0>/apache-tomcat/webapps/jasperserver-pro.
- Run the
kony_imports.bat
script followed by the JasperServer location as the input.konyreports_import.bat
<jasperinstall-dir>
C:/Jaspersoft/jasperreports-server-<8.0.0> or <7.1.0>
Linux
- Open the Linux terminal.
-
Go to the
<path of the extracted package>
of the required database.IMPORTANT: For JasperReports Server 8.0.0 only, remove the Scripts folder from your <Jaspersoft Install Directory 8.0.0>/apache-tomcat/webapps/jasperserver-pro.
- Run the
konyreports_import.sh
script followed by the JasperServer location as the input.konyreports_import.sh <jasperinstall-dir> /usr/jaspersoft