This will require Data Admin privileges to setup and Builder for implementation.
iDashboards is able to connect to a Microsoft SQL Server Database by using a MS SQL or open source JDBC driver. A JDBC driver is a software component enabling a Java application to interact with a database. To connect with individual databases, JDBC (Java Database Connectivity API) requires drivers for each database. The JDBC driver gives out the connection to the database and implements the protocol for transferring the query and result between client and database. iDashboards implements native protocols and do not require additional software installed on the driver host. In other words, iDashboards provides driver connectivity with JDBC Data Source via the specified driver. This document explains a step-by-step procedure to create the Data Source.
Data Connection
Microsoft SQL Server
Follow the steps below to set up a data source in iDashboards Admin or Data Hub.
- Download a Driver: Microsoft SQL Server JDBC Driver
- Copy the driver which is implemented as a .jar file to the following location:
- <iDashboards Installation Folder>\ivizgroup\drivers
- Restart iDashboards service (iDashboardsSRV)
- Login to iDashboards Admin application
- Click Data Source
- Set the Data Source Type to MS SQL Server 2000-2016
- In the Create a Data Source window, enter the highlighted information:
- Data Source Name: This can be anything you like and is for reference only
- ReadUser: A database user with at least SELECT privileges to your database
- Password/Confirm Password: The user’s password
- Server Name: The host name or IP address of the server with your database server instance
- Port Number: Your database server's port
- Database Name: The name of the database that you wish to connect to
- db.URL:jdbc: sqlserver://serverName\instanceName:1433
- db.driver.Class: com.microsoft.sqlserver.jdbc.SQLServerDriver
- Click Save
Generic JDBC (JTDS)
Follow the steps below to set up a data source in iDashboards Admin or Data Hub.
- Download a Driver: Source Forge JDTS Driver
- Copy the driver which is implemented as a .jar file to the following location:
- <iDashboards Installation Folder>\ivizgroup\drivers
- Restart iDashboards service (iDashboardsSRV)
- Login to iDashboards Admin application
- Click Data Source
- Set the Data Source Type to Generic JDBC Click New
- In the Create a Data Source window fill out the highlighted fields:
- Data Source Name: This can be anything you like and is for reference only
- ReadUser: A database user with at least SELECT privileges to your database
- Password/Confirm Password: The user’s password
- Server Name: The host name or IP address of the server with your database server instance
- Port Number: Your database server's port
- Database Name: The name of the database that you wish to connect to
- JTDS Driver
- db.url: jdbc:jtds:sqlserver://hostname:1433/database;TDS=8.0;
- db.driverClass: net.sourceforge.jtds.jdbc.Driver
- Microsoft Driver
- db.url: jdbc:sqlserver://servername:1433;databaseName=iDashboards;
-
db.driverClass: com.microsoft.sqlserver.jdbc.SQLServerDriver
- JTDS Driver
- Click Save
For More Information:
- Creating a Database URL (Connection String)
- MS SQL Server Documentation
- MS SQL Server JDBC Driver Documentation
- iDashboards Admin Manual 10. Managing Data Sources
Disclaimer: iDashboards Technical Support Engineers are not proficient in the Management and Integration of every API that exists as new APIs are being created everyday with each company that wants to provide seamless integration with other software. However, we do our best to help you make these connections because we want to assist you in your success. If you do not see an article for a connection you would like to make please contact iDashboards Support and know that it will take a bit of time to figure out what is necessary for this integration.
If the above is unable to resolve the issue, then please contact iDashboards Support for further assistance.
Comments
2 comments
Hi, Eric Elfline ,
In Create Data source, which field are mandatory ?
db.URL:jdbc:
db.driver.Class , where can I configure?
After downloading JDBC driver, there are 3 Jar files:
mssql-jdbc-10.2.0.jre8.jar
mssql-jdbc-10.2.0.jre11.jar
mssql-jdbc-10.2.0.jre17.jar
Which file is suite with "Microsoft SQL Server 2012 -Standard Edition (64-bit) "
I copy all 3 files and then paste into \ivizgroup\drivers
TomCat Error message prompt :
HTTP Status 500 – Internal Server Error
compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
Raymond the highlighted fields above in the article are mandatory. Since you are utilizing the MS SQL Driver you will look at the first image. So the Error, what this is saying is that it is picking up the Java 11 version, but the java version of your dashboards installation is Java 8. So either take out the 11 and 17 drivers, or change the java version your installation is using. If you want to upgrade the java version of your installation follow this article https://oskar.idashboards.com/hc/en-us/articles/4410833417997-Tomcat-Opening-the-Control-Panel and download the java version and point the Java Virtual Machine Path to the newer java version. So easy way, just remove the 11 and 17 drivers. I have below the class file versions and their corresponding java versions.
Please sign in to leave a comment.