Section | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Installation Steps
The Database Connector can be configured to run in:
...
|
...
|
...
Follow these instructions:
|
Installation Steps
- In-house customers - follow the frevvo-tomcat bundle Instructions
...
- .
- Cloud customers - follow the Standalone Bundle Instructions
When you complete installation instructions then follow the Connector Configuration Instructions - detailed steps to integrate the connector with your database.
...
Cloud customers must also verify connector connectivity to the frevvo Cloud Server.
...
These instructions assume that your frevvo-tomcat bundle is already installed and running successfully.
- Stop your server.
- Download the database.war into warfile that is compatible with the version of that you are running to <frevvo-home>\tomcat\webapps. Rename the file to database.war if necessary.
- Install the JDBC driver
Start your server
- Browse the status urlhttp://<host>:<port>/database/status
If the status returns failures or disabled:
Review the previous installation steps.
See starting and testing the connector installation for troubleshooting.
When the status returns Passed for each queryset, you are ready to configure the Database Connector.
Standalone Instructions
Note |
---|
Review Supported Platforms. Verify that the certified version of Java is installed and the Java_Home environment variable has been configured . |
- Download the Database Connector Standalone bundle.
- Unzip the database.zip file to a location of your choice. We will refer to this directory as <db-home>
- Install the JDBC driverDriver
- Choose one of these methods to start the connector:
Choose one of these methods to start the connector:- Method 1: Using java in a command window
- Navigate to <db-home>\database-connector-2.5.x
- .Type java -jar database.war
- Method 2: for Windows OS
Double click the <db-home>\database-connector-2.5.x\Install-Service.bat file to install the connector as a Windows service. Click the Start-DBConnector-Service.bat to start
- Method 1: Using java in a command window
- Method 2 for *nix OS
- Execute the DB Connector.sh shell script for Unix/Linux operating systems.
Test the connector installation by copying this URL directly into your browser: - Review the previous installation steps See starting and testing the connector installation for more detailed instructions and common problems.
it
Expand title Click
http://localhost:8081/database/status - Note the standalone connector runs on port 8081 by default.
When the status returns Passed for each queryset, you are ready to configure the Database Connector.
If the status returns failures or disabled Connector Test failed then:
...
to see standalone bundle content details Excerpt The
...
Standalone Database Connector bundle includes the files shown in the image:
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.
...
- Method 3 for *nix OS
- Execute the DB Connector.sh shell script for Unix/Linux operating systems.
- Method 4 for Linux
- The Database Connector can also run as a service
...
- under Linux systemd
- under Linux systemd
Expand title Click here for the details 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 it's contents and
- 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.
- 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. - When the status returns Passed for each queryset, you are ready to configure the Database Connector.
If the status returns failures or disabled Connector Test failed then:
- Review the previous installation steps
- See starting and testing the connector installation for more detailed instructions and common problems.
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 preinstalled drivers are listed below.
MS SQL driver - The MS SQL driver This is embedded in the database.war in the Database Connector Standalone bundle. It file with standalone bundle, however it is not embedded in the frevvo-tomcat bundle.
- DERBY driver
If you don't find what you need your database driver is not pre-installed, you will need have to locate a driver compatible to your database. Usually you can download your driver from the internet. Try one of these locations.
Once you have the driver you need, copy it to:Copy your driver to
- <frevvo-home>/tomcat/lib in the frevvo-tomcat bundle
- <db-home>\database-connector-2.5.x\lib in the Database Connector Standalone bundle
Info |
---|
|
DB Connector Quick Demo
The BIRT (ClassicModels) and myStore querySets are preloaded with in-memory Derby databases and test data. This make it very easy to try out the connector. No configuration is necessary.
Follow the steps below to deploy the connector in the the frevvo-tomcat bundle and you can get started very quickly
Note |
---|
Review Supported Platforms. Verify that the certified version of Java is installed and the Java_Home environment variable has been configured . |
Download the the latest frevvo-tomcat bundle from the frevvo website.
Download the Database Connector warfilewar file. 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 successfully installed the database connector and retrieved data from the built-in test database - Log into as the superuser (admin@d, admin). Create a tenant.
- Create a designer user in the tenant
- Download the Database Connector Application and , then upload it to the your designer user for . This application includes some example forms that demonstrate the power of the Database Connector using the built-in databases.
Excerpt | ||
---|---|---|
| ||
Standalone Mode:
|