Section | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
It is assumed that Cloud customers have already verified connectivity between the frevvo Cloud and your their in-house database server.
...
This portion of the documentation assumes that you are using the tomcat bundle is up and running and installed in .
- Verify that Java 8 is installed and the Java_Home environment variable has been configured.
- Download the latest version of the tomcat bundle.
- 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>.
- Ensure that you do not have another server running on ports 8082 or 8983
- Navigate to the <frevvo-home>\frevvo\ext\connectors directory.
- 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>
- Copy <db-tmp>\database.war to <frevvo-home>\tomcat\webapps.
- Install the JDBC driver, if required
Start the Insight server. and then start Live Forms.
Expand title Click here for the instructions to start the Insight server and Live Forms Insert excerpt Planning for v7.2 Planning for v7.2 nopanel true Note The database.war does not extract after startup. You will not see a database subfolder in the <frevvo-home>\tomcat\webapps directory.
- Test the connector installation by copying this URL directly into your browser:
...
Install the connector in Standalone mode
- Verify that Java 8 is installed and the Java_Home environment variable has been configured.
- Download the Standalone connector zipfile herezipfile here.
- Unzip the database.zip file to a location of your choice. We will refer to this directory as <db-home>
- Install the JDBC driver, if required.
- You can start the connector using plain java command or execute one of the files in this directory provided to install the DB Connector as a Windows service or *nix console instance:
- Choose one of these methods to start the connector:
- Method 1: Using java in a command window
- Navigate to the <directory where you unzipped installed the database connector.zipfile>
- Type java -jar database.war
- Method 2: for Windows OS
- 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.
- Method 2 for *nix OS
- Execute the DB Connector.sh shell script for *nix operating systems.
- Method 1: Using java in a command window
- Choose one of these methods to start the connector:
- Test the connector installation by copying this URL directly into your browser:
...
Expand | ||||
---|---|---|---|---|
| ||||
There is another option for Linux systems. The Database Connector can also run as a service using systemd Systemd is the successor of the System V init system, and is now being used by many modern Linux distributions. Although you can continue to use init.d scripts with systemd, it is also possible to launch Spring Boot applications using systemd ‘service’ scripts.Copy the sample service file located in /bin/dbconnector.service to /etc/systemd/system, review it's contents and make sure it is executable.You can now use systemd to manager the dbconnector service:
To flag the service to start automatically on system boot use the following command:
Consult the service unit configuration man page for more details. Remember to change the User if you plan to run it as a different user name. |
Verify that query validation page is loaded with status Passed for the built-in database BIRT and myStore querysets. You are now ready to configure the Database Connector.
Install a JDBC driver
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 download database.zip comes with pre-installed drivers.
...
The download package comes with the pre-installed drivers listed below.
- MS SQL driver - this driver is only provided if you are running the Database Connector in Standalone mode.
- DERBY driver
If you don't find what you need pre-installed you will need to locate a driver compatible to your database. Usually you can download your driver from the internet. Try one of these locations
...
- <frevvo-home>/tomcat/lib if you are deploying the connector in the tomcat bundle
- <directory where you unzipped the database zip file>\database\database-connector-2.5.0\lib
It is also appropriate to copy the driver into any location that is in the CLASSPATH of your servlet tomcat container. In a tomcat installation another Another location would be <CATALINA_HOME>/lib.
...
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:
- Download the latest v7.2 .1 tomcat bundle from the frevvo websiteSoftware Downloads Directory.
- Extract the files to a location of your choice. We will refer to this directory as <frevvo-home>.
- Navigate to the <frevvo-home>\ext\connectors directory.
- 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>
- Copy <db-tmp>\database.war to <frevvo-home>\tomcat\webapps.
Start the Insight server. and then start Live Forms.
Expand title Click here for the instructions to start the Insight Server and Live Forms Insert excerpt Planning for v7.2 Planning for v7.2 nopanel true - Test the connector installation by copying this URL directly into your browser:
http://localhost:8082/database/statusAfter performing these steps you will have:
- Successfully installed the database connector and retrieved data from the built-in test database
- Create a tenant.
- Create a designer user in the tenant
- 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:
...
- Choose one of these methods to start the connector:
- Method 1: Using java in a command window
- Navigate to the <db-home> directory.
- Type java -jar database.war
- Method 2: for Windows OS
- 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.
- Method 2 for *nix OS
- Execute the DB Connector.sh shell script for *nix operating systems.
- Method 1: Using java in a command window
...
http://localhost:8081/database/status
...
...