Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Section
Column

The database connector is a web application and can be deployed under any Servlet container. The connector relies on the JDBC API. You can use any relational database as long as you have a JDBC driver for that database.

The Database Connector can be configured to run in:

  • Any servlet container i.e. the frevvo tomcat bundle - if you have installed the tomcat  In-house bundle you already have what you need.
  • Standalone mode - Cloud customers, who are integrating with their database in their on-premise installation, may prefer this mode as it eliminates the need to run a full application on their in-house server. This mode may also be helpful for in-house customers who want to run the connector on a different server than the installation.

The Database Connector requires a JDBC driver for your database. Some pre-installed drivers are included with the connector. See Install a JDBC driver to see if the driver for your database is provided.

The database connector contains a working sample Derby database with BIRT and MyStore query sets and some test data. This makes it very easy to test if the DB Connector is up and running when your installation is complete.

These instructions apply to Cloud customers who want to run the Database Connector on an in-house server and customers who run and the Database Connector in an in-house environment.

Column
width240px

On this page:

Table of Contents
maxLevel1

...

  1. Download the latest version of the tomcat bundle.
  2. Unzip the frevvo zip file into a location of your choice: e.g. c:\frevvo.   We'll refer to this directory below as <frevvo-home>.
  3. Ensure that you do not have another server running on ports 8082 or 8983
  4. Navigate to the <frevvo-home>\frevvo\ext\connectors directory.
  5. Unzip the database.zip file to a temporary location of your choice: e.g. c:\tmp. This will create a folder c:\tmp\database. We'll refer to this directory below as <db-tmp>
  6. Copy <db-tmp>\database.war to <frevvo-home>\tomcat\webapps.
  7. Install the JDBC driver, if required
  8. Start the Insight server. and then start Live Forms.

    Expand
    titleClick here for the instructions to start the Insight server and Live Forms

    Insert excerpt
    Planning for v7.2
    Planning for v7.2
    nopaneltrue

    Note

    The database.war does not extract after startup. You will not see a database subfolder in the <frevvo-home>\tomcat\webapps directory.

  9. Test the connector installation by copying this URL directly into your browser:

...

The database connector contains working sample databases with some test data. The BIRT (ClassicModels) and myStore querySets are preloaded with in-memory Derby databases.  This make it very easy to try out the connector in the tomcat bundle. No configuration is necessary.

Follow the steps below to deploy the connector in Standalone mode or the tomcat bundle and you can get started very quickly.

The In-house tomcat bundle:

  1. Download the v7.2.1 lates tomcat bundle from the frevvo website.
  2. Extract the files to a location of your choice. We will refer to this directory as <frevvo-home>.
  3. Navigate to the <frevvo-home>\ext\connectors directory.
  4. Unzip the database.zip file to a temporary location of your choice: e.g. c:\tmp. This will create a folder c:\tmp\database. We'll refer to this directory below as <db-tmp>
  5. Copy <db-tmp>\database.war to <frevvo-home>\tomcat\webapps.
  6. Start the Insight server. and then start Live Forms.

    Expand
    titleClick here for the instructions to start the Insight Server and Live Forms

    Insert excerpt
    Planning for v7.2
    Planning for v7.2
    nopaneltrue

  7. Test the connector installation by copying this URL directly into your browser:

    http://localhost:8082/database/status

    After performing these steps you will have:

    • Successfully installed the  database connector and retrieved data from the built-in test database
  8. Create a tenant.
  9. Create a designer user in the tenant
  10. Download the Database Connector Application and upload it to the designer user for some example forms that demonstrate the power of the Database Connector using built-in databases.

Standalone Mode:

  1. Download the Standalone connector zipfile here.
  2. Unzip the database.zip file to a location of your choice. We will refer to this directory as <db-home>
  3. Start the connector using plain java command or execute one of the files in this directory to install the DB Connector as a Windows service or *nix console instance:Choose one of these methods to start the connector:
  4. Method 1: Using java in a command window
    1. Navigate to the <db-home> directory.
    2. Type java -jar database.war
  5. Method 2: for Windows OS
    1. Install the DB Connector as a Windows service by double clicking the Install-Service.bat file. Click the Start DBConnector Service.bat to start the service.
  6. Method 2 for *nix OSExecute the  DB Connector.sh shell script for *nix operating systems.Test the connector installation by copying this URL directly into your browser:
    http://localhost:8081/database/statusNote the standalone connector runs on port 8081 by default. The port number can be changed when you configure the DB Connector in the next step. Use port 8081 to verify that the Db Connector is up and running for now.

 

...