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. |
|
...
- 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:
...
Expand |
---|
title | Click here for more information about run options for the Database Connector in Standalone mode |
---|
|
Excerpt |
---|
The database.zip file has the following structure:
Note the files in the database-connector-2.5.0 directory that are used to manage the Database Connector as services on *nix and Windows operating systems: These files should be run as an administrator. Install-Service.bat - installs the Database Connector on a Windows system as a service named frevvo Database Connector. Uninstall-service.bat - uninstalls the frevvo Database Connector on a Windows operating system Start-DB Connector-Service.bat - starts the frevvo Database Connector on a Windows operating system Start-DBConnector.sh - starts the frevvo Database Connector as a *nix console instance. Restart-DBConnector-Service.bat - restarts the frevvo Database Connector on a Windows operating system Restart-DBConnector.sh - restarts the frevvo Database Connector as a *nix console instance. Stop-DBConnector-Service.bat - stops the frevvo Database Connector on a Windows operating system. Stop-DbConnector.sh - stops the frevvo Database Connector *nix console instance.
|
There is another option for Linux systems. The Database Connector can also run as a service using systemdSystemd 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: systemctl start dbconnector.service systemctl stop dbconnector.service systemctl restart dbconnector.service systemctl status dbconnector.service
To flag the service to start automatically on system boot use the following command: Code Block |
---|
systemctl enable dbconnector.service |
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.
...