Versions Compared

Key

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

The Database Connector is a web application that allows you to easily integrate your forms and flows with your external database. The connector is included in the frevvo tomcat bundle. A Standalone Bundle is also available.

Cloud customers, running the connector behind their firewall and can be deployed under any Servlet container or run in a simple Standalone mode. The connector relies on the JDBC API. You can use any relational database as long as you have a JDBC driver for that databasein-house customers, can choose to:

  • install/configure the Database Connector in the tomcat bundle on their in-house server OR
  • install the Standalone Bundle on their in-house server

Use the Standalone Bundle if you prefer not to run on your in-house server to provide the Database Connector. The Standalone Bundle is also useful for in-house customers who want to run the connector on a different server than the server installation.

These instructions apply to Cloud and in-house customers.

Column
width300px

On this page:

Table of Contents
maxLevel1

...

  1. Download  the latest frevvo-tomcat bundle from the frevvo website.

  2. Download the Database Connector war file. Rename the file to database.war.

  3. Extract the tomcat bundle zipfile to a location of your choice. We will refer to this directory as <frevvo-home>.

  4. Copy database.war to <frevvo-home>\tomcat\webapps.

  5. Start the Insight server, then start Live Forms.

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

    Insert excerpt
    Planning for v7.3
    Planning for v7.3
    nopaneltrue

  6. 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
  7. Log into as the superuser (admin@d, admin). Create a tenant.
  8. Create a designer user in the tenant
  9. Download the Database Connector Application, then upload it to your designer user. This application includes some example forms that demonstrate the power of the Database Connector using built-in databases.

Excerpt
hiddentrue

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:
    1. Choose one of these methods to start the connector:
      1. Method 1: Using java in a command window
        1. Navigate to the <db-home> directory.
        2. Type java -jar database.war
      2. 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.
      3. Method 2 for *nix OS
        1. Execute the  DB Connector.sh shell script for *nix operating systems.
  4. Test the connector installation by copying this URL directly into your browser:

    http://localhost:8081/database/status

    • Note 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. 
    • Verify that query validation page is loaded with status Passed for the built-in database BIRT and myStore querysets.



  5. Download the Database Connector Application and upload it to the designer user in your Cloud tenant for some example forms that demonstrate the power of the Database Connector using built-in databases.