How to Configure DataDirect JDBC Connections on Yellowfin

How to Configure DataDirect JDBC Connections on Yellowfin

June 28, 2016 0 Comments

Yellowfin makes business intelligence easy for anyone, from small business to massive enterprises. Here’s how to configure it with DataDirect JDBC connectors.

This tutorial comes out of our recent tutorial rumble, courtesy of John Sullivan, Senior Technical Support Engineer, DataDirect Support Team. We hope to keep bringing you the best lessons and tutorials available to help you achieve all of your data connectivity goals.

Basic Commands and Server Log-In Information

Start Server - <Yellowfin Home>\appserver\bin\startup.bat

Stop Server - <Yellowfin Home>\appserver\bin\shutdown.bat

 

Connect to Yellowfin server - http://<Computer Name>:<Port Number>

•<ComputerName> is the name of the machine on which Yellowfin was installed

•<Port Number> is the port chosen during installation (port 8080 by default).

 

Once you are at the home page, you can login with the user credentials below:

•User name: admin@yellowfin.com.au

•Password: test

Login with the user credentials

Adding Progress DataDirect JDBC Connection Drivers

top

This example shows how to configure a connect for JDBC MongoDB driver. Other DataDirect JDBC drivers will follow a similar format.

How to add additional Progress DataDirect drivers:

  1. Copy the JDBC driver JAR file(s) into the Yellowfin/appserver/webapps/ROOT/WEB-INF/lib/ directory.                                                                                                                                                                                
  2. Edit the file Yellowfin/appserver/webapps/ROOT/WEB-INF/web.xml. Add the class name of the DataDirect driver to the list in the JDBCDrivers parameter.

      <init-param>

          <param-name>JDBCDrivers</param-name>

          <param-value>        

             com.connectioncloud.jdbc.Driver,

             jp.co.mdit.aql.jdbc.AqlDriver,

             net.sourceforge.jtds.jdbc.Driver,

         .

         .

         .

             com.treasuredata.jdbc.TreasureDataDriver,

             com.facebook.presto.jdbc.PrestoDriver,

             com.pb.spectrum.jdbc.driver.BIDataStoreDriver,   ß Be sure to add comma at end of previous line

             com.ddtek.jdbc.mongodb.MongoDBDriver             ß Driver class added for Mongo DB driver

          </param-value>

        </init-param>

  3. Restart the Yellowfin server for the new driver to become available.

     

  4. Log into the Yellowfin server. On the Yellowfin homepage, select "Administration" and then "Admin Console."

    Log into the Yellowfin server

  5. Select "Data Sources" and then "Add."

     

  6. Configure the data source.

     

    Source Name:         MongoDB  (Any name is good)

    Database:                              Generic JDBC data source

    JDBC driver:                  com.ddtek.jdbc.mongodb.MongoDBDriver

    Connection String:         jdbc:datadirect:mongodb://<MyServer>:27017; SchemaDefinition= C:\\<PathToMappingFiles>\\MyServer.config;

    User Name: xxxxxx

    Password: xxxxxx

    Note: In this example, the user name and password were not required for a connection to MongoDB.Configure the data source

  7. Select “Click here to test the connection.”

A successful connection will display the database name and metadata information.

Click here to test the connection

At this point, Yellowfin reports can be built using the new data source.

To edit a current data source, select "Data Sources" and then click on the data source to edit.

All finished

MongoDB connectivity via JDBC or ODBC is easier than ever with DataDirect JDBC and ODBC connectors for MongoDB. They provide fast SQL access to business critical data while also enabling you to access NoSQL data without additional server installations. Integrate your MongoDB data without having to duplicate data or flatten complex documents. Visit our information page to learn more or try it free for 15 days.


Try Now

Sumit Sakar

Sumit Sarkar

Technology researcher, thought leader and speaker working to enable enterprises to rapidly adopt new technologies that are adaptive, connected and cognitive. Sumit has been working in the data access infrastructure field for over 10 years servicing web/mobile developers, data engineers and data scientists. His primary areas of focus include cross platform app development, serverless architectures, and hybrid enterprise data management that supports open standards such as ODBC, JDBC, ADO.NET, GraphQL, OData/REST. He has presented dozens of technology sessions at conferences such as Dreamforce, Oracle OpenWorld, Strata Hadoop World, API World, Microstrategy World, MongoDB World, etc.

Comments
Comments are disabled in preview mode.
Topics
Latest Stories
in Your Inbox

Subscribe to get all the news, info and tutorials you need to build better business apps and sites

More From Progress
232x131_resourceimage
Getting Ahead of the Hybrid Data Curve
Read More
 
autonomousrest
Creating Quick, Codeless Connectivity with Autonomous REST Connector
Read More
 
whats-new-thumb_210x120
What’s New in OpenEdge 12.1
Read More