...
Expand |
---|
title | Click here for more information about the Database Connector bundle |
---|
|
Excerpt |
---|
The database.zip file has the following structure:
Note the files in the database-connector-2.5.x 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 It is possible to manage the Database Connector using systemd ‘service’ scripts. - Copy the sample service file located in /bin/dbconnector.service to /etc/systemd/system
, review make - Make sure it is executable.
You can now use systemd to manage 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. |
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.
...
Review Supported Platforms. Verify that the certified version of Java is installed and the Java_Home environment variable has been configured .
Download the latest tomcat bundle from the frevvo website.
Download the Database Connector warfile. Rename the file to database.war
Extract the tomcat bundle zipfile to a location of your choice. We will refer to this directory as <frevvo-home>.
Copy 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.3 |
---|
| Planning for v7.3 |
---|
nopanel | true |
---|
|
|
- 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
- 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 the built-in databases.
Excerpt |
---|
|
Standalone Mode:- Download the Standalone connector zipfile here.
- Unzip the database.zip file to a location of your choice. We will refer to this directory as <db-home>
- 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:
- 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.
- 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.
- 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.
|