Skip to main content
Skip table of contents

Setting up Jaspersoft Studio

If you start Jaspersoft Studio for the first time you have to select where you save the report-workspace.

After starting, close the "Welcome" tab on the top left. Afterwards you need a connection to your database. Therefore it is required to put in the according driver and store in the parameters required for the database-connection.
This manual describes the use of Jaspersoft Studio in the context of i-effect® to use the created reports with IBM i as an operating system on an IBM Power Systems. On this system, a relational database IBM (DB2) is installed.
In the case of a connection to an IBM DB2 database, a setup of Jaspersoft Studio is required as described now:

Customizing the class library

Copy the file "jt400.jar" in a folder on your local PC, e.g. D:Reportslib.

The file "jt400.jar" is normally located in the following folder of your IBM Power Systems:

CODE
„/QIBM/ProdData/HTTP/Public/jt400/lib".

If the file is not available on your system, this library can be downloaded as a part of the IBM Toolbox for Java via the licensed program 5722JC1 or alternatively via the following link as OpenSource version of the IBM Toolbox for JAVA (http://jt400.sourceforge.net/)

Creating a new database connection

Choose the option "Create Data Adapter" via right clicking "Data Adapters" in the "Repository Explorer" in Jaspersoft Studio.

Choose "Database JDBC connection" and click on "next".

To create a database access, the following files are to be entered on the following page:

  1. Freely choosable names of the here configured database connections
  2. Class name of the IBM DB2 JDVC database driver. Enter here:„com.ibm.as400.access.AS400JDBCDriver"
  3. The URL to gain access on your system. It has to be in the form of jdbc:as400:// whereas it stands for the name of your system and the name of the used database. Example:
    jdbc:as400://develop.meb.de/develop
  4. User name with the access on the chosen database and password of the user
  5. Change to "Driver Classpath" tab. Enter here, where the file "jt400.jar" is located. In this file, the DB2 driver for Java is located. Click on "Finish" to complete the creation of the Data Adapter.

After successful creation of the new database connection it is appearing as an additional option in the "Repository Explorer" below "Data Adapters" and can be used to create a new report, as shown in the following chapter.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.