Configuring the server database on the JReport Administration page

  1. Log onto the JReport Administration page, then on the system toolbar, click Data.
  2. Select a realm.
  3. Click the System DB or Profiling DB tab.

    Note: The Profiling DB tab is not shown by default. In order to show the Profiling DB tab, you should set the server.profiling.enable property to true in the server.properties file in the <install_root>\bin directory.

  4. Switch to the Configuration tab.
  5. Select a DBDriver from the Driver drop-down list and provide the driver class path information in the Driver Class Location field.

    Note: For the Access and HSQLDB databases, you do not need to specify the Driver Class Location. For all other databases, you will have to provide the driver class path information unless it has already been added to the class path of setenv.bat (setenv.sh on Unix) file during installation or by editing the setenv.bat file.

  6. Type a valid URL that can be used to establish a connection to the database. The valid format of the URL should be provided by the DBDriver vendor.
  7. Provide the user ID and password.
  8. To test the connection, click Test. To update the database configuration and to apply the settings, click Update and then restart the server to finalize the function.